On Monday, September 30, 2013 8:05:29 PM UTC-4, Mouse wrote:
>
> 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
>
It almost sounds like you got GCC 4.9, but you're using old Binutils. Can 
you verify you have an updated AS on path?

Have you had a look at 
http://stackoverflow.com/questions/9840207/how-to-use-avx-pclmulqdq-on-mac-os-x-lion?

Jeff 

-- 
-- 
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