You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cryptest.sh is revealing the following failure under Ubuntu 15. The main portion of the testing occurs using GCC. If Clang is available, then a quick testing pass is made with Clang. (The converse also holds. If Clang is the primary compiler for testing, then a quick pass is made with GCC).
The interesting thing below is the machine is a 5th generation Core i7, so -march=native should include a cornucopia CPU features, including AVX and BMI. Another unusual thing is the CXXFLAGS used. -maes -mrdrnd -mrdseed -mpclmul looks like artifacts from the "AES, RDRAND and RDSEED" test.
************************************
Testing: Clang compiler
/usr/bin/clang++ -DNDEBUG -g2 -O2 -march=native -maes -mrdrnd -mrdseed -mpclmul -fPIC -march=native -pipe -c cryptlib.cpp
/usr/bin/clang++ -DNDEBUG -g2 -O2 -march=native -maes -mrdrnd -mrdseed -mpclmul -fPIC -march=native -pipe -c cpu.cpp
/usr/bin/clang++ -DNDEBUG -g2 -O2 -march=native -maes -mrdrnd -mrdseed -mpclmul -fPIC -march=native -pipe -c 3way.cpp
/usr/bin/clang++ -DNDEBUG -g2 -O2 -march=native -maes -mrdrnd -mrdseed -mpclmul -fPIC -march=native -pipe -c adler32.cpp
In file included from cpu.cpp:12:
In file included from ./cpu.h:78:
/usr/bin/../lib/clang/3.4/include/tmmintrin.h:28:2: error: "SSSE3 instruction set not enabled"
#error "SSSE3 instruction set not enabled"
^
In file included from cpu.cpp:12:
In file included from ./cpu.h:92:
/usr/bin/../lib/clang/3.4/include/smmintrin.h:28:2: error: "SSE4.1 instruction set not enabled"
#error "SSE4.1 instruction set not enabled"
^
2 errors generated.
make: *** [cpu.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: failed to make cryptest.exe
And:
$ clang --version
Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)
Target: x86_64-pc-linux-gnu
Thread model: posix
The text was updated successfully, but these errors were encountered:
cryptest.sh
is revealing the following failure under Ubuntu 15. The main portion of the testing occurs using GCC. If Clang is available, then a quick testing pass is made with Clang. (The converse also holds. If Clang is the primary compiler for testing, then a quick pass is made with GCC).The interesting thing below is the machine is a 5th generation Core i7, so
-march=native
should include a cornucopia CPU features, including AVX and BMI. Another unusual thing is theCXXFLAGS
used.-maes -mrdrnd -mrdseed -mpclmul
looks like artifacts from the "AES, RDRAND and RDSEED" test.And:
The text was updated successfully, but these errors were encountered: