We get the error when compiling on the E5-2680, and copying to the X5690.
Oh, that's interesting. Try adding -mtune=pentium4
to CXXFLAGS
. The Intel Xeon E5-2680 has the AVX instruction set; while the Intel Xeon X5690 only has SSE 4.2. Crypto++ uses the the double quadword multiply (PCLMULQDQ
) and AES-NI
instructions from the AVX instruction set (which the other processor lacks).
If -mtune=pentium4
does not work, then you are going to have to disable via CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE
. Now that I think about it, that's what you are probably going to have to do since this is a compile time feature selection, and not a runtime feature selection.