This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed for parallel build failure of ssa-ccp.o
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Jan 2003 00:03:22 -0500 (EST)
- Subject: Patch installed for parallel build failure of ssa-ccp.o
My parallel build failed this evening with this error:
> gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
> -fno-common -DHAVE_CONFIG_H -I. -I. -I../../egcc-CVS20030121/gcc
> -I../../egcc-CVS20030121/gcc/. -I../../egcc-CVS20030121/gcc/config
> -I../../egcc-CVS20030121/gcc/../include
> ../../egcc-CVS20030121/gcc/ssa-ccp.c -o ssa-ccp.o
> In file included from ../../egcc-CVS20030121/gcc/ssa-ccp.c:65:
> tm.h:16: insn-flags.h: No such file or directory
> make: *** [ssa-ccp.o] Error 1
Looking at the Makefile, there seems to be an obvious typo where
ssa-ccp.o is missing dependencies and df.o has them twice.
Tested via:
> make clean
> make -j40 ssa-ccp.o (which used to fail and now works)
> make clean
> make -j40 df.o (to ensure I didn't mess up this one)
I installed it as "obvious".
2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
(df.o): Delete duplicate dependency on coretypes.h $(TM_H).
diff -rup orig/egcc-CVS20030121/gcc/Makefile.in egcc-CVS20030121/gcc/Makefile.in
--- orig/egcc-CVS20030121/gcc/Makefile.in 2003-01-21 08:40:11.000000000 -0500
+++ egcc-CVS20030121/gcc/Makefile.in 2003-01-21 23:48:46.558851000 -0500
@@ -1546,10 +1546,10 @@ ssa.o : ssa.c $(CONFIG_H) $(SYSTEM_H) co
$(BASIC_BLOCK_H) output.h ssa.h
ssa-dce.o : ssa-dce.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) hard-reg-set.h \
$(BASIC_BLOCK_H) ssa.h insn-config.h $(RECOG_H) output.h
-ssa-ccp.o : ssa-ccp.c $(CONFIG_H) system.h $(RTL_H) hard-reg-set.h \
+ssa-ccp.o : ssa-ccp.c $(CONFIG_H) system.h coretypes.h $(TM_H) $(RTL_H) hard-reg-set.h \
$(BASIC_BLOCK_H) ssa.h insn-config.h $(RECOG_H) output.h \
errors.h $(GGC_H) df.h function.h
-df.o : df.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) coretypes.h $(TM_H) $(RTL_H) \
+df.o : df.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
insn-config.h $(RECOG_H) function.h $(REGS_H) $(OBSTACK_H) hard-reg-set.h \
$(BASIC_BLOCK_H) df.h $(FIBHEAP_H)
conflict.o : conflict.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(OBSTACK_H) \