From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3337 invoked by alias); 19 May 2015 01:11:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 3080 invoked by uid 89); 19 May 2015 01:11:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 May 2015 01:11:31 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1YuW46-0004a1-6R from joseph_myers@mentor.com ; Mon, 18 May 2015 18:11:26 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.224.2; Tue, 19 May 2015 02:11:24 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.82) (envelope-from ) id 1YuW43-0002TA-Dm; Tue, 19 May 2015 01:11:23 +0000 Date: Tue, 19 May 2015 01:25:00 -0000 From: Joseph Myers To: Magnus Granberg CC: Subject: Re: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option In-Reply-To: <3072346.CTCrhcXNep@laptop1.gw.ume.nu> Message-ID: References: <3072346.CTCrhcXNep@laptop1.gw.ume.nu> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2015-05/txt/msg01640.txt.bz2 On Tue, 19 May 2015, Magnus Granberg wrote: > > > noted a > > > possible issue with MIPS. Actually, rather more config/*.h and > > > config/*/*.h headers contain specs testing for (-fpie, -fPIE, -fno-pie, > > > -fno-PIE, -pie) options, which would be affected by these changes. I'd > > > say this patch should include an initial attempt at adjusting those config > > > headers, which should be an essentially mechanical change not requiring > > > understanding anything target-specific. For link-time specs, that may > > > mean using PIE_SPEC and NO_PIE_SPEC. For compile-time specs, similar new > > > macros would be added. Given such adjustments included in the patch and > > > the relevant target maintainers CC:ed, I might then be inclined to approve > > > the patch on the basis of allowing a week for target maintainers to test > > > the changes for their targets before commit, as I don't see any major > > > problems with it beyond the need to update the target-specific specs. > > > > Here is the updated patch. I will post patches for cris, mips, powerpc > > and sparc separately. The target maintainers should be able to adjust > > backend ASM_SPEC with FPIE_OR_FPIC_SPEC and > > NO_FPIE_AND_FPIC_SPEC. > > > > OK for trunk? > > > > Thanks. > PIng > > Any progress on this? Have updates for all affected specs for all targets been posted? I just saw a small and apparently arbitrary subset of targets with patches, and no explanation of how those targets were identified or why the other targets with specs mentioning the options in question did not need updates. -- Joseph S. Myers joseph@codesourcery.com