Make bootstrap for gcc-2.95.2 fails at stage3 for VAX Ultrix 4.3
John David Anglin
dave@hiauly1.hia.nrc.ca
Thu Apr 6 13:21:00 GMT 2000
The following ICE occurs at the start of stage3:
stage2/xgcc -Bstage2/ -B/usr/local/vax-dec-ultrix4.3/bin/ -DIN_GCC -O2 -g -O3 -W -Wall -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/config -I../../gcc/../include \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/vax-dec-ultrix4.3/2.95.2/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/vax-dec-ultrix4.3/2.95.2/../../../..`echo /usr/local | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-3\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/vax-dec-ultrix4.3/2.95.2/../../../../vax-dec-ultrix4.3/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/vax-dec-ultrix4.3/2.95.2/../../../../vax-dec-ultrix4.3/include\" \
-c `echo ../../gcc/cccp.c | sed 's,^\./,,'`
../../gcc/cccp.c: In function `main':
../../gcc/cccp.c:2098: warning: comparison between signed and unsigned
xgcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [cccp.o] Error 1
make[2]: Leaving directory `/usr/local/src/gnu/gcc-2.95.2/objdir/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/usr/local/src/gnu/gcc-2.95.2/objdir/gcc'
make: *** [bootstrap-lean] Error 2
The following patch from the main branch is installed:
Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
* calls.c (emit_call_1): Use call_pop/call_value_pop for all values
of n_popped when call/call_value are not defined.
The segmentation fault occurs in reload_cse_noop_set_p (set, insn). The
regno for the source of the set (sreg) is 768. This is either a garbage
value or a pseudo. The rtx x computed from reg_values[sreg] is garbage
and causes the fault.
The actual fault likely happened somewhere else since I don't think there
are supposed to be any psuedo's around at this point. Should there be
a test in reload_cse_noop_set_p for pseudo's?
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-bugs
mailing list