[LTO][PATCH] Fix parallel build breakage due to missing dependencies.

Doug Kwan (關振德) dougkwan@google.com
Tue Aug 5 22:03:00 GMT 2008


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)



More information about the Gcc-patches mailing list