On Wed, 2006-03-01 at 17:17 +0000, Duncan Coutts wrote:
> On Wed, 2006-03-01 at 11:39 -0500, Mike Frysinger wrote:
> > On Wednesday 01 March 2006 10:35, Duncan Coutts wrote:
> > > gcc-3 supports both -nopie and -fno-stack-protector. So always using
> > > these would be ok if it were not for gcc-4 which doesn't grok
> > > -fno-stack-protector.
> > 
> > yes it does
> 
> Oh. I had reports from ppc devs who said that gcc-4 didn't recognise
> that flag.
> 
> I also heard that gcc-4 contains a re-written stack protector
> implementation with different semantics and that was why it didn't
> recognise the flag anymore.
> 
> > every gcc in portage by default supports -fno-stack-protector
> 
> So that includes gcc 4 then. Well that makes life easier. :-)
> 
> I presume it's a gentoo patch to gcc-4 to add back in
> -fno-stack-protector?

For the 4.0.x it should be just a dummy call. 
For 4.1 it is included. What does change and is really uncool with 4.1 
is that -fno-stack-protector-all is missing and wont be added 
back without several somebodies making a case for it upstream.

-- 
solar <[EMAIL PROTECTED]>
Gentoo Linux

-- 
gentoo-dev@gentoo.org mailing list

Reply via email to