n05ph3r42 Tux's lil' helper
Joined: 11 Jul 2016 Posts: 135
|
Posted: Wed Feb 21, 2018 7:22 pm Post subject: (compiling with qemu) - ABI error? |
|
|
Hi all,
many packages gives next error, while compiling in chrooted arm environment (via qemu):
Code: | /usr/bin/armv7a-hardfloat-linux-gnueabi-ar: /usr/lib/llvm/5/lib/../lib/libLLVMSupport.so.5: symbol _ZSt15__once_callable, version GLIBCXX_3.4.11 not defined in file libstdc++.so.6 with link time reference
qemu: uncaught target signal 11 (Segmentation fault) - core dumped |
I updated chroot system to glibc-2.26-r6, gcc 7.2.0 and binutils-2.30, by true cross-compiling, but it does nothing, error still persists.
P.S
Also, maybe someone knows, why cross-compiler armv7a-hardfloat-linux-gnueabi-g++ 7.3.0 cannot understand old options, like -mfloat-abi=hard and some others? Is it broken? armv7a-hardfloat-linux-gnueabi-gcc from same version works fone with that option... I got messages that this options are not recognised by armv7a-hardfloat-linux-gnueabi-g++, when trying to emerge gcc 7.3.0 into arm root by true cross-compiling. |
|