Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] To enable ssp default in Gcc the toolchain.eclass need some changes.
Date: Thu, 09 Jan 2014 22:19:45
Message-Id: 20140109221934.GA8660@laptop.home
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, Jan 09, 2014 at 04:11:28PM -0500, Rick "Zero_Chaos" Farina wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > On 01/09/2014 03:58 PM, Magnus Granberg wrote:
6 > > Hi
7 > >
8 > > Some time ago we discussed that we should enable stack smashing
9 > > (-fstack-protector) by default. So we opened a bug to track this [1].
10 > > The affected Gcc version will be 4.8.2 and newer. Only amd64, x86, mips, ppc,
11 > > ppc64 and arm will be affected by this change.
12 > >
13 > > You can turn off ssp by using the nossp USE flag or by adding
14 > > -fno-stack-protector to the CFLAGS and/or CXXFLAGS. We are using the same
15 > > patch as Debian/Ubuntu but with some Gentoo fixes.
16 >
17 > Please avoid "noblah" use flags.
18 >
19 > http://devmanual.gentoo.org/general-concepts/use-flags/
20 >
21 > ssp flag that defaults to on is fine.
22
23 Agreed; please do not introduce this with a "nossp" use flag.
24
25 Thanks,
26
27 William

Attachments

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