Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(compiling with qemu) - ABI error?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 134

PostPosted: Wed Feb 21, 2018 7:22 pm    Post subject: (compiling with qemu) - ABI error? Reply with quote

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.
Back to top
View user's profile Send private message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 134

PostPosted: Thu Feb 22, 2018 7:11 am    Post subject: Reply with quote

Just updated cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0
and got this message
Code:
Auto fixing rpaths for /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0/image/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libstdc++.so.6.0.24

 * QA Notice: The following files contain insecure RUNPATHs
 *  Please file a bug about this at https://bugs.gentoo.org/
 *  with the maintainer of the package.
 *   /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0/image/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libstdc++.so.6.0.24
 *     RPATH: /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0/work/build/armv7a-hardfloat-linux-gnueabi/libstdc++-v3/../libvtv/.libs

maybe i get bad libLLVMSupport.so.5 because libstdc++.so.6 was wrong in cross-compilation?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum