Hi,
I've a software successfully cross compiled with the ARMHF cross compilation toolchain and i try to port it on AARCH64...
Compilation works, but link failed with some "undefined reference ...@GLIBCXX_3.4"
i try the command " strings libstdc++.so.6.0.25 | grep GLIBCXX " and i only get
GLIBCXX_FORCE_NEWGLIBCXX_DEBUG_MESSAGE_LENGTH
I'm waiting for something like :
GLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIBCXX_3.4.3GLIBCXX_3.4.4GLIBCXX_3.4.5GLIBCXX_3.4.6GLIBCXX_3.4.7GLIBCXX_3.4.8GLIBCXX_3.4.9GLIBCXX_3.4.10GLIBCXX_3.4.11GLIBCXX_3.4.12GLIBCXX_3.4.13GLIBCXX_3.4.14GLIBCXX_3.4.15GLIBCXX_3.4.16GLIBCXX_3.4.17GLIBCXX_3.4.18GLIBCXX_3.4.19GLIBCXX_3.4.20GLIBCXX_3.4.21GLIBCXX_3.4.22GLIBCXX_3.4.23GLIBCXX_3.4.24GLIBCXX_3.4.25
I'm using the last version of the linux AMD64 cross compile toolchain (gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu.tar.xz)
What do i wrong ?
Most likely, libstdc++ library is missing in your linker path. You are using the GCC toolchain and you have to have a counterpart GLIBC library for that.
Please refer to:
https://stackoverflow.com/questions/20700630/boost-linking-error-undefined-reference-to-glibcxx-3-4
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1185238