gmp 4.1.2 won't compile with gcc 3.3.1 on sparc

Carlos Villegas villegas at math.gatech.edu
Fri Nov 7 12:28:43 CET 2003


Hi,

I saw a similar report by someone else on the archive, but he said
that 4.2.1 worked for him. It doesn't for me, at first, my search on
the web for this problem seemed to indicate a bug in gcc, but they 
have confirmed that the problem is on an asm file in gmp.

I'm compiling like so:

./configure --prefix /usr/local/encap/gmp-4.1.2 --enable-cxx
make

The errors are:
(a lot of similar messages removed):
tmp-add_n.s:168: Error: Architecture mismatch on "ldx".
tmp-add_n.s:168:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:171: Error: Architecture mismatch on "srlx".
tmp-add_n.s:171:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:173: Error: Architecture mismatch on "stx".
tmp-add_n.s:173:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:178: Error: Architecture mismatch on "bge,pt %icc,.Loop".
tmp-add_n.s:178:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:185: Error: Architecture mismatch on "srlx".
tmp-add_n.s:185:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:187: Error: Architecture mismatch on "stx".
tmp-add_n.s:187:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:193: Error: Architecture mismatch on "srlx".
tmp-add_n.s:193:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:195: Error: Architecture mismatch on "stx".
tmp-add_n.s:195:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:202: Error: Architecture mismatch on "srlx".
tmp-add_n.s:202:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:204: Error: Architecture mismatch on "stx".
tmp-add_n.s:204:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:210: Error: Architecture mismatch on "srlx".
tmp-add_n.s:210:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:211: Error: Architecture mismatch on "stx".
tmp-add_n.s:211:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:214: Error: Architecture mismatch on "bz,pn %icc,.Lret".
tmp-add_n.s:214:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:217: Error: Architecture mismatch on "ldx".
tmp-add_n.s:217:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:219: Error: Architecture mismatch on "ldx".
tmp-add_n.s:219:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:228: Error: Architecture mismatch on "stx".
tmp-add_n.s:228:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:230: Error: Architecture mismatch on "bnz,pt %icc,.Loop0".
tmp-add_n.s:230:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:231: Error: Architecture mismatch on "srlx".
tmp-add_n.s:231:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
*** Error code 1
make: Fatal error: Command failed for target `add_n.lo'
Current working directory /tmp/src/gmp/gmp-4.1.2/mpn
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tmp/src/gmp/gmp-4.1.2
*** Error code 1
make: Fatal error: Command failed for target `all'

According to the gcc guys the problem file is: tmp-add_n.s

This is for sparc-sun-solaris2.9.

Carlos
 


More information about the gmp-bugs mailing list