public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Allow parallel toplevel bootstrap
@ 2005-10-05 13:48 Richard Earnshaw
  2005-10-05 14:06 ` [PATCH] Fix unified tree breakage Paolo Bonzini
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Earnshaw @ 2005-10-05 13:48 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: gcc-patches

This patch breaks building with a unified build tree.  We now get:

arm-elf-ar  rc ./libgcc.a libgcc/./_udivsi3.o libgcc/./_divsi3.o
libgcc/./_umodsi3.o libgcc/./_modsi3.o libgcc/./_dvmd_tls.o [...]
libgcc/./gthr-gnat.o libgcc/./unwind-c.o
gnumake[3]: arm-elf-ar: Command not found
gnumake[3]: *** [libgcc.a] Error 127

The problem is in the top-level makefile with the extra level of
recursion that is now used.

AR_FOR_TARGET in this case is intended to expand to ..../binutils/ar,
but the macro to do this is in RECURSE_FLAGS_TO_PASS, and that's
expanded before we've built binutils, so instead of pointing to the
newly created ar it points to the non-existant arm-elf-ar.

Restarting the make after binutils has been built should work ok, but
that's not really the point.

R.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-10-07 19:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-05 13:48 [PATCH] Allow parallel toplevel bootstrap Richard Earnshaw
2005-10-05 14:06 ` [PATCH] Fix unified tree breakage Paolo Bonzini
2005-10-05 14:09   ` Paolo Bonzini
2005-10-05 15:14     ` Richard Earnshaw
2005-10-05 15:23       ` Paolo Bonzini
2005-10-05 15:47         ` Richard Earnshaw
2005-10-05 16:55         ` Alexandre Oliva
2005-10-07  5:46           ` Alexandre Oliva
     [not found]           ` <di2o1t$nve$1@sea.gmane.org>
2005-10-07 17:45             ` Alexandre Oliva
2005-10-07 19:52               ` Bernd Jendrissek
2005-10-05 16:55     ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).