Thank you for looking at it. I believe this is a compiler issue that has been corrected in gcc. I do not get the issue with gcc 12.2.0 on a test debian system. Unfortunately I need to use the old c7 / gcc combination.
On Tuesday, January 16, 2024 at 8:13:29 AM UTC-5 Jeffrey Walton wrote: > 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/5833335f-3384-4f71-8a6f-f07789fd4322n%40googlegroups.com.
