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

Segher Boessenkool segher at kernel.crashing.org
Mon Feb 19 22:12:41 CET 2018


Hi,

On Mon, Feb 19, 2018 at 02:49:47PM -0500, Jeffrey Walton via cfarm-users wrote:
> /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'
> collect2: error: ld returned 1 exit status
> make: *** [cryptest.exe] Error 1

How/why do you get anything from /home/guerby?  /opt/cfarm/gcc7rc2 was
build on a different machine (and it is only there so people can use it
as an easy starting point for building ada: the system compiler on 112
does not support that) so there is no way it refers to there.

I know nothing about the build system you used, but it seems buggy.


Segher


More information about the cfarm-users mailing list