bootstrap/7093: ICE building libgcc during boostrap

scott douglass sdouglass@arm.com
Thu May 8 12:16:00 GMT 2003


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.



More information about the Gcc-bugs mailing list