Internal compiler error in `schedule_insns', at haifa-sched.c:7024

Alexander Klimov ask@ispras.ru
Tue Apr 18 04:30:00 GMT 2000


Hi.

uname -a:
SunOS dionysus 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-5_10

I am tried to build egcs 20000410 with gcc (version 2.95.1 19990816
(release)), I had troubles with binutils: them did not recognize
elf64-sparc ==> nm failed with "unrecognized object format". So I
export PATH=/usr/ccs/bin:$PATH and try

../egcs-20000410/configure --prefix=/space/work/gcc-0410
--enable-shared && make CFLAGS='-O2' LIBCFLAGS='-g -O2'
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap

on the final stage of making I got:
if [ x"yes" = xyes ]; then \
  /space/work/build/egcs-20000410-build/gcc/g++
-B/space/work/build/egcs-20000410-build/gcc/
-B/space/work/gcc-0410/sparc-sun-solaris2.7/bin/ -c -g -O2
-fno-implicit-templates -I../../../egcs-20000410/libstdc++
-I../../../egcs-20000410/libstdc++/stl -I../libio
-I../../../egcs-20000410/libstdc++/../libio -nostdinc++  `case "-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  DIVCF 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-20000410/libstdc++/cinst.cc -o pic/fcomplex.o; \
else true ; fi
../../../egcs-20000410/libstdc++/std/ldcomplex.h: In function `_FLT 
abs (const complex<_FLT> &) [with
../../../egcs-20000410/libstdc++/std/ldcomplex.h: _FLT = f]':
../../../egcs-20000410/libstdc++/std/ldcomplex.h:74: Internal
compiler error in `schedule_insns', at
../../../egcs-20000410/libstdc++/std/ldcomplex.h:74: haifa-sched.c:7024
../../../egcs-20000410/libstdc++/std/ldcomplex.h:74: Please submit
a full bug report.
../../../egcs-20000410/libstdc++/std/ldcomplex.h:74: See
../../../egcs-20000410/libstdc++/std/ldcomplex.h:74: <URL: http://www.gnu.org/software/gcc/bugs.html >
../../../egcs-20000410/libstdc++/std/ldcomplex.h:74: for
instructions.
***
Error code 1 make: Fatal error: Command failed for target
`bigstmp-complx'
Current working directory
/space/work/build/egcs-20000410-build/sparc-sun-solaris2.7/libstdc++
*** Error code 1
make: Fatal error: Command failed for target `all-target-libstdc++'
Current working directory /space/work/build/egcs-20000410-build
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

I cd to

/space/work/build/egcs-20000410-build/sparc-sun-solaris2.7/libstdc++

and run:

space/work/build/egcs-20000410-build/gcc/g++ -v -save-temps
-B/space/work/build/egcs-20000410-build/gcc/
-B/space/work/gcc-0410/sparc-sun-solaris2.7/bin/ -c -g -O2
-fno-implicit-templates -I../../../egcs-20000410/libstdc++
-I../../../egcs-20000410/libstdc++/stl -I../libio
-I../../../egcs-20000410/libstdc++/../libio -nostdinc++  -fPIC -DF
-DMAIN -DADDCC -DADDCF -DADDFC -DSUBCC -DSUBCF -DSUBFC -DMULCC -DMULCF
-DMULFC -DDIVCC -DDIVCF -DDIVFC -DPLUS -DMINUS -DEQCC -DEQCF -DEQFC
-DNECC -DNECF -DNEFC -DABS -DARG -DPOLAR -DCONJ -DNORM -DCOS -DCOSH
-DEXP -DLOG -DPOWCC -DPOWCF -DPOWCI -DPOWFC -DSIN -DSINH -DSQRT
../../../egcs-20000410/libstdc++/cinst.cc -o pic/fcomplex.o
2>failed.log

It fails the same way (failed.log). cinst.ii file is in the attachment
also.

Regards,
ASK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cinst.ii.gz
Type: application/x-gzip
Size: 10679 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000418/5955781b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failed.log
Type: text/x-c
Size: 2978 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000418/5955781b/attachment-0001.bin>


More information about the Gcc-bugs mailing list