Hi Everyone,

We are trying to reproduce an issue reported on Fedora 28 ppc64-le. I
don't know the version of GCC on Fedora 28 at the moment. We are
working on gcc112, which is also ppc64-le.

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
undefined reference to `__cxa_thread_atexit_impl@GLIBC_2.18'
collect2: error: ld returned 1 exit status
make: *** [cryptest.exe] Error 1

I'm seeing similar issues when searching, but I am not clear on the
fix. For example, similar issue:
https://github.com/rust-lang/rust/issues/36826 . Suggested fix in the
context of Clang: https://stackoverflow.com/a/30437761/608639

My question to the PPC64 gurus is, how should we handle the issue?

Thanks in advance.
cfarm-users mailing list

Reply via email to