Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Subject: New profiles for default-pie transition (was: Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2)
Date: Wed, 10 May 2017 13:29:29
Message-Id: 2090987.1dkQBvKUQA@porto
In Reply to: Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2 by Dirkjan Ochtman
1 Am Mittwoch, 10. Mai 2017, 13:58:56 CEST schrieb Dirkjan Ochtman:
2 > On Wed, May 10, 2017 at 11:19 AM, Kristian Fiskerstrand <k_f@g.o>
3 wrote:
4 > > Sounds like a reasonable action plan. The consequences of such a change
5 > > definitely seems to be sufficiently high to merit a proper migration
6 > > plan which doesn't seem to have been established at this point. Whether
7 > > that can be added to a later point with gcc6 (e.g by adding a new
8 > > profile, or a later point release) I don't have strong opinions on, but
9 > > there should be a plan and proper overview of the consequences.
10 >
11 > Yeah, I think I agree. From the discussions so far, I think that we
12 > should definitely aim for making pie the default for everyone (on
13 > arches where it makes sense), but doing it in the gcc-6 now which has
14 > seen only a short period of testing so far seems a bit hasty based on
15 > data from the messages that I've seen in these threads so far.
16
17 Actually the idea I like best so far is Jason's profile suggestion.
18
19 * package.use.mask gcc[pie] in the 13.0 profiles
20
21 * generate a new set of profiles 17.0 where it's package.use.forced
22 * tell people they may have to rebuild world when they switch
23
24 -> This would also give us some time to discuss what other changes we might
25 make with the transition to the new profiles.
26
27 -> Also, this means the transition is independent of gcc release timing.
28
29 (We just need to be careful since hardened also inherits 13.0, so the setting
30 must be overridden there. As far as I can see that's already done there
31 though.)
32
33 --
34 Andreas K. Hüttel
35 dilfridge@g.o
36 Gentoo Linux developer (council, perl, libreoffice)

Replies