From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92967 invoked by alias); 23 Oct 2015 14:23:49 -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 92411 invoked by uid 89); 23 Oct 2015 14:23:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lf0-f48.google.com Received: from mail-lf0-f48.google.com (HELO mail-lf0-f48.google.com) (209.85.215.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 23 Oct 2015 14:23:48 +0000 Received: by lfaz124 with SMTP id z124so85502503lfa.1 for ; Fri, 23 Oct 2015 07:23:44 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.25.156.5 with SMTP id f5mr7077195lfe.46.1445610224788; Fri, 23 Oct 2015 07:23:44 -0700 (PDT) Received: by 10.25.165.142 with HTTP; Fri, 23 Oct 2015 07:23:44 -0700 (PDT) In-Reply-To: References: <3072346.CTCrhcXNep@laptop1.gw.ume.nu> <87vbflkh05.fsf@igel.home> <87k2w1k54t.fsf@igel.home> Date: Fri, 23 Oct 2015 14:27:00 -0000 Message-ID: Subject: Re: Fwd: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option From: Marcus Shawcroft To: "H.J. Lu" Cc: GCC Patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg02457.txt.bz2 On 23 October 2015 at 13:34, H.J. Lu wrote: > On Fri, Oct 23, 2015 at 4:54 AM, Marcus Shawcroft > wrote: >> Hi, >> >> This patch breaks the distinction between build and host. For example >> consider a configure along these lines: >> >> ./configure --host=aarch64-none-linux-gnu >> --target=aarch64-none-linux-gnu --build=x86_64-pc-linux-gnu >> HJ, could you take a look into this issue? >> > > Try this. Thanks HJ. This solves the issue I was seeing. Cheers /Marcus