From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ppsw-8.csi.cam.ac.uk (ppsw-8.csi.cam.ac.uk [131.111.8.138]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3FJZeZH007350 for ; Fri, 15 Apr 2005 19:35:41 GMT Received: from cpc1-cmbg1-5-0-cust4.cmbg.cable.ntl.com ([62.253.134.4]:44957 helo=[192.168.0.10]) by ppsw-8.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:465) with esmtpsa (PLAIN:spb42) (SSLv3:RC4-MD5:128) id 1DMWbU-0006Dq-S7 (Exim 4.44) for gentoo-dev@lists.gentoo.org (return-path ); Fri, 15 Apr 2005 20:35:48 +0100 Subject: Re: [gentoo-dev] What to do with things like -fpie in CFLAGS in environment? From: Stephen Bennett To: gentoo-dev@lists.gentoo.org In-Reply-To: <20050415192738.GT8632@kfk4ever.com> References: <20050412155953.GM8632@kfk4ever.com> <1113322225.8062.8.camel@Memoria.anyarch.net> <20050415192738.GT8632@kfk4ever.com> Content-Type: text/plain Date: Fri, 15 Apr 2005 20:40:55 +0100 Message-Id: <1113594056.10691.7.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit Sender: spb42@hermes.cam.ac.uk X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-Archives-Salt: 44bf903e-674c-41b1-8a68-127e687e9dfb X-Archives-Hash: 79a53848cb72dbb53bbcd7f5e9008c6c On Fri, 2005-04-15 at 21:27 +0200, Maurice van der Pot wrote: > What do I do now? The obvious course of action would be to test whether the GCC being used supports -fno-pie and add it if it does. If it doesn't, you'd just have to assume that PIE isn't being used by default. > Why is -fno-pie being added by filter-flags anyway? Because with hardened gcc profiles PIE is the default behaviour. So, if something doesn't work with pie (which is usually why one would filter out -fpie), we need to add -fno-pie. -- gentoo-dev@gentoo.org mailing list