This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
-j3 unsafe
- To: egcs-patches at cygnus dot com
- Subject: -j3 unsafe
- From: mrs at wrs dot com (Mike Stump)
- Date: Wed, 25 Nov 1998 13:34:41 -0800
I got:
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../egcs/libiberty/../include ../../egcs/libiberty/splay-tree.c -o pic/splay-tree.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../egcs/libiberty/../include ../../egcs/libiberty/splay-tree.c
../../egcs/libiberty/splay-tree.c:27: config.h: No such file or directory
When doing a make -j3 build after a make clean on Linux. When I did
an incremental build just after, it worked fine. This should fix it:
1998-11-25 Mike Stump <mrs@wrs.com>
* Makefile.in (splay-tree.o): Add config.h dependency.
Doing diffs in libiberty/Makefile.in.~1~:
*** libiberty/Makefile.in.~1~ Thu Nov 5 14:40:00 1998
--- libiberty/Makefile.in Wed Nov 25 13:31:39 1998
*************** objalloc.o: $(INCDIR)/objalloc.h
*** 237,243 ****
obstack.o: config.h $(INCDIR)/obstack.h
pexecute.o: config.h $(INCDIR)/libiberty.h
spaces.o: $(INCDIR)/libiberty.h
! splay-tree.o: $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h $(INCDIR)/ansidecl.h
strerror.o: config.h $(INCDIR)/libiberty.h
strsignal.o: config.h $(INCDIR)/libiberty.h
xatexit.o: $(INCDIR)/libiberty.h
--- 237,243 ----
obstack.o: config.h $(INCDIR)/obstack.h
pexecute.o: config.h $(INCDIR)/libiberty.h
spaces.o: $(INCDIR)/libiberty.h
! splay-tree.o: config.h $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h $(INCDIR)/ansidecl.h
strerror.o: config.h $(INCDIR)/libiberty.h
strsignal.o: config.h $(INCDIR)/libiberty.h
xatexit.o: $(INCDIR)/libiberty.h
--------------