This is the mail archive of the 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]

Patch: fix parallel build failure of dummy-conditions.o

The file dummy-conditions.c is not a generated file and it includes
hconfig.h.  (I.e. it has no antecedent generator which creates
hconfig.h as a side effect ala insn-conditions.c.)  So we have to
depend on $(HCONFIG_H) or parallel builds fail.  This was exposed on a
cross-compile to mips-sgi-irix6.5o32.

Tested by compiling dummy-conditions.o with -j50 in the above

Ok to install?


2002-08-06  Kaveh R. Ghazi  <>

	* (dummy-conditions.o): Depend on $(HCONFIG_H) not

diff -rup orig/egcc-CVS20020805/gcc/ egcc-CVS20020805/gcc/
--- orig/egcc-CVS20020805/gcc/	2002-08-05 16:00:12.000000000 -0400
+++ egcc-CVS20020805/gcc/	2002-08-06 10:31:37.287662258 -0400
@@ -1705,7 +1705,7 @@ insn-conditions.o : insn-conditions.c $(
   hard-reg-set.h resource.h toplev.h reload.h gensupport.h insn-constants.h
 	$(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) insn-conditions.c
-dummy-conditions.o : dummy-conditions.c $(GCONFIG_H) $(SYSTEM_H) gensupport.h
+dummy-conditions.o : dummy-conditions.c $(HCONFIG_H) $(SYSTEM_H) gensupport.h
 	    $(srcdir)/dummy-conditions.c $(OUTPUT_OPTION)

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