Hello Khem,
>Gesendet: Freitag, 01. November 2019 um 18:23 Uhr
>Von: "Khem Raj" <raj.k...@gmail.com>
>An: jk.beh...@web.de
>Cc: "Yocto Project" <yocto@yoctoproject.org>
>Betreff: Re: [yocto] poky thud: qtscript fails to build with undefined reference to `cti_vm_throw'
>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/_javascript_core/_javascript_Core/runtime/JSObject.cpp:546:34:
>> <...>/git/src/3rdparty/_javascript_core/_javascript_Core/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/_javascript_core/_javascript_Core/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[https://sourceware.org/bugzilla/show_bug.cgi?id=23425]
>
>if you could try it out and report back that would be awesome
>
I have applied the patch the bottom of this page  https://patches-gcc.linaro.org/patch/9614/

Unfortunately this did not solve the problem.
Now I get this error: "DWARF error: could not find abbrev number 72"
 
Here the complete error message:
/home/behnkjoc/prc2020/poky/build-tca5-32/tmp/work/core2-32-poky-linux/qtscript/5.12.2+gitAUTOINC+6c0edaf30c-r0/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/8.2.0/ld: /home/behnkjoc/prc2020/poky/build-tca5-32/tmp/work/core2-32-poky-linux/qtscript/5.12.2+gitAUTOINC+6c0edaf30c-r0/recipe-sysroot-native/usr/bin/i686-poky-linux/../../libexec/i686-poky-linux/gcc/i686-poky-linux/8.2.0/ld: DWARF error: could not find abbrev number 72
/tmp/cccEIw32.ltrans0.ltrans.o: in function `ctiVMThrowTrampoline':
<artificial>:(.text+0x1f): undefined reference to `cti_vm_throw'
collect2: error: ld returned 1 exit status
 

Regards
Jochen
 
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to