From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 63547139694 for ; Thu, 11 May 2017 23:39:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 343D521C088; Thu, 11 May 2017 23:39:32 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9412E0C37 for ; Thu, 11 May 2017 23:39:31 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DhBAD89BRZ/1krq8BdHgYMg1WBboh1hX+REwGVSIIPHIYCBAIChQ9AGAECAQEBAQEBAWsohRYGOhwzCyETEg8FJTcaigizMIp0ATGFbHOEeYIJgyaCdYIxAQSeCgGCE5B6ghGIbhkahkY3lAwfOIEKfQgchTyBfyQ2iFwBAQE X-IPAS-Result: A0DhBAD89BRZ/1krq8BdHgYMg1WBboh1hX+REwGVSIIPHIYCBAIChQ9AGAECAQEBAQEBAWsohRYGOhwzCyETEg8FJTcaigizMIp0ATGFbHOEeYIJgyaCdYIxAQSeCgGCE5B6ghGIbhkahkY3lAwfOIEKfQgchTyBfyQ2iFwBAQE X-IronPort-AV: E=Sophos;i="5.38,326,1491278400"; d="scan'208";a="312612131" Received: from 192-171-43-89.cpe.pppoe.ca (HELO waltdnes.org) ([192.171.43.89]) by smtp.teksavvy.com with SMTP; 11 May 2017 19:39:29 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 11 May 2017 19:39:02 -0400 From: "Walter Dnes" Date: Thu, 11 May 2017 19:39:02 -0400 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2 Message-ID: <20170511233902.GA5362@waltdnes.org> References: <874lwu9c13.fsf@kestrel.kyomu.43-1.org> <87inl9y43x.fsf@kestrel.kyomu.43-1.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87inl9y43x.fsf@kestrel.kyomu.43-1.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: 995354d4-d5ff-43a2-a52c-783be0fea0ac X-Archives-Hash: a03d6e4034b19242c42b49b32c3e10f9 On Tue, May 09, 2017 at 06:58:42PM -0500, Matthias Maier wrote > This is a reworded news item (assuming we proceed with the plan to > default-enable USE=pie). Suggestions for improving the emerge command to > fix static archives is highly welcomed. > > Matthias > > > > Title: GCC 6 defaults to USE="pie ssp" > Author: Matthias Maier > Content-Type: text/plain > Posted: 2017-05-09 > Revision: 1 > News-Item-Format: 1.0 > Display-If-Installed: >=sys-devel/gcc-6.3.0 > > In Gentoo, several GCC features can be default disabled or enabled > via use-flags of sys-devel/gcc. Starting with gcc-4.8.3 we have already > enabled default SSP [1]. Since the PIE patchset for default position > independent executable support was integrated upstream [2,3], starting > with gcc-6.3 we are also enabling PIE by default (via a default-enabled > use-flag pie) in regular (non-hardened) profiles. Has anyone checked 32-bit systems? "emerge -pv =sys-devel/gcc-6.3.0" on a 2008 Core2duo 32-bit install (my GCC 6.3.0 testbed) shows "(-pie)". I read that as the "pie" USE flag being hard-masked out. On my 64-bit desktop, "pie" is the default. -- Walter Dnes I don't run "desktop environments"; I run useful applications