This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]