This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Failure to bootstrap gcc cvs HEAD 20031128 on sparc-linux: ICE in stage1/xgcc (gnat1): ada/sem_type.adb
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Christian Joensson <christian at j-son dot org>
- Cc: gcc <gcc at gcc dot gnu dot org>,Arnaud Charlet <charlet at act-europe dot fr>
- Date: Sat, 29 Nov 2003 13:18:44 +0100
- Subject: Re: Failure to bootstrap gcc cvs HEAD 20031128 on sparc-linux: ICE in stage1/xgcc (gnat1): ada/sem_type.adb
- References: <20031128120646.A11977@sparky.j-son.org>
> /usr/local/src/trunk/gcc/gcc/ada/sem_type.adb -o ada/sem_type.o xgcc:
> Internal error: Illegal instruction (program gnat1)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I can't reproduce on sparc-sun-solaris2.* (20031129 + fix for PR 7847) with
GCC 3.3.2 as the bootstrap compiler: a full bootstrap completed with all
languages enabled.
It's another story on sparc64-sun-solaris2.*: the stage1 compiler segfaults
as soon as it is fed with an Ada file:
stage1/xgcc -Bstage1/ -B/opt/build/eric/gcc34/sparc64-sun-solaris2.9/bin/
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror
-fno-common -DHAVE_CONFIG_H gcov-dump.o version.o
../libiberty/libiberty.a ../intl/libintl.a -o gcov-dump
stage1/xgcc -Bstage1/ -B/opt/build/eric/gcc34/sparc64-sun-solaris2.9/bin/ -c
-g -O2 -gnatpg -gnata -I- -I. -Iada -I../src/gcc/ada
../src/gcc/ada/ada.ads -o ada/ada.o
xgcc: Internal error: Segmentation Fault (program gnat1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Arnaud, is it possible to bootstrap the Ada compiler for native 64-bit SPARC
with a 32-bit multilib-ed compiler (GCC 3.3.2 invoked with gcc -m64)?
--
Eric Botcazou