7.0.0 update to 8.9.0 PIC register clobbered

Phil C <[email protected]> Tue, 16 Jan 2024 05:06:46 -0800 (PST)
Newsgroups gmane.comp.encryption.cryptopp
Message-ID <[email protected]>
------=_Part_66829_1470624363.1705410406837
Content-Type: multipart/alternative; 
	boundary="----=_Part_66830_932636934.1705410406837"

------=_Part_66830_932636934.1705410406837
Content-Type: text/plain; charset="UTF-8"

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

-- 
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/8e00172e-95cd-4ea0-a835-16f196c9cc94n%40googlegroups.com.

------=_Part_66830_932636934.1705410406837
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

CentOS 7..2009<div>gcc 4.8.5-44</div><div><br /></div><div>I am updating fr=
om cryptopp 7.0.0 to 8..0 and receive the following error</div><div><div st=
yle=3D"color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; f=
ont-size: small;"><span style=3D"font-family: Aptos, Aptos_EmbeddedFont, Ap=
tos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: =
rgb(0, 0, 0);"><br /></span></div><div style=3D"color: rgb(34, 34, 34); fon=
t-family: Arial, Helvetica, sans-serif; font-size: small;"><span style=3D"f=
ont-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvet=
ica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">gcm.cpp: In member =
function 'virtual size_t CryptoPP::GCM_Base::AuthenticateBlocks(const byte*=
, size_t)':</span></div><div style=3D"color: rgb(34, 34, 34); font-family: =
Arial, Helvetica, sans-serif; font-size: small;"><span style=3D"font-family=
: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-=
serif; font-size: 12pt; color: rgb(0, 0, 0);">gcm.cpp:733:18: error: PIC re=
gister clobbered by '%ebx' in 'asm'</span></div><div style=3D"color: rgb(34=
, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small;"><s=
pan style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, C=
alibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br /=
></span></div><div style=3D"color: rgb(34, 34, 34); font-family: Arial, Hel=
vetica, sans-serif; font-size: small;"><span style=3D"font-family: Aptos, A=
ptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; fon=
t-size: 12pt; color: rgb(0, 0, 0);">Is the correct solution to remove -fPIC=
 from the makefile?</span></div><div style=3D"color: rgb(34, 34, 34); font-=
family: Arial, Helvetica, sans-serif; font-size: small;"><span style=3D"fon=
t-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetic=
a, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">(other than updating =
to a newer compiler....)</span></div><br /></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Crypto++ Users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">cryp=
[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/cryptopp-users/8e00172e-95cd-4ea0-a835-16f196c9cc94n%40googlegro=
ups.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d=
/msgid/cryptopp-users/8e00172e-95cd-4ea0-a835-16f196c9cc94n%40googlegroups.=
com</a>.<br />

------=_Part_66830_932636934.1705410406837--

------=_Part_66829_1470624363.1705410406837--