Geert Hendrickx | 4 Oct 2005 16:40
Picon

gcc optimizer problem with security/gnupg

I submitted a fix/hack/workaround for the problem described in this thread: 
http://mail-index.netbsd.org/port-sparc/2004/12/19/0001.html 
submitted as pr#31463.  It adds a hacks.mk which removes any -mcpu= flag on
sparc.  

Does anyone know whether the problem/fix applies to sparc64 as well?  

	Geert

--

-- 
PS: I'm not subscribed to this list so please CC me any follow ups.  

Martin Husemann | 4 Oct 2005 17:46
Picon

Re: gcc optimizer problem with security/gnupg

On Tue, Oct 04, 2005 at 04:40:00PM +0200, Geert Hendrickx wrote:
> Does anyone know whether the problem/fix applies to sparc64 as well?  

No, sparc64 is not affected.

I think it would be preferable if someone could track down the misoptmized
object file (and possibly function, so this could be turned into a gcc bug
report), since your workaround will cause a severe performance hit.

Martin

Geert Hendrickx | 4 Oct 2005 17:53
Picon

Re: gcc optimizer problem with security/gnupg

On Tue, Oct 04, 2005 at 05:46:19PM +0200, Martin Husemann wrote:
> On Tue, Oct 04, 2005 at 04:40:00PM +0200, Geert Hendrickx wrote:
> > Does anyone know whether the problem/fix applies to sparc64 as well?  
> 
> No, sparc64 is not affected.

Ok, thanks for the verification.  

> I think it would be preferable if someone could track down the
> misoptmized object file (and possibly function, so this could be turned
> into a gcc bug report), since your workaround will cause a severe
> performance hit.

Agreed, that's also why it's put in hacks.mk :-).  But I'd prefer the
workaround to be committed in the meantime, because the package is
otherwise broken on sparc.  

	Geert


Gmane