From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58580 invoked by alias); 7 Apr 2015 21:30:41 -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 58483 invoked by uid 48); 7 Apr 2015 21:30:37 -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: Tue, 07 Apr 2015 21:30: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: RESOLVED 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/msg00473.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65351 --- Comment #16 from Iain Sandoe --- (In reply to Jack Howarth from comment #15) > (In reply to Jakub Jelinek from comment #14) > > So hopefully fixed now. > > This breaks the bootstrap on darwin14 here... > > make[3]: Entering directory > '/sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir/libiberty' > if [ x"-fno-common -mno-dynamic-no-pic" != x ]; then \ > gcc -c -DHAVE_CONFIG_H -g -I. > -I../../gcc-5-20150407/libiberty/../include -W -Wall -Wwrite-strings > -Wc++-compat -Wstrict-prototypes -pedantic -fno-common -mno-dynamic-no-pic > ../../gcc-5-20150407/libiberty/regex.c -o pic/regex.o; \ > else true; fi > clang: error: unknown argument: '-mno-dynamic-no-pic' > Makefile:1167: recipe for target 'regex.o' failed > make[3]: *** [regex.o] Error 1 > make[3]: Leaving directory > '/sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir/libiberty' > Makefile:9585: recipe for target 'all-stage1-libiberty' failed > make[2]: *** [all-stage1-libiberty] Error 2 > make[2]: Leaving directory '/sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir' > Makefile:20760: recipe for target 'stage1-bubble' failed > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory '/sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir' > Makefile:21064: recipe for target 'bootstrap' failed > make: *** [bootstrap] Error 2 > > The default system compiler (Apple Clang 6.0) doesn't understand > -mno-dynamic-no-pic. hmm OK. that's going to make life difficult.