* [Ada] Fix parallel LTO bootstrap
@ 2011-07-01 21:47 Eric Botcazou
2011-07-04 9:49 ` Jan Hubicka
0 siblings, 1 reply; 3+ messages in thread
From: Eric Botcazou @ 2011-07-01 21:47 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
Not clear why this never showed up on the 4.6 branch, but this now prevents a
parallel LTO bootstrap with Ada enabled from completing on the mainline.
Parallel LTO-bootstrapped, applied on the mainline and 4.6 branch.
2011-07-01 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/Make-lang.in (gnat1): Prepend '+' to the command.
(gnatbind): Likewise.
--
Eric Botcazou
[-- Attachment #2: p.diff --]
[-- Type: text/x-diff, Size: 1098 bytes --]
Index: gcc-interface/Make-lang.in
===================================================================
--- gcc-interface/Make-lang.in (revision 175747)
+++ gcc-interface/Make-lang.in (working copy)
@@ -476,11 +476,11 @@ TARGET_ADA_SRCS =
# Since the RTL should be built with the latest compiler, remove the
# stamp target in the parent directory whenever gnat1 is rebuilt
gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNAT1_OBJS) $(ADA_BACKEND) libcommon-target.a $(LIBDEPS)
- $(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) libcommon-target.a $(LIBS) $(SYSLIBS) $(BACKENDLIBS) $(CFLAGS)
+ +$(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) libcommon-target.a $(LIBS) $(SYSLIBS) $(BACKENDLIBS) $(CFLAGS)
$(RM) stamp-gnatlib2-rts stamp-tools
gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS) ggc-none.o libcommon-target.a $(LIBDEPS)
- $(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) ggc-none.o libcommon-target.a $(LIBS) $(SYSLIBS) $(CFLAGS)
+ +$(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) ggc-none.o libcommon-target.a $(LIBS) $(SYSLIBS) $(CFLAGS)
# use cross-gcc
gnat-cross: force
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Ada] Fix parallel LTO bootstrap
2011-07-01 21:47 [Ada] Fix parallel LTO bootstrap Eric Botcazou
@ 2011-07-04 9:49 ` Jan Hubicka
2011-07-04 10:22 ` Eric Botcazou
0 siblings, 1 reply; 3+ messages in thread
From: Jan Hubicka @ 2011-07-04 9:49 UTC (permalink / raw)
To: Eric Botcazou; +Cc: gcc-patches
> Not clear why this never showed up on the 4.6 branch, but this now prevents a
> parallel LTO bootstrap with Ada enabled from completing on the mainline.
>
> Parallel LTO-bootstrapped, applied on the mainline and 4.6 branch.
>
>
> 2011-07-01 Eric Botcazou <ebotcazou@adacore.com>
>
> * gcc-interface/Make-lang.in (gnat1): Prepend '+' to the command.
> (gnatbind): Likewise.
The changle is obviously correct, but I wonder how the bootstrap dies w/o '+'.
It should IMO just prevent the parallelizm and take longer.
Honza
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Ada] Fix parallel LTO bootstrap
2011-07-04 9:49 ` Jan Hubicka
@ 2011-07-04 10:22 ` Eric Botcazou
0 siblings, 0 replies; 3+ messages in thread
From: Eric Botcazou @ 2011-07-04 10:22 UTC (permalink / raw)
To: Jan Hubicka; +Cc: gcc-patches
> The changle is obviously correct, but I wonder how the bootstrap dies w/o
> '+'. It should IMO just prevent the parallelizm and take longer.
Same cryptic error as PR driver/46750.
--
Eric Botcazou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-04 10:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-01 21:47 [Ada] Fix parallel LTO bootstrap Eric Botcazou
2011-07-04 9:49 ` Jan Hubicka
2011-07-04 10:22 ` Eric Botcazou
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).