5.1.2 assembler error on Solaris 10 with CC='cc -xtarget=opteron -xarch=amd64'
Daniel Richard G.
skunk at iSKUNK.ORG
Wed Oct 9 23:17:29 CEST 2013
On Wed, 2013 Oct 9 10:53+0200, Torbjorn Granlund wrote:
>
> Also, have you tried following Torbjörns suggestion to drop all
> extra flags, and just try configuring gmp with
>
> ./configure ABI=64
>
> I suggested a plain "configure".
The results are the same; it defaults to the 64-bit ABI.
If I configure with ABI=32, everything works fine until this error:
cc -D_STDC_C99= -c -DHAVE_CONFIG_H -I. -I/tmp/gmp-5.1.2/mpn -I.. -D__GMP_WITHIN_GMP -I/tmp/gmp-5.1.2 -DOPERATION_mod_1_1 -O tmp-mod_1_1.s -KPIC -DPIC -o .libs/mod_1_1.o
Assembler:
"tmp-mod_1_1.s", line 173 : Illegal mnemonic
"tmp-mod_1_1.s", line 173 : Syntax error
"tmp-mod_1_1.s", line 187 : Illegal mnemonic
"tmp-mod_1_1.s", line 187 : Syntax error
cc: assembler failed for tmp-mod_1_1.s
gmake[2]: *** [mod_1_1.lo] Error 1
with the lines in question being
bsr %ebp, %ecx
shld %cl, %eax, %edx
--Daniel
--
Daniel Richard G. || skunk at iSKUNK.ORG
My ASCII-art .sig got a bad case of Times New Roman.
More information about the gmp-bugs
mailing list