On 19 February 2018 at 20:17, Andreas Schwab via cfarm-users
<cfarm-users@lists.tetaneutral.net> wrote:
> On Feb 19 2018, Jeffrey Walton via cfarm-users 
> <cfarm-users@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@GLIBC_2.18'
> gcc112 has glibc 2.17 installed, but this compiler was built against
> glibc 2.18 or newer.  That cannot work.

Presumably that copy of GCC was built when the machine was running
Fedora, before it was reinstalled as CentOS. You need to use a GCC
built for the current OS.
cfarm-users mailing list

Reply via email to