gcc-ss-20000410 ICE building libstdc++ on Solaris

Joe Buck jbuck@possibly.synopsys.com
Tue Apr 11 17:42:00 GMT 2000


I didn't get a successful install of 2000-04-10.

g++ crashes in Haifa.  This is for sparc-sun-solaris2.5.1 with
--enable-shared.  The compiler bootstraps OK, then fails when trying
to build libstdc++.

The crash is at the following abort:

---------------------------------------------
	/* In the single block case, the count of registers that died should
	   not have changed during the schedule.  */
	if (count_or_remove_death_notes (blocks, 0) != deaths_in_region[rgn])
          abort (); 
---------------------------------------------
>From the output:

echo fcomplex
fcomplex
if [ x"yes" = xyes ]; then \
  /remote/dtg103/jbuck/gnu/src/cvs/egcs-sol2/gcc/g++ -B/remote/dtg103/jbuck/gnu/
src/cvs/egcs-sol2/gcc/ -B/u/jbuck/gcc-snap.sol2/sparc-sun-solaris2.5.1/bin/ -c -
g -O2 -fno-implicit-templates -I../../../egcs/libstdc++ -I../../../egcs/libstdc+
+/stl -I../libio -I../../../egcs/libstdc++/../libio -nostdinc++  `case "-g -O2 -
g -O2 -fno-implicit-templates" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac
` -DF \
    `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC D
IVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS 
COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}"; done` \
    ../../../egcs/libstdc++/cinst.cc -o pic/fcomplex.o; \
else true ; fi
../../../egcs/libstdc++/std/ldcomplex.h: In function `_FLT abs (const complex<_F
LT> &) [with _FLT =
../../../egcs/libstdc++/std/ldcomplex.h: f]':
../../../egcs/libstdc++/std/ldcomplex.h:74: Internal compiler error in `schedule
_insns', at
../../../egcs/libstdc++/std/ldcomplex.h:74: haifa-sched.c:7024
../../../egcs/libstdc++/std/ldcomplex.h:74: Please submit a full bug report.

:


More information about the Gcc mailing list