[yocto] poky thud: qtscript fails to build with undefined reference to `cti_vm_throw'

JK.Behnke at web.de JK.Behnke at web.de
Fri Nov 1 02:06:36 PDT 2019


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?
 
Thanks
Jochen


More information about the yocto mailing list