Gentoo Archives: gentoo-dev

From: Ryan Hill <dirtyepic@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [PATCH] To enable ssp default in Gcc the toolchain.eclass need some changes.
Date: Thu, 09 Jan 2014 23:17:03
Message-Id: 20140109172603.659c630f@caribou.gateway.pace.com
In Reply to: Re: [gentoo-dev] [PATCH] To enable ssp default in Gcc the toolchain.eclass need some changes. by "Rick \\\"Zero_Chaos\\\" Farina"
1 On Thu, 09 Jan 2014 16:11:28 -0500
2 "Rick \"Zero_Chaos\" Farina" <zerochaos@g.o> wrote:
3
4 > -----BEGIN PGP SIGNED MESSAGE-----
5 > Hash: SHA1
6 >
7 > On 01/09/2014 03:58 PM, Magnus Granberg wrote:
8 > > Hi
9 > >
10 > > Some time ago we discussed that we should enable stack smashing
11 > > (-fstack-protector) by default. So we opened a bug to track this [1].
12 > > The affected Gcc version will be 4.8.2 and newer. Only amd64, x86, mips,
13 > > ppc, ppc64 and arm will be affected by this change.
14 > >
15 > > You can turn off ssp by using the nossp USE flag or by adding
16 > > -fno-stack-protector to the CFLAGS and/or CXXFLAGS. We are using the same
17 > > patch as Debian/Ubuntu but with some Gentoo fixes.
18 >
19 > Please avoid "noblah" use flags.
20 >
21 > http://devmanual.gentoo.org/general-concepts/use-flags/
22 >
23 > ssp flag that defaults to on is fine.
24
25 This flag already exists and has always worked this way. We don't have USE
26 defaults yet.
27
28
29 --
30 Ryan Hill psn: dirtyepic_sk
31 gcc-porting/toolchain/wxwidgets @ gentoo.org
32
33 47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies