This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/7093: ICE building libgcc during boostrap
- From: scott douglass <sdouglass at arm dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 8 May 2003 12:16:00 -0000
- Subject: Re: bootstrap/7093: ICE building libgcc during boostrap
- Reply-to: scott douglass <sdouglass at arm dot com>
The following reply was made to PR bootstrap/7093; it has been noted by GNATS.
From: scott douglass <sdouglass@arm.com>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
gcc-prs@gcc.gnu.org, dhazeghi@yahoo.com, giovannibajo@libero.it
Cc:
Subject: Re: bootstrap/7093: ICE building libgcc during boostrap
Date: Thu, 08 May 2003 13:15:09 +0100
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7093
Dara Hazeghi <dhazeghi@yahoo.com> wrote:
> could the submitter of this bug please enclose the preprocessed source
> that is crashing the compiler build, or test to see whether this bug
> occurs in a more current version (ie 3.2.3). We have number of reports
> of successful builds on hppa2.0w-hp-hpux11.00, so it seems likely that
> the bug has been fixed.
I have retried with 3.2.3 and I still get the same result.
[...]
./xgcc -B./ -B/home/sdouglas/tools/GNU/gcc/3_2_3/hpux_11-hppa2_0w/hppa2.0w-hp-hpux11.00/bin/ -isystem /home/sdouglas/tools/GNU/gcc/3_2_3/hpux_11-hppa2_0w/hppa2.0w-hp-hpux11.00/include -isystem /home/sdouglas/tools/GNU/gcc/3_2_3/hpux_11-hppa2_0w/hppa2.0w-hp-hpux11.00/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../src-hpux_11-hppa2_0w/gcc -I../../src-hpux_11-hppa2_0w/gcc/. -I.. /../src-hpux_11-hppa2_0w/gcc/config -I../../src-hpux_11-hppa2_0w/gcc/../include -DL_muldi3 -c ../../src-hpux_11-hppa2_0w/gcc/libgcc2.c -o libgcc/./_muldi3.o
../../src-hpux_11-hppa2_0w/gcc/libgcc2.c:0: Internal compiler error in default_no_named_section, at varasm.c:5305
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/tmp_mnt/home/sdouglas/gnu/builds/gcc-3.2.3/build-hpux_11-hppa2_0w/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/tmp_mnt/home/sdouglas/gnu/builds/gcc-3.2.3/build-hpux_11-hppa2_0w/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/tmp_mnt/home/sdouglas/gnu/builds/gcc-3.2.3/build-hpux_11-hppa2_0w/gcc'
make: *** [bootstrap-lean] Error 2
Contrary to my original guess in this PR, I now believe that configuring using '--with-dwarf2' *is* required to provoke the problem.
Here's my configure command:
../src-hpux_11-hppa2_0w/configure \
--prefix=/home/sdouglas/tools/GNU/gcc/3_2_3 \
--exec-prefix=/home/sdouglas/tools/GNU/gcc/3_2_3/hpux_11-hppa2_0w \
--program-suffix=-3_2_3 \
-v --with-dwarf2 --enable-version-specific-runtime-libs --with-gnu-as --with-as=/home/sdouglas/tools/GNU/binutils/2_13_2_1/hpux_11-hppa2_0w/bin/as-2_13_2_1
Here's my make command:
make STAGE1_CFLAGS=-O2 BOOT_CFLAGS=-O2 MAKE=make bootstrap-lean
I can supply pre-processed source -- but the problem may well require that the xgcc has been built with --with-dwarf2. Let me know if you'd like pre-processed source and where to send it to.