This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Sparc Solaris 2.6 bootstrap of CVS sources failing


This error is still present in egcs 2.93.04 if you are bootstraping with
the -mcpu=ultrasparc flag.  Just check the preprocessed file I am sending
with a prebuilt compiler adding the -mcpu=ultrasparc flag.

On Fri, 20 Nov 1998, Brian Ford wrote:

> I have been trying to bootstrap a compiler from the current CVS sources on
> Sparc Solaris 2.6 for almost three weeks now and it repeatedly dies with
> the following assembler error while compiling in libstdc++.  The assembler
> in question is gas from binutils-2.9.1 and was compiled with the same
> configure line as I used for configuring egcs.  Any Ideas?
> 
> cinst.s: Assembler messages:
> cinst.s:3303: Error: Illegal operands
> 
> Configure line:
> ../egcs-src/configure --verbose --prefix=/usr/people/ford/local
> --enable-version-specific-runtime-libs --enable-haifa --with-gnu-as
> --with-gnu-ld --enable-threads=solaris --with-cpu=ultrasparc
> 
> Debug version of command line issued from make bootstrap:
> /usr/people/ford/compilers/egcs-sun/gcc/xgcc -v --save-temps
> -B/usr/people/ford/compilers/egcs-sun/gcc/
> -B/usr/people/ford/local/sparc-sun-solaris2.6/bin/ -c -g -O2
> -fno-implicit-templates -I../../../egcs-src/libstdc++
> -I../../../egcs-src/libstdc++/stl -I../libio
> -I../../../egcs-src/libstdc++/../libio -nostdinc++ -DD `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-src/libstdc++/cinst.cc -o dcomplex.o
> 
> Command output:
> Reading specs from /usr/people/ford/compilers/egcs-sun/gcc/specs
> gcc version egcs-2.92.21 19981120 (gcc2 ss-980609 experimental)
>  /usr/people/ford/compilers/egcs-sun/gcc/cpp -lang-c++ -nostdinc++ -v -I../../../egcs-src/libstdc++ -I../../../egcs-src/libstdc++/stl -I../libio -I../../../egcs-src/libstdc++/../libio -isystem /usr/people/ford/local/sparc-sun-solaris2.6/bin/include -isystem /usr/people/ford/compilers/egcs-sun/gcc/include -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=92 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -D__OPTIMIZE__ -g -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) -DD -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-src/libstdc++/cinst.cc cinst.ii
> GNU CPP version egcs-2.92.21 19981120 (gcc2 ss-980609 experimental) (sparc)
> #include "..." search starts here:
> #include <...> search starts here:
>  ../../../egcs-src/libstdc++
>  ../../../egcs-src/libstdc++/stl
>  ../libio
>  ../../../egcs-src/libstdc++/../libio
>  /usr/people/ford/compilers/egcs-sun/gcc/include
>  /usr/local/include
>  /usr/include
> End of search list.
>  /usr/people/ford/compilers/egcs-sun/gcc/cc1plus cinst.ii -quiet -dumpbase cinst.cc -g -O2 -version -fno-implicit-templates -o cinst.s
> GNU C++ version egcs-2.92.21 19981120 (gcc2 ss-980609 experimental) (sparc-sun-solaris2.6) compiled by GNU C version egcs-2.92.21 19981120 (gcc2 ss-980609 experimental).
>  /usr/people/ford/local/sparc-sun-solaris2.6/bin/as -V -Qy -s -xarch=v8plusa -o dcomplex.o cinst.s
> GNU assembler version 2.9.1 (sparc-sun-solaris2.6), using BFD version 2.9.1
> cinst.s: Assembler messages:
> cinst.s:3303: Error: Illegal operands
> 
> Offending .s file is attached. 
> 
> --
> Brian Ford
> Software Engineer
> Vital Visual Simulation Systems
> FlightSafety International
> Phone: 314-551-8460
> Fax:   314-551-8444
> 

--
Brian Ford
Software Engineer
Vital Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

cinst.ii.gz

cinst.s.gz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]