From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-80553-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 9232E139694
	for <garchives@archives.gentoo.org>; Tue,  9 May 2017 22:47:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4302DE0E06;
	Tue,  9 May 2017 22:47:38 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E86C9E0DFE
	for <gentoo-dev@lists.gentoo.org>; Tue,  9 May 2017 22:47:37 +0000 (UTC)
Received: from localhost (unknown [IPv6:2a01:e34:eeaa:6bd0:4ecc:6aff:fe03:1cfc])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: aballier)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 5F906341130
	for <gentoo-dev@lists.gentoo.org>; Tue,  9 May 2017 22:47:36 +0000 (UTC)
Date: Wed, 10 May 2017 00:47:30 +0200
From: Alexis Ballier <aballier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp"
Message-ID: <20170510004730.6439f885@gentoo.org>
In-Reply-To: <20170509231820.6228c56f@pc1>
References: <874lwu9c13.fsf@kestrel.kyomu.43-1.org>
	<20170509221021.31468d6f@gentoo.org>
	<87k25p92d3.fsf@kestrel.kyomu.43-1.org>
	<20170509231820.6228c56f@pc1>
Organization: Gentoo
X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: e05c8068-6eeb-4b7e-b63a-928874873dd6
X-Archives-Hash: 82bbf0cdbe5fdcd63bb9dd7ab9592815

On Tue, 9 May 2017 23:18:20 +0200
Hanno B=C3=B6ck <hanno@gentoo.org> wrote:

> Hi,
>=20
> On Tue, 09 May 2017 15:55:36 -0500
> Matthias Maier <tamiko@gentoo.org> wrote:
>=20
> > Well, Alexis certainly makes a strong point. Breaking installed
> > static archives by changing a use flag shouldn't be as easy as
> > changing a useflag. So we might simply use.force the pie use flag
> > depending on hardened/non-hardened profiles. =20
>=20
> While I understand that enabling pie requires some more planning to
> avoid breakage, I hope this is not the final solution we aim for. I
> really think it's about time that pie becomes the default in Gentoo.

For a transition we can probably build everything with -fPIE but not
link with -pie. If we want that to happen fast, gcc-6 might do that and
gcc-7 add the -pie option.

Alexis.