Trouble building gcl on sparc64 (Ultra 10) and solaris2.8
Subject: Trouble building gcl on sparc64 (Ultra 10) and solaris2.8
From: Kevin Cosgrove
Date: Wed, 10 Oct 2001 15:42:20 -0700
Hi,
Can anyone out there give me some pointers on building gcl &
maxima on a sparc64 (Ultra 10) and solaris2.8 machine?
I used "sparc-sun-solaris2" as an argument to configure.
Later on in my make log I see that a sub-configure decides
that
checking host system type... sparcv9-sun-solaris2.8
checking target system type... sparcv9-sun-solaris2.8
checking build system type... sparcv9-sun-solaris2.8
Then later the gmp/mpn stuff symlinks like so
linking ./mpn/sparc32/add_n.asm to mpn/add_n.asm
linking ./mpn/sparc32/sub_n.asm to mpn/sub_n.asm
linking ./mpn/sparc32/v9/mul_1.asm to mpn/mul_1.asm
linking ./mpn/sparc32/v9/addmul_1.asm to mpn/addmul_1.asm
linking ./mpn/sparc32/v9/submul_1.asm to mpn/submul_1.asm
linking ./mpn/sparc32/lshift.asm to mpn/lshift.asm
linking ./mpn/sparc32/rshift.asm to mpn/rshift.asm
[lots of generic linking left out here]
Then when the compiling starts, it doesn't get very far at
all before blowing up like this
m4 -DPIC -DOPERATION_mul_1 mul_1.asm >tmp-mul_1.s
/bin/sh ../libtool --mode=compile /tools/gcc/bin/gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mul_1 -g -O2 tmp-mul_1.s -o mul_1.lo
rm -f .libs/mul_1.lo
/tools/gcc/bin/gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mul_1 -g -O2
tmp-mul_1.s -fPIC -DPIC -o .libs/mul_1.lo
tmp-mul_1.s: Assembler messages:
tmp-mul_1.s:50: Error: Architecture mismatch on "rd".
tmp-mul_1.s:50: (Requires v9|v9a; requested architecture is sparclite.)
tmp-mul_1.s:57: Error: Architecture mismatch on "fxtod".
tmp-mul_1.s:57: (Requires v9|v9a; requested architecture is sparclite.)
tmp-mul_1.s:62: Error: Architecture mismatch on "fxtod".
[ad nauseum]
I'd like to get this to compile, either by being smart
somehow (that where you come in!), or by tricking configure
into building a compatible system.
Can you help me out here please?
Oh yeah, I'm trying to do this with gcc version 2.9.
Thanks much....