This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on sparc-sun-solaris2.10
- From: Rainer Orth <ro at techfak dot uni-bielefeld dot de>
- To: Art Haas <ahaas at impactweather dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 05 Sep 2008 19:52:47 +0200
- Subject: Re: Bootstrap failure on sparc-sun-solaris2.10
- References: <1220630529.3727.5.camel@impdell3>
Art Haas <ahaas@impactweather.com> writes:
> My build attempts on sparc-sun-solaris2.10 haven't been working well
> since the IRA merge, but given the scope of that change and the fixes
> applied since the merge I'm certain the build will be in good shape
> soon.
>
> This morning's build attempt failed while compiling libgcc:
>
> /export/home/arth/src/gcc.git/libgcc/../gcc/libgcc2.c: In function
> '__moddi3':
> /export/home/arth/src/gcc.git/libgcc/../gcc/libgcc2.c:1125: internal
> compiler error: in choose_ready, at haifa-sched.c:2309
When I tried mainline bootstrap on sparc-sun-solaris2.11 as of 20080903
(rev 139939), I get a configure failure in stage2 libgcc:
checking for suffix of object files... configure: error: in `/vol/gccsrc/obj/gcc-4.4.0-20080903/11-gcc/sparc-sun-solaris2.11/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
and config.log reveals:
configure:2590: checking for suffix of object files
configure:2611: /vol/gccsrc/obj/gcc-4.4.0-20080903/11-gcc/./gcc/xgcc -B/vol/gccsrc/obj/gcc-4.4.0-20080903/11-gcc/./gcc/ -B/vol/gcc/sparc-sun-solaris2.11/bin/ -B/vol/gcc/sparc-sun-solaris2.11/lib/ -isystem /vol/gcc/sparc-sun-solaris2.11/include -isystem /vol/gcc/sparc-sun-solaris2.11/sys-include -c -g -O2 conftest.c >&5
conftest.c:12: internal compiler error: Bus Error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:2614: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2627: error: in `/vol/gccsrc/obj/gcc-4.4.0-20080903/11-gcc/sparc-sun-solaris2.11/libgcc':
configure:2629: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
Running cc1 -O2 conftest.i gives
Program received signal SIGSEGV, Segmentation fault.
grokdeclarator (declarator=0x8bf240, declspecs=0x8bf1e8, decl_context=NORMAL, initialized=1 '\001', width=0x0, decl_attrs=0xffbff454, deprecated_state=DEPRECATED_NORMAL) at /vol/gcc/src/gcc-dist/gcc/c-decl.c:4194
(gdb) where
#0 grokdeclarator (declarator=0x8bf240, declspecs=0x8bf1e8, decl_context=NORMAL, initialized=1 '\001', width=0x0, decl_attrs=0xffbff454, deprecated_state=DEPRECATED_NORMAL) at /vol/gcc/src/gcc-dist/gcc/c-decl.c:4194
#1 0x000b3340 in start_function (declspecs=0x8bf1e8, declarator=0x8bf240, attributes=0x0) at /vol/gcc/src/gcc-dist/gcc/c-decl.c:6096
#2 0x0010f964 in c_parser_declaration_or_fndef (parser=0xff01d720, fndef_ok=1 '\001', empty_ok=<value optimized out>, nested=0 '\0', start_attr_ok=<value optimized out>) at /vol/gcc/src/gcc-dist/gcc/c-parser.c:1278
#3 0x00114574 in c_parse_file () at /vol/gcc/src/gcc-dist/gcc/c-parser.c:979
#4 0x000f7470 in c_common_parse_file (set_yydebug=0) at /vol/gcc/src/gcc-dist/gcc/c-opts.c:1239
#5 0x003c40c0 in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at /vol/gcc/src/gcc-dist/gcc/toplev.c:968
#6 0x00097e54 in _start ()
Looks like a code generation bug to me. I'll try to start a reghunt asap.
Btw., i386-pc-solaris2.10 is also broken for me, this time while
configuring stage3 libgcc ;-( Same is true for alpha-dec-osf5.1b and
mips-sgi-irix6.5, so all four of my platforms got broken during the last
for weeks while I was on vacation.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University