Subject: USE_NEW_TOOLCHAIN toolchain build not parallel-safe
To: None <tech-toolchain@netbsd.org>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: tech-toolchain
Date: 09/27/2001 14:18:05
This is a build of -current on a few-months-behind current system.
It used to be the case that
make build -j4
would run successfully to completion.
Now, if src/tools/toolchain needs to build, it blows up building
libgcc2.a. I have not attempted to investigate this yet..
Build log excerpt...
--- underscore.o ---
cc -c -DCROSS_COMPILE -DIN_GCC -O -DHAVE_CONFIG_H -I. -I/usr/src/tools/\
toolchain/../../gnu/dist/toolchain/gcc -I/usr/src/tools/toolchain/../../gnu/dis\
t/toolchain/gcc/config -I/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/\
../include underscore.c
--- libgcc2.a ---
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi\
3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _float\
disf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxf\
di _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_b\
cmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit\
_ctors _pure; do echo ${name}; /usr/obj/tools/toolchain.i386/toolchain/gcc\
/xgcc -B/usr/obj/tools/toolchain.i386/toolchain/gcc/ -nostdinc -B/usr/obj/tools\
/toolchain.i386/toolchain/i386--netbsdelf/newlib/ -isystem /usr/obj/tools/toolc\
hain.i386/toolchain/i386--netbsdelf/newlib/targ-include -isystem /usr/src/gnu/d\
ist/toolchain/newlib/libc/include -B/usr/tool/i386--netbsdelf/bin/ -B/usr/tool/\
i386--netbsdelf/lib/ -isystem /usr/tool/i386--netbsdelf/include -L/usr/obj/tool\
s/toolchain.i386/toolchain/ld -O2 -DCROSS_COMPILE -DIN_GCC -O -I./include \
-g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I/usr/src/tools/toolchain/../.\
./gnu/dist/toolchain/gcc -I/usr/src/tools/toolchain/../../gnu/dist/toolchain/gc\
c/config -I/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/../include -c \
-DL${name} /usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/libgcc2.c -o\
${name}.o; if [ $? -eq 0 ] ; then true; else exit 1; fi; /usr/obj/tools/tool\
chain.i386/toolchain/binutils/ar rc tmplibgcc2.a ${name}.o; rm -f ${name}.o; \
done
_muldi3
/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/libgcc2.c:41: stdlib.h: N\
o such file or directory
/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/libgcc2.c:42: unistd.h: N\
o such file or directory
--- c++filt ---
--- libgcc2.a ---
/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/libgcc2.c:48: stddef.h: N\
o such file or directory
--- c++filt ---
cc -o c++filt -DCROSS_COMPILE -DIN_GCC -O -DHAVE_CONFIG_H cxxmain.o unde\
rscore.o obstack.o ../libiberty/libiberty.a
--- libgcc2.a ---
*** Error code 1
--- cc1plus ---
--- errfn.o ---
cc -c -DCROSS_COMPILE -DIN_GCC -O -I. -I.. -I/usr/src/tools/toolchain/../\
../gnu/dist/toolchain/gcc/cp -I/usr/src/tools/toolchain/../../gnu/dist/toolchai\
n/gcc/cp/.. -I/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/cp/../confi\
g -I/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/cp/../../include /usr\
/src/tools/toolchain/../../gnu/dist/toolchain/gcc/cp/errfn.c
--- expr.o ---