From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11399 invoked by alias); 20 May 2007 13:47:01 -0000 Received: (qmail 11347 invoked by uid 48); 20 May 2007 13:46:36 -0000 Date: Sun, 20 May 2007 13:47:00 -0000 Subject: [Bug regression/32009] New: building gcc4-4.3.0-20070518 failed on OSX 10.3.9 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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 X-SW-Source: 2007-05/txt/msg01608.txt.bz2 Building gcc4-4.3.0-20070518 failed on OSX 10.3.9. Copies of http://gcc.gnu.org/ml/gcc/2007-05/msg00483.html > Comparing the log of successful and failed builds I have found > that the failed one contains -mdynamic-no-pic which does not > appear in the previous build. According Apple's doc this > should be used in "application", but it should not appear > when building libraries (at least it is my understanding). > > I suspect the origin of the problem comes from > > 2007-05-16 Paolo Bonzini > > * Makefile.def (bootstrap_stage): Replace stage_make_flags with > stage_cflags. > * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS): > Remove CFLAGS/LIBCFLAGS. > (configure-stage[+id+]-[+prefix+][+module+], > all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+]. > * Makefile.in: Regenerate. > > but there are too many changes to allow me to go further. > > BTW I also noticed the nicety > > ... -O2 -O2 -g -O2 ... -g -O2 ... > > (was ... -O2 -O2 -g -O2 ... -O2 -g -O2 ...) http://gcc.gnu.org/ml/gcc/2007-05/msg00485.html form Andreas Tobler > Thanks Dominique, I just reverted this patch to see if I get further. > I have the same problem on 10.4.9 and was to lazy to investigate > that deep as you did. > I'll let you know how it works. > > In toplevel, svn up -r 124763 Makefile.tpl Makefile.def Makefile.in and http://gcc.gnu.org/ml/gcc/2007-05/msg00487.html > > In toplevel, svn up -r 124763 Makefile.tpl Makefile.def Makefile.in > > I used the files from trunk revision 124627 and the build went fine. > > I'll try to find some time to fill a PR -- Summary: building gcc4-4.3.0-20070518 failed on OSX 10.3.9 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: regression AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC host triplet: powerpc-apple-darwin7 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32009