On Fri, Nov 1, 2019 at 2:12 AM <jk.beh...@web.de> wrote: > > Hello, > > I tried to build a poky SDK with QT5 support (I am using poky thud). > Unfortunately this failed while bitbaking qtscript. > When executing "bitbake qtscript" directly I get the same error. > > Here are the IMHO relevant lines of the huge log.do_compile file. > I have replaced the long paths by <...> for clarity. > > -- multiple warnings --- > ... warning: 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > --- > > -- warning --- > In member function 'allocatePropertyStorageInline', > inlined from 'allocatePropertyStorage' at > <...>/git/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.cpp:546:34: > <...>/git/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:679:68: > warning: argument 1 value '4294967295' exceeds maximum object size > 2147483647 [-Walloc-size-larger-than=] > PropertyStorage newPropertyStorage = new EncodedJSValue[newSize]; > ^ > <...>/git/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h: In > member function 'allocatePropertyStorage': > <...>/recipe-sysroot/usr/include/c++/8.2.0/new:122:7: note: in a call to > allocation function 'operator new []' declared here > void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) > --- > > --- error --- > <...>/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/8.2.0/ld: > > <...>/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/8.2.0/ld: > DWARF error: invalid abstract instance DIE ref > /tmp/ccSwzRoN.ltrans0.ltrans.o: in function `ctiVMThrowTrampoline': > <artificial>:(.text+0x1f): undefined reference to `cti_vm_throw' > collect2: error: ld returned 1 exit status > Makefile:666: recipe for target '../../lib/libQt5Script.so.5.12.2' failed > --- > > Has anyone an idea what could be the problem? >
perhaps we need to patch binutils/ld with https://patches-gcc.linaro.org/patch/9614/ see https://sourceware.org/bugzilla/show_bug.cgi?id=23425 if you could try it out and report back that would be awesome > Thanks > Jochen > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto