This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
64 bit sparc solaris and gmp 4.0.1
- From: Teemu Torma <tot at trema dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 17 May 2002 14:39:44 +0200
- Subject: 64 bit sparc solaris and gmp 4.0.1
- Organization: Trema Group
I am trying to compile gmp 4.0.1 with gcc 3.1 using 64 bit sparc solaris 2.7.
It compiles mostly just fine, and I have compiled other 64 bit binaries
successfully.
For some reason when compiling mpn/divrem_1.c, assembler does not like the gcc
output:
/usr/gnu/gcc31/lib/gcc-lib/sparc-sun-solaris2.7/3.1/../../../../sparc-sun-solaris2.7/bin/as
--gstabs -V -Qy -s -K PIC -64 -Av9a -o .libs/divrem_1.o divrem_1.s
GNU assembler version 2.12.1 (sparc-sun-solaris2.7) using BFD version 2.12.1
divrem_1.s: Assembler messages:
divrem_1.s:400: Error: Illegal operands
divrem_1.s:401: Error: Illegal operands
divrem_1.s:1001: Error: Illegal operands
divrem_1.s:1002: Error: Illegal operands
The offending lines look in both cases like (except register names):
subcc 0,%i1,%i4
subccc 0,%i0,%g0
I don't know sparc assembler enough to tell if this is a gcc or gas problem.
Any ideas?
Teemu