Sample Header Ad - 728x90

No version symbols in freshly compiled libstdc++

1 vote
1 answer
990 views
I'm compiling version 10.1 of GCC using the following configuration: ../configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --prefix=/home/user/toolchain/gcc --enable-checking=release --enable-languages=c,c++,fortran --disable-multilib --enable-shared --enable-gnu-unique-object --with-linker-hash-style=gnu After compilation is finished it seems i don't have any version symbols in the compiled listdc++.so: > strings ./x86_64-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6.0.28 | grep GLIBCXX GLIBCXX_FORCE_NEW GLIBCXX_DEBUG_MESSAGE_LENGTH (and nothing else) (btw I get the same result if I 'make install' gcc before checking on the installed lib) Going to another system, the same command issues (output truncated): > strings /usr/lib64/libstdc++.so.6.0.28 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.5 [ ... ] GLIBCXX_3.4.26 GLIBCXX_3.4.27 GLIBCXX_3.4.28 [ ... ] Why am I not getting the version symbols in my freshly new compiled gcc/libstdc++ version ?
Asked by JeanMi (131 rep)
Jul 2, 2020, 09:49 AM
Last activity: Jul 2, 2020, 04:51 PM