From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128106 invoked by alias); 8 Apr 2015 07:10:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 107951 invoked by uid 48); 8 Apr 2015 07:10:02 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65351] [5 Regression] libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1. Date: Wed, 08 Apr 2015 07:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00491.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65351 --- Comment #22 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #21) > Another option is not to add -mdynamic-no-pic for clang and other compilers > that don't support -mno-dynamic-no-pic. clang supports (and generates appropriate code for) -mdynamic-no-pic. as wee see (at present) it doesn't support -mno-dynamic-no-pic [(In reply to Jakub Jelinek from comment #21) > Another option is not to add -mdynamic-no-pic for clang and other compilers > that don't support -mno-dynamic-no-pic. Yeah, that seems like the safest bet :-(. (will try to get a patch together to fix future clang versions, but that won't alter the ones out in the wild).