The error message is:
cc -erroff -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/eric/cvs/gcc/gcc
-I/home/eric/cvs/gcc/gcc/build -I/home/eric/cvs/gcc/gcc/../include -I./../intl
-I/home/eric/cvs/gcc/gcc/../libcpp/include -I/opt/build/eric/local/include
-I/opt/build/eric/local/include \
-o build/insn-conditions.o insn-conditions.c
cc -erroff -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC
-DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genflags \
build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/min-insn-modes.o build/gensupport.o build/insn-conditions.o
build/print-rtl.o \
build/errors.o ../build-sparc-sun-solaris2.7/libiberty/libiberty.a
ild: (undefined symbol) bitmap_zero_bits -- referenced in the text segment of
build/insn-conditions.o
ild: (undefined symbol) vec_gc_p_reserve -- referenced in the text segment of
build/insn-conditions.o
ild: (undefined symbol) vec_gc_free -- referenced in the text segment of
build/insn-conditions.o
gmake[2]: *** [build/genflags] Error 5
gmake[2]: Leaving directory `/opt/build/eric/gcc/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/opt/build/eric/gcc/gcc'
gmake: *** [bootstrap] Error 2
This is reproducible with GCC as the bootstrap compiler if it is invoked with
-fkeep-inline-functions.
--
Summary: Sun CC cannot bootstrap GCC (static inline)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ebotcazou at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: *-*-solaris2.*
GCC host triplet: *-*-solaris2.*
GCC target triplet: *-*-solaris2.*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18058