I just tried to bootstrap current cvs gcc trunk under cygwin on a dual
cpu windows box...
LAST_UPDATED: Mon Aug 29 09:44:58 UTC 2005
it barfs like this:
gawk -f ../../gcc/gcc/opt-functions.awk -f ../../gcc/gcc/optc-gen.awk \
-v header_name="config.h system.h coretypes.h tm.h" <
optionlist > options.c
gcc -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
../../gcc/gcc/pointer-set.c -o pointer-set.o
gcc -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
../../gcc/gcc/alloc-pool.c -o alloc-pool.o
gcc -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include \
../../gcc/gcc/config/i386/host-cygwin.c
In file included from ../../gcc/gcc/hooks.h:25,
from ../../gcc/gcc/hosthooks-def.h:24,
from ../../gcc/gcc/config/i386/host-cygwin.c:26:
../../gcc/gcc/machmode.h:26:24: insn-modes.h: No such file or directory
In file included from ../../gcc/gcc/hooks.h:25,
from ../../gcc/gcc/hosthooks-def.h:24,
from ../../gcc/gcc/config/i386/host-cygwin.c:26:
../../gcc/gcc/machmode.h:30: error: `NUM_MACHINE_MODES' undeclared
here (not in a function)
In file included from ../../gcc/gcc/hooks.h:25,
from ../../gcc/gcc/hosthooks-def.h:24,
from ../../gcc/gcc/config/i386/host-cygwin.c:26:
../../gcc/gcc/machmode.h:81: error: syntax error before "unsigned"
../../gcc/gcc/machmode.h:136: warning: parameter has incomplete type
../../gcc/gcc/machmode.h:141: warning: parameter has incomplete type
../../gcc/gcc/machmode.h:145: error: syntax error before "unsigned"
../../gcc/gcc/machmode.h:147: warning: parameter has incomplete type
In file included from ../../gcc/gcc/hosthooks-def.h:24,
from ../../gcc/gcc/config/i386/host-cygwin.c:26:
../../gcc/gcc/hooks.h:30: warning: parameter has incomplete type
../../gcc/gcc/machmode.h:81: error: storage size of `mode_size' isn't known
../../gcc/gcc/machmode.h:145: error: storage size of `mode_base_align'
isn't known
make[2]: *** [host-cygwin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm gcjh.pod gcj-dbtool.pod jcf-dump.pod grmiregistry.pod
fsf-funding.pod jv-convert.pod grmic.pod gcov.pod gcj.pod gfdl.pod
jv-scan.pod cpp.pod gjnih.pod gij.pod gpl.pod gfortran.pod gcc.pod
make[2]: Leaving directory `/usr/local/src/trunk/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/local/src/trunk/objdir/gcc'
make: *** [bootstrap] Error 2
however, If I continue with a single job make, it carries on...
Do you guys see a trivial fix for this?
--
Cheers,
/ChJ