2017-05-18 14:38 GMT+02:00 Jeffrey Walton <noloa...@gmail.com>: > It can be sidestepped with: > > CXXFLAGS="-DNDEBUG -g2 -O2 -DCRYPTOPP_COVERAGE" make
Thanks, the MinGW32 tests passed with this. MinGW64 had this additional failure: Testing: X86 SHA code generation g++ -DNDEBUG -g2 -O2 -msse -msse2 -march=native -pipe -c sha.cpp ERROR: failed to generate sha1rnds4 instruction ERROR: failed to generate sha1nexte instruction ERROR: failed to generate sha1msg1 instruction ERROR: failed to generate sha1msg2 instruction ERROR: failed to generate sha256rnds2 instruction ERROR: failed to generate sha256msg1 instruction ERROR: failed to generate sha256msg2 instruction And this assertion in the Debug C++03/11/14/17 builds: Testing RoundUpToMultipleOf/RoundDownToMultipleOf... passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, overflow Assertion failed: misc.h(981): RoundUpToMultipleOf ERROR: failed to execute validation suite And MSYS had these errors: Testing: X86 AES-NI code generation g++ -DNDEBUG -g2 -O2 -msse -msse2 -D_XOPEN_SOURCE=700 -fPIC -m64 -pipe -c rijndael.cpp ERROR: failed to generate aesenc instruction ERROR: failed to generate aesenclast instruction ERROR: failed to generate aesdec instruction ERROR: failed to generate aesdeclast instruction ERROR: failed to generate aesimc instruction ERROR: failed to generate aeskeygenassist instruction ************************************ Testing: X86 carryless multiply code generation g++ -DNDEBUG -g2 -O2 -msse -msse2 -D_XOPEN_SOURCE=700 -fPIC -m64 -pipe -c gcm.cpp ERROR: failed to generate pclmullqhq instruction ERROR: failed to generate pclmullqlq instruction ************************************ Testing: X86 RDRAND and RDSEED code generation g++ -DNDEBUG -g2 -O2 -msse -msse2 -D_XOPEN_SOURCE=700 -fPIC -m64 -pipe -c rdrand.cpp Verified rdrand and rdseed machine instructions ************************************ Testing: X86 CRC32 code generation g++ -DNDEBUG -g2 -O2 -msse -msse2 -D_XOPEN_SOURCE=700 -fPIC -m64 -pipe -c crc.cpp ERROR: failed to generate crc32l instruction ERROR: failed to generate crc32b instruction ************************************ Testing: X86 SHA code generation g++ -DNDEBUG -g2 -O2 -msse -msse2 -D_XOPEN_SOURCE=700 -fPIC -m64 -pipe -c sha.cpp ERROR: failed to generate sha1rnds4 instruction ERROR: failed to generate sha1nexte instruction ERROR: failed to generate sha1msg1 instruction ERROR: failed to generate sha1msg2 instruction ERROR: failed to generate sha256rnds2 instruction ERROR: failed to generate sha256msg1 instruction ERROR: failed to generate sha256msg2 instruction ************************************ > OK thanks. Try this before you spend time on it: > https://github.com/weidai11/cryptopp/commit/ddcd70b152964db5 Thanks, 9dcb72f9e5309b19fd72fcf14672a652bbd63b83 fixed the build. Marcel -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.