Solution proposed in
http://www.cryptopp.com/wiki/Linux#No_such_instruction:_pclmulqdq did not
help (well, another solution that page suggested was disabling AESNI via
-DCRYPTOPP_DISABLE_AESNI=1 - which wouldn't be my choice of solution). I
wonder why g++-4.9 seems to have a problem with PCLMULQDQ instruction,
which was supposed to be supported/included since gcc-4.4?

g++ -DNDEBUG -g -O2 -D__STRICT_ANSI__=1 -fPIC -ffunction-sections
-fdata-sections -maes -mpclmul -mtune=core-avx-i -arch x86_64 -arch i386
-DCRYPTOPP_DISABLE_ASM -pipe -c gcm.cpp
:55:no such instruction: `pclmulqdq $1, %xmm7,%xmm2'
:52:no such instruction: `pclmulqdq $1, %xmm6,%xmm5'
:66:no such instruction: `pclmulqdq $1, (%esp),%xmm2'
....and much more like these......

Mac OS X 10.8.4, Xcode-5.0, gcc-4.9 (via macports). cryptopp-5.6.2

$ g++ -v
Using built-in specs.
COLLECT_GCC=c++
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin12/4.9.0/lto-wrapper
Target: x86_64-apple-darwin12
Configured with:
/opt/local/var/macports/build/_opt_mports_dports_lang_gcc49/gcc49/work/gcc-4.9-20130915/configure
--prefix=/opt/local --build=x86_64-apple-darwin12
--enable-languages=c,c++,objc,obj-c++,fortran,java
--libdir=/opt/local/lib/gcc49 --includedir=/opt/local/include/gcc49
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--datarootdir=/opt/local/share/gcc-4.9 --with-local-prefix=/opt/local
--with-system-zlib --disable-nls --program-suffix=-mp-4.9
--with-gxx-include-dir=/opt/local/include/gcc49/c++/ --with-gmp=/opt/local
--with-mpfr=/opt/local --with-mpc=/opt/local --with-cloog=/opt/local
--enable-cloog-backend=isl --disable-cloog-version-check
--enable-stage1-checking --disable-multilib --enable-lto
--enable-libstdcxx-time --with-as=/opt/local/bin/as
--with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=
https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc49
4.9-20130915_0'
Thread model: posix
gcc version 4.9.0 20130915 (experimental) (MacPorts gcc49 4.9-2

-- 
Regards,
Mouse

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to