Re: 7.0.0 update to 8.9.0 PIC register clobbered
Phil C <[email protected]> Tue, 16 Jan 2024 05:55:15 -0800 (PST)
| Newsgroups | gmane.comp.encryption.cryptopp |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_95763_290147924.1705413315244 Content-Type: multipart/alternative; boundary="----=_Part_95764_700591880.1705413315244" ------=_Part_95764_700591880.1705413315244 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I should also note that I am compiling to link with a 32bit application, so= =20 including -Wa,--32 -m32 On Tuesday, January 16, 2024 at 8:10:30=E2=80=AFAM UTC-5 Phil C 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=20 > 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....) > > --=20 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 e= mail to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/= cryptopp-users/55be1f4e-294a-4af1-acc7-f3766b3e4fabn%40googlegroups.com. ------=_Part_95764_700591880.1705413315244 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I should also note that I am compiling to link with a 32bit application, so= including -Wa,--32 -m32<br /><br /><div class=3D"gmail_quote"><div dir=3D"= auto" class=3D"gmail_attr">On Tuesday, January 16, 2024 at 8:10:30=E2=80=AF= AM UTC-5 Phil C wrote:<br/></div><blockquote class=3D"gmail_quote" style=3D= "margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-le= ft: 1ex;">CentOS 7..2009<div>gcc 4.8.5-44</div><div><br></div><div>I am upd= ating from cryptopp 7.0.0 to 8..0 and receive the following error</div><div= ><div style=3D"color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;f= ont-size:small"><span style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_M= SFontService,Calibri,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,Helvet= ica,sans-serif;font-size:small"><span style=3D"font-family:Aptos,Aptos_Embe= ddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;co= lor:rgb(0,0,0)">gcm.cpp: In member function 'virtual size_t CryptoPP::G= CM_Base::AuthenticateBlocks(const byte*, size_t)':</span></div><div sty= le=3D"color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:= small"><span style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontServ= ice,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">gcm.cpp:7= 33:18: error: PIC register clobbered by '%ebx' in 'asm'</sp= an></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)"><br></span></div><div style=3D"color:rgb(34,34,34);font-family:Aria= l,Helvetica,sans-serif;font-size:small"><span style=3D"font-family:Aptos,Ap= tos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size= :12pt;color:rgb(0,0,0)">Is the correct solution to remove -fPIC from the ma= kefile?</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,Aptos_E= mbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt= ;color:rgb(0,0,0)">(other than updating to a newer compiler....)</span></di= v><br></div></blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Crypto++ Users" 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/55be1f4e-294a-4af1-acc7-f3766b3e4fabn%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d= /msgid/cryptopp-users/55be1f4e-294a-4af1-acc7-f3766b3e4fabn%40googlegroups.= com</a>.<br /> ------=_Part_95764_700591880.1705413315244-- ------=_Part_95763_290147924.1705413315244--