[cfarm-users] gcc112/ppc64-le, and undefined reference to __cxa_thread_atexit_impl

Andreas Schwab schwab at linux-m68k.org
Mon Feb 19 21:17:21 CET 2018


On Feb 19 2018, Jeffrey Walton via cfarm-users <cfarm-users at lists.tetaneutral.net> wrote:

> Compile appears OK but link fails:
>
> /opt/cfarm/gcc7rc2/bin/g++ -o cryptest.exe -DNDEBUG -g2 -O3 -fPIC
> -pthread -pipe adhoc.o test.o bench1.o bench2.o validat0.o validat1.o
> validat2.o validat3.o validat4.o datatest.o regtest1.o regtest2.o
> regtest3.o dlltest.o fipsalgt.o ./libcryptopp.a
> /home/guerby/opt/cfarm/gcc7rc2/bin/../lib/gcc/powerpc64le-unknown-linux-gnu/7.0.1/../../../../lib64/libstdc++.so:
> undefined reference to `__cxa_thread_atexit_impl at GLIBC_2.18'

gcc112 has glibc 2.17 installed, but this compiler was built against
glibc 2.18 or newer.  That cannot work.

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


More information about the cfarm-users mailing list