bootstrap/7093: ICE building libgcc during boostrap

sdouglass@arm.com sdouglass@arm.com
Fri Jun 21 04:46:00 GMT 2002


>Number:         7093
>Category:       bootstrap
>Synopsis:       ICE building libgcc during boostrap
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 21 01:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     sdouglass@arm.com
>Release:        3.1
>Organization:
>Environment:
HP-UX 11.00
using gcc 3.0.4
binutils 2.12
make 3.79
>Description:
../../src-hpux_11-hppa2_0w/gcc/libgcc2.c:0: Internal compiler error in default_no_named_section, at varasm.c:5299
>How-To-Repeat:
This is the command that failed and it's make stack:

./xgcc -B./ -B/home/sdouglas/tools/GNU/gcc/3_1/hpux_11-hppa2_0w/hppa2.0w-hp-hpux11.00/bin/ -isystem /home/sdouglas/tools/GNU/gcc/3_1/hpux_11-hppa2_0w/hppa2.0w-hp-hpux11.00/include -isystem /home/sdouglas/tools/GNU/gcc/3_1/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
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/tmp_mnt/home/sdouglas/gnu/builds/gcc-3.1/build-hpux_11-hppa2_0w/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/tmp_mnt/home/sdouglas/gnu/builds/gcc-3.1/build-hpux_11-hppa2_0w/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/tmp_mnt/home/sdouglas/gnu/builds/gcc-3.1/build-hpux_11-hppa2_0w/gcc'
make: *** [bootstrap-lean] Error 2

Here's my configure command:

../src-hpux_11-hppa2_0w/configure --prefix=/home/sdouglas/tools/GNU/gcc/3_1 --exec-prefix=/home/sdouglas/tools/GNU/gcc/3_1/hpux_11-hppa2_0w --program-suffix=-3_1 -v --with-dwarf2 --enable-version-specific-runtime-libs --with-gnu-as --with-as=/home/sdouglas/tools/GNU/binutils/2_12/hpux_11-hppa2_0w/bin/as-2_12 --with-gnu-ld --with-ld=/home/sdouglas/tools/GNU/binutils/2_12/hpux_11-hppa2_0w/bin/ld-2_12

I don't think the --with-dwarf2 is required for the problem to show.

Here's my make command:

make STAGE1_CFLAGS='-Dinline= -O2' BOOT_CFLAGS='-O2 -march=2.0' MAKE=make bootstrap-lean

I don't think the *_FLAGS= settings is important.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list