From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 621F4138247 for ; Thu, 9 Jan 2014 22:19:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0042DE0C78; Thu, 9 Jan 2014 22:19:41 +0000 (UTC) Received: from mail-oa0-f46.google.com (mail-oa0-f46.google.com [209.85.219.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18342E0C5A for ; Thu, 9 Jan 2014 22:19:40 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id l6so4166134oag.33 for ; Thu, 09 Jan 2014 14:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=4Ote6Wpt1DQ2J4KilON5aXcOM/+1L0IMvag6eEnF3mw=; b=xbXnR2hTiiN+LFDdGrHNpemZzYur4to9Hf9gH31OGijCdJkdTU5cw4yjxLdIJXiRz7 s8dDdP/46PYsR3g/IUhurgynEhOTTjBGQoRYfVj19N9fM4iF8zbbAdEnamQdy2Lfs1d/ rHRAaJTvlVHRUnmvLIPl8TEGAa59sm7p5/RIAM9cJL7zMSfYAF5Cy3Spn9jROmeewhZs JPfoSu5mkS1bfugD8K3nLP85mXSrXboq1uMk6687uyej57XEP1j6aMooeoEG0wt+kg1l IttYBBfNCzj2WKuk2DZT6bWX2KoWE+4Ayr1lnX3yh81XAvcwCgf69dWXolhosSh8xvdR MuTA== X-Received: by 10.60.35.194 with SMTP id k2mr4338622oej.42.1389305979318; Thu, 09 Jan 2014 14:19:39 -0800 (PST) Received: from laptop (cpe-76-187-91-128.tx.res.rr.com. [76.187.91.128]) by mx.google.com with ESMTPSA id tz10sm6900502obc.10.2014.01.09.14.19.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jan 2014 14:19:37 -0800 (PST) Sender: William Hubbs Received: by laptop (sSMTP sendmail emulation); Thu, 09 Jan 2014 16:19:34 -0600 Date: Thu, 9 Jan 2014 16:19:34 -0600 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] To enable ssp default in Gcc the toolchain.eclass need some changes. Message-ID: <20140109221934.GA8660@laptop.home> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <7554031.Sacz2dxc8i@laptop1.gw.ume.nu> <52CF1080.7010400@gentoo.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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <52CF1080.7010400@gentoo.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: ec031bdb-f48e-4958-afe5-3735f4771ea9 X-Archives-Hash: d1a4a0e6bc01fcdb781db6bffaad1b01 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 09, 2014 at 04:11:28PM -0500, Rick "Zero_Chaos" Farina wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > On 01/09/2014 03:58 PM, Magnus Granberg wrote: > > Hi > >=20 > > Some time ago we discussed that we should enable stack smashing=20 > > (-fstack-protector) by default. So we opened a bug to track this [1]. = =20 > > The affected Gcc version will be 4.8.2 and newer. Only amd64, x86, mips= , ppc,=20 > > ppc64 and arm will be affected by this change.=20 > >=20 > > You can turn off ssp by using the nossp USE flag or by adding=20 > > -fno-stack-protector to the CFLAGS and/or CXXFLAGS. We are using the sa= me=20 > > patch as Debian/Ubuntu but with some Gentoo fixes. >=20 > Please avoid "noblah" use flags. >=20 > http://devmanual.gentoo.org/general-concepts/use-flags/ >=20 > ssp flag that defaults to on is fine. Agreed; please do not introduce this with a "nossp" use flag. Thanks, William --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlLPIHYACgkQblQW9DDEZThGZACfSMtgahXzUrbX/12rtiR0HpXQ C/UAn0Z8fELqxunSADtyV7HhvzoKF3f1 =aSUN -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--