Bootstrap failures on sparc/x86 solaris2.10 machines

Art Haas ahaas@impactweather.com
Mon Oct 11 16:07:00 GMT 2010


Hi.

No luck with this mornings builds on both x86 and sparc.

My last successful i386-pc-solaris2.10 build was several weeks ago; all
the build attempts fail at this assertion in the function/file below:

/home/ahaas/gnu/gcc.git/gcc/lto/lto-lang.c: In function 'lto_type_for_mode':
/home/ahaas/gnu/gcc.git/gcc/lto/lto-lang.c:951:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1881
Please submit a full bug report,
with preprocessed source if appropriate.

The assertion from the code:

      gcc_assert (REGNO (XEXP (src, 0)) == cfa.reg);


Here's my configuration from the last successful build:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/i386-pc-solaris2.10/4.6.0/lto-wrapper
Target: i386-pc-solaris2.10
Configured with: /home/ahaas/gnu/gcc.git/configure --prefix=/export/home/arth/local --enable-languages=c,c++,objc,fortran --disable-nls --with-gmp=/export/home/arth/local --with-mpfr=/export/home/arth/local --enable-checking=release --enable-threads=posix --with-gnu-as --with-as=/export/home/arth/local/bin/as --with-gnu-ld --with-ld=/export/home/arth/local/bin/ld --enable-libstdcxx-pch=no --enable-objc-gc --build=i386-pc-solaris2.10
Thread model: posix
gcc version 4.6.0 20100922 (experimental) (GCC)

The sparc-sun-solaris2.10 builds have worked for me up to last week; my
build attempt this morning fails like so:

/export/home/arth/src/gcc-1011/./gcc/xgcc -B/export/home/arth/src/gcc-1011/./gcc/ -B/export/home/arth/local/sparc-sun-solaris2.10/bin/ -B/export/home/arth/local/sparc-sun-solaris2.10/lib/ -isystem /export/home/arth/local/sparc-sun-solaris2.10/include -isystem /export/home/arth/local/sparc-sun-solaris2.10/sys-include    -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I/export/home/arth/src/gcc-1011/sparc-sun-solaris2.10/sparcv9/libgcc -I/export/home/arth/src/gcc.git/gcc -I/export/home/arth/src/gcc.git/gcc//export/home/arth/src/gcc-1011/sparc-sun-solaris2.10/sparcv9/libgcc -I/export/home/arth/src/gcc.git/gcc/../include -I/export/home/arth/src/gcc.git/gcc/../libcpp/include -I/export/home/arth/local/include -I/export/home/arth/local/include -I/export/home/arth/local/include  -I/export/home/arth/src/gcc.git/gcc/../libdecnumber -I/export/home/arth/src/gcc.git/gcc/../libdecnumber/dpd -!
 I../libdecnumber   -I/usr/include/libelf -g -O2 -m64 \
	-c /export/home/arth/src/gcc.git/gcc/config/sparc/gmon-sol2.c -o /export/home/arth/src/gcc-1011/sparc-sun-solaris2.10/sparcv9/libgcc/gmon.o
In file included from ./tm.h:14:0,
                 from /export/home/arth/src/gcc.git/gcc/config/sparc/gmon-sol2.c:39:
/export/home/arth/src/gcc.git/gcc/flags.h:74:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'should_emit_struct_debug'
/export/home/arth/src/gcc.git/gcc/flags.h:79:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'use_gnu_debug_info_extensions'
/export/home/arth/src/gcc.git/gcc/flags.h:116:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_lto_p'
/export/home/arth/src/gcc.git/gcc/flags.h:135:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'warn_larger_than'
/export/home/arth/src/gcc.git/gcc/flags.h:136:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'larger_than_size'
/export/home/arth/src/gcc.git/gcc/flags.h:141:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'warn_frame_larger_than'
/export/home/arth/src/gcc.git/gcc/flags.h:142:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'frame_larger_than_size'
/export/home/arth/src/gcc.git/gcc/flags.h:161:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'final_insns_dump_p'
/export/home/arth/src/gcc.git/gcc/flags.h:303:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'flag_instrument_functions_exclude_p'
In file included from /export/home/arth/src/gcc.git/gcc/flags.h:361:0,
                 from ./tm.h:14,
                 from /export/home/arth/src/gcc.git/gcc/config/sparc/gmon-sol2.c:39:
./options.h:14:3: error: expected specifier-qualifier-list before 'bool'
gmake[6]: *** [/export/home/arth/src/gcc-1011/sparc-sun-solaris2.10/sparcv9/libgcc/gmon.o] Error 1
gmake[6]: Leaving directory `/export/home/arth/src/gcc-1011/gcc'
gmake[5]: *** [gcc-extra-parts] Error 2
gmake[5]: Leaving directory `/export/home/arth/src/gcc-1011/sparc-sun-solaris2.10/sparcv9/libgcc'
gmake[4]: *** [multi-do] Error 1
gmake[4]: Leaving directory `/export/home/arth/src/gcc-1011/sparc-sun-solaris2.10/libgcc'
gmake[3]: *** [all-multi] Error 2
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory `/export/home/arth/src/gcc-1011/sparc-sun-solaris2.10/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/export/home/arth/src/gcc-1011'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/export/home/arth/src/gcc-1011'
gmake: *** [bootstrap-lean] Error 2

The initial error occurs in 'flags.h' on line 74 at 'bool':

extern bool should_emit_struct_debug (tree type_decl, enum debug_info_usage);

The other errors all occur at 'bool' lines as well.

Here's the configuration from my successful build last Thursday:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/sparc-sun-solaris2.10/4.6.0/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: /export/home/arth/src/gcc.git/configure --prefix=/export/home/arth/local --enable-languages=c,c++,objc --disable-nls --with-gmp=/export/home/arth/local --with-mpfr=/export/home/arth/local --with-mpc=/export/home/arth/local --enable-checking=release --enable-threads --with-gnu-as --with-as=/export/home/arth/local/bin/as --with-gnu-ld --with-ld=/export/home/arth/local/bin/ld --enable-libstdcxx-pch=no --with-cpu=ultrasparc3 --with-tune=ultrasparc3
Thread model: posix
gcc version 4.6.0 20101007 (experimental) (GCC)

Thanks.

Art Haas



More information about the Gcc mailing list