On Tuesday, January 16, 2024 at 8:10:30 AM UTC-5 [email protected] wrote:

CentOS 7..2009
gcc 4.8.5-44

I am updating from cryptopp 7.0.0 to 8..0 and receive the following error

gcm.cpp: In member function 'virtual size_t 
CryptoPP::GCM_Base::AuthenticateBlocks(const byte*, size_t)':
gcm.cpp:733:18: error: PIC register clobbered by '%ebx' in 'asm'

Is the correct solution to remove -fPIC from the makefile?
(other than updating to a newer compiler....)


I believe this is a false positive. EBX is saved, and then restored around 
<https://github.com/weidai11/cryptopp/blob/master/gcm.cpp#L717>.

Jeff

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/12db8152-7761-40bc-9bbb-03b8224b7606n%40googlegroups.com.

Reply via email to