Gentoo Archives: gentoo-dev

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2
Date: Thu, 11 May 2017 23:39:40
Message-Id: 20170511233902.GA5362@waltdnes.org
In Reply to: Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2 by Matthias Maier
1 On Tue, May 09, 2017 at 06:58:42PM -0500, Matthias Maier wrote
2 > This is a reworded news item (assuming we proceed with the plan to
3 > default-enable USE=pie). Suggestions for improving the emerge command to
4 > fix static archives is highly welcomed.
5 >
6 > Matthias
7 >
8 >
9 >
10 > Title: GCC 6 defaults to USE="pie ssp"
11 > Author: Matthias Maier <tamiko@g.o>
12 > Content-Type: text/plain
13 > Posted: 2017-05-09
14 > Revision: 1
15 > News-Item-Format: 1.0
16 > Display-If-Installed: >=sys-devel/gcc-6.3.0
17 >
18 > In Gentoo, several GCC features can be default disabled or enabled
19 > via use-flags of sys-devel/gcc. Starting with gcc-4.8.3 we have already
20 > enabled default SSP [1]. Since the PIE patchset for default position
21 > independent executable support was integrated upstream [2,3], starting
22 > with gcc-6.3 we are also enabling PIE by default (via a default-enabled
23 > use-flag pie) in regular (non-hardened) profiles.
24
25 Has anyone checked 32-bit systems? "emerge -pv =sys-devel/gcc-6.3.0"
26 on a 2008 Core2duo 32-bit install (my GCC 6.3.0 testbed) shows "(-pie)".
27 I read that as the "pie" USE flag being hard-masked out. On my 64-bit
28 desktop, "pie" is the default.
29
30 --
31 Walter Dnes <waltdnes@××××××××.org>
32 I don't run "desktop environments"; I run useful applications

Replies