This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/32009] New: building gcc4-4.3.0-20070518 failed on OSX 10.3.9
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2007 13:46:36 -0000
- Subject: [Bug regression/32009] New: building gcc4-4.3.0-20070518 failed on OSX 10.3.9
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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 <bonzini@gnu.org>
>
> * 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