This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
3.0: Parallel build problem and suggested fix.
- To: gcc-bugs at gcc dot gnu dot org
- Subject: 3.0: Parallel build problem and suggested fix.
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Thu, 17 May 2001 20:42:29 -0500 (EST)
- Cc: lucier at math dot purdue dot edu (Brad Lucier)
I'd have used GNATS if I could have connected to gcc.gnu.org.
On sparc-sun-solaris2.8, with ../configure and make -j 8 bootstrap,
on today's CVS sources, the bootstrap failed with:
gcc -DIN_GCC -DSVR4 -O2 -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype
s -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../
gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include \
-c alloca.c
case "c " in \
*[fF]77*) echo timestamp > lang-f77;; \
*) rm -f lang-f77;; \
esac
mv tmp-xlimits.h xlimits.h
alloca.c:25:20: config.h: No such file or directory
alloca.c:506: warning: ISO C forbids an empty source file
make[2]: *** [alloca.o] Error 1
make[2]: *** Waiting for unfinished jobs....
I think the analysis is that on this configuration, gcc uses the alloca in
../libiberty, which now includes config.h, so at least one of the alloca.o
targets in gcc/Makefile.in needs a dependency on *CONFIG*. Someone once
explained to me which *CONFIG* dependency to use in which case, but I
don't remember enough about it to suggest a fix. Sorry.
Brad Lucier