Closed advancedwebdeveloper closed 4 years ago
But the original invocation, enforced by "make" tool, was like this:
$ clang++ -o cryptest.exe -stdlib=libc++ adhoc.o test.o bench1.o bench2.o bench3.o datatest.o dlltest.o fipsalgt.o validat0.o validat1.o validat2.o validat3.o validat4.o validat5.o validat6.o validat7.o validat8.o validat9.o validat10.o regtest1.o regtest2.o regtest3.o regtest4.o ./libcryptopp.a
I'm not sure what you are doing... Things seem to work as expected on Ubuntu 20.04 with Clang 10.
$ CXX=clang++ make -j 3
clang++ -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -c cryptlib.cpp
clang++ -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -c cpu.cpp
clang++ -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -c integer.cpp
...
clang++ -o cryptest.exe -DNDEBUG -g2 -O3 -fPIC -pthread -pipe adhoc.o test.o ben
ch1.o bench2.o bench3.o datatest.o dlltest.o fipsalgt.o validat0.o validat1.o va
lidat2.o validat3.o validat4.o validat5.o validat6.o validat7.o validat8.o valid
at9.o validat10.o regtest1.o regtest2.o regtest3.o regtest4.o ./libcryptopp.a
My copy of Ubuntu 20.04 does not provide Clang 11. Sorry about that.
Maybe you should file a bug report against LLVM. They seem to be having trouble finding their C++ runtime library.
I had some issues, while building your project, with Clang 11 RC4. I am using Ubuntu 20.04 x86_64
So
fails with