Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] how to turn off hardened gcc flags reliably?
Date: Wed, 01 Mar 2006 18:50:17
Message-Id: 200603011347.25401.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] how to turn off hardened gcc flags reliably? by Duncan Coutts
1 On Wednesday 01 March 2006 12:17, Duncan Coutts wrote:
2 > On Wed, 2006-03-01 at 11:39 -0500, Mike Frysinger wrote:
3 > > On Wednesday 01 March 2006 10:35, Duncan Coutts wrote:
4 > > > gcc-3 supports both -nopie and -fno-stack-protector. So always using
5 > > > these would be ok if it were not for gcc-4 which doesn't grok
6 > > > -fno-stack-protector.
7 > >
8 > > yes it does
9 >
10 > Oh. I had reports from ppc devs who said that gcc-4 didn't recognise
11 > that flag.
12
13 it does and it doesnt ... official gcc-4.0.x lacks ssp support, but official
14 gcc-4.1.x has it
15
16 > I presume it's a gentoo patch to gcc-4 to add back in
17 > -fno-stack-protector?
18
19 yes
20 -mike
21 --
22 gentoo-dev@g.o mailing list