This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[LTO][PATCH] Fix parallel build breakage due to missing dependencies.
- From: "=?big5?b?RG91ZyBLd2FuICjD9q62vHcp?=" <dougkwan at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 5 Aug 2008 14:50:58 -0700
- Subject: [LTO][PATCH] Fix parallel build breakage due to missing dependencies.
Hi,
I just checked this into the LTO-branch to fix a parallel build
breakage caused by a race condition due to missing dependencies in
lto/Make-lang.in. The file lto-symtab.c includes ggc.h and lambda.h
but that was not stated in Make-lang.in.
-Doug
2008-08-05 Doug Kwan <dougkwan@google.com>
* Make-lang.in (lto-symtab.o): Add missing dependencies to fix
build breakage.
Index: gcc/gcc/lto/Make-lang.in
===================================================================
--- gcc/gcc/lto/Make-lang.in (revision 138677)
+++ gcc/gcc/lto/Make-lang.in (working copy)
@@ -91,4 +91,4 @@ lto/lto.o: lto/lto.c $(CONFIG_H) $(CGRAP
lto/lto-elf.o: lto/lto-elf.c $(CONFIG_H) coretypes.h $(SYSTEM_H) \
toplev.h $(LTO_H) $(TM_H)
lto/lto-symtab.o: lto/lto-symtab.c $(CONFIG_H) coretypes.h \
- $(SYSTEM_H) toplev.h $(LTO_H) lto/lto-tree.h
+ $(SYSTEM_H) toplev.h $(LTO_H) lto/lto-tree.h $(GGC_H) $(LAMBDA_H)