I'm getting the following new bootstrap failure on both
sparc-sun-solaris2.10 and sparc64-sun-solaris2.10 when using cc for
stage1:

 > cc -xildoff -xarch=v9 -c   -g -DIN_GCC     -DHAVE_CONFIG_H
 >   -DGENERATOR_FILE -I. -Ibuild -I../../egcc-SVN20060124/gcc
 >   -I../../egcc-SVN20060124/gcc/build
 >   --I../../egcc-SVN20060124/gcc/../include -I./../intl
 >   --I../../egcc-SVN20060124/gcc/../libcpp/include
 >   --I/caip/u12/kishgcc/gcc-testing/_gmp64/include
 >   --I../../egcc-SVN20060124/gcc/../libdecnumber -I../libdecnumber -o
 >   -build/gencondmd.o build/gencondmd.c
 > "build/gencondmd.c", line 1943: warning: syntax error:  empty initializer
 > "build/gencondmd.c", line 1943: warning: null dimension: insn_conditions
 > "build/gencondmd.c", line 1951: warning: null dimension: sizeof()
 > cc -xildoff -xarch=v9 -g -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE -o
 >     build/gencondmd \ build/gencondmd.o
 >     ../build-sparc64-sun-solaris2.10/libiberty/libiberty.a
 > Undefined                       first referenced
 >  symbol                             in file
 > vec_heap_p_reserve                  build/gencondmd.o
 > bitmap_zero_bits                    build/gencondmd.o
 > vec_gc_p_reserve                    build/gencondmd.o
 > vec_gc_o_reserve                    build/gencondmd.o
 > ggc_free                            build/gencondmd.o
 > fancy_abort                         build/gencondmd.o
 > ld: fatal: Symbol referencing errors. No output written to build/gencondmd

At least some of this (e.g. bitmap_zero_bits) is due to uses in static
inline functions where "inline" gets defined to nothing for !GCC and
therefore the function is not eliminated.  I made some progress by
linking with:

        build/vec.o build/ggc-none.o $(BUILD_ERRORS)

however I still had a reference to bitmap_zero_bits and I don't see
that a "build" copy of bitmap.o is ever built.  I don't like this
solution anyway because it isn't supposedly necessary to link in the
extra objects during stage2 where we have GCC and inline gets turned
on again.

I'm also not feeling comfy given the warnings about null dimensions
above.

                --Kaveh
--
Kaveh R. Ghazi                  [EMAIL PROTECTED]

Reply via email to