From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MixdN-0000Xz-K3 for mharc-grub-devel@gnu.org; Wed, 02 Sep 2009 17:44:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MixdJ-0000Wz-VR for grub-devel@gnu.org; Wed, 02 Sep 2009 17:44:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MixdI-0000Wd-E7 for grub-devel@gnu.org; Wed, 02 Sep 2009 17:44:49 -0400 Received: from [199.232.76.173] (port=41653 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MixdI-0000WZ-Bc for grub-devel@gnu.org; Wed, 02 Sep 2009 17:44:48 -0400 Received: from ip1-68.bon.riksnet.se ([77.110.8.68]:3847 helo=micha.ume.nu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MixdH-00055s-Kh for grub-devel@gnu.org; Wed, 02 Sep 2009 17:44:47 -0400 Received: from localhost (micha.ume.nu [127.0.0.1]) by micha.ume.nu (Postfix) with ESMTP id 88F2B149A1 for ; Thu, 3 Sep 2009 00:59:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at ume.nu Received: from micha.ume.nu ([127.0.0.1]) by localhost (micha.ume.nu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BsBZ55dkaKH9 for ; Thu, 3 Sep 2009 00:59:18 +0200 (CEST) Received: from laptop1.localnet (ip1-67.bon.riksnet.se [77.110.8.67]) by micha.ume.nu (Postfix) with ESMTP id 5826A14938 for ; Thu, 3 Sep 2009 00:59:18 +0200 (CEST) From: Magnus Granberg Organization: Ume.nu To: grub-devel@gnu.org Date: Thu, 3 Sep 2009 00:31:57 +0200 User-Agent: KMail/1.12.0 (Linux/2.6.30-gentoo-r5; KDE/4.3.0; x86_64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200909030031.57226.zorry@ume.nu> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Greylist: delayed 89117 seconds by postgrey-1.27 at monty-python; Wed, 02 Sep 2009 17:44:45 EDT Subject: Re: [PATCH] Some distributions ship compilers that include -fPIE in the default specs (Gentoo Hardened) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 21:44:50 -0000 >Why not just check if the compiler accepts -fno-PIE and use it? No >harm done if -fPIE wasn't default, right? ------ Didn't want to add -fno-PIE when it was not needed and to be on the safe side . I can make it to check for -fno-PIE and use that. Hardened-Development Overlay Magnus Granberg (Zorry)