[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Porting issue with Qt5 on sparc64 - need quick advise



Hi Lisandro!

On Thu, Nov 05, 2015 at 02:19:39PM -0300, Lisandro Damián Nicanor Pérez Meyer wrote:
> From the build log:
> 
> # Add here the code to generate the helpers and then the headers.
> sh debian/generateTLDs.sh
> make[2]: Entering directory '/«BUILDDIR»/qtbase-opensource-src-5.5.1+dfsg/util/corelib/qurl-generateTLDs'
> g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../../include -I../../../include/QtCore -I.moc -I../../../mkspecs/linux-g++-64 -o .obj/main.o main.cpp
> g++ -Wl,-z,relro -Wl,--as-needed -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -o qurl-generateTLDs .obj/main.o   -L/«BUILDDIR»/qtbase-opensource-src-5.5.1+dfsg/lib -lQt5Core -lpthread 
> make[2]: Leaving directory '/«BUILDDIR»/qtbase-opensource-src-5.5.1+dfsg/util/corelib/qurl-generateTLDs'
> Segmentation fault
> cat: effective_tld_names.dat.qt: No such file or directory
> # Clean up the compiled code and start again.
> 
> So basically it's failing to regenerate the TLDs list. See debian/rules's
> override_dh_auto_build-arch, specially line 228.

Ah, that's spot on, thank you very much for pointing me at that.

I actually saw these segfaults in the kernel buffer:

[1752988.356470] qurl-generateTL[25044]: segfault at fffff80100090630
ip fffff801002d7ce4 (rpc fffff801002d7c98) sp 000007fefff7e421 error
30002 in libQt5Core.so.5.5.1[fffff80100004000+4f2000]

but my brain failed to make the necessary connection here ;).

Thanks so much for the hint. I can now look into the issue to find out
why the tool segfaults.

Cheers,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: