5.1.2 assembler error on Solaris 10 with CC='cc -xtarget=opteron -xarch=amd64'
Daniel Richard G.
skunk at iSKUNK.ORG
Tue Oct 8 07:35:23 CEST 2013
Building 5.1.2 on Solaris 10 (amd64) with the vendor compiler fails with
the following error:
/bin/bash ../libtool --mode=compile --tag=CC /tmp/gmp-5.1.2/mpn/m4-ccas --m4="m4" cc -xtarget=opteron -xarch=amd64 -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_`echo add_n | sed 's/_$//'` -xO3 -m64 `test -f 'add_n.asm' || echo '/tmp/gmp-5.1.2/mpn/'`add_n.asm
libtool: compile: /tmp/gmp-5.1.2/mpn/m4-ccas --m4=m4 cc -xtarget=opteron -xarch=amd64 -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_add_n -xO3 -m64 add_n.asm -KPIC -DPIC -o add_n.o
m4 -D_STDC_C99= -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC add_n.asm >tmp-add_n.s
cc -xtarget=opteron -xarch=amd64 -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_add_n -xO3 -m64 tmp-add_n.s -KPIC -DPIC -o add_n.o
cc: Warning: illegal option -m64
Assembler:
"tmp-add_n.s", line 86 : Syntax error
"tmp-add_n.s", line 88 : Illegal mnemonic
"tmp-add_n.s", line 88 : Syntax error
"tmp-add_n.s", line 91 : Syntax error
"tmp-add_n.s", line 92 : Syntax error
"tmp-add_n.s", line 93 : Syntax error
"tmp-add_n.s", line 104 : Syntax error
"tmp-add_n.s", line 108 : Syntax error
"tmp-add_n.s", line 109 : Syntax error
"tmp-add_n.s", line 110 : Syntax error
"tmp-add_n.s", line 114 : Syntax error
"tmp-add_n.s", line 116 : Syntax error
"tmp-add_n.s", line 117 : Syntax error
"tmp-add_n.s", line 123 : Syntax error
"tmp-add_n.s", line 125 : Syntax error
"tmp-add_n.s", line 126 : Syntax error
"tmp-add_n.s", line 127 : Syntax error
"tmp-add_n.s", line 128 : Syntax error
"tmp-add_n.s", line 133 : Syntax error
"tmp-add_n.s", line 134 : Syntax error
"tmp-add_n.s", line 135 : Syntax error
"tmp-add_n.s", line 136 : Syntax error
"tmp-add_n.s", line 137 : Syntax error
"tmp-add_n.s", line 138 : Syntax error
"tmp-add_n.s", line 139 : Syntax error
"tmp-add_n.s", line 145 : Syntax error
"tmp-add_n.s", line 146 : Syntax error
"tmp-add_n.s", line 147 : Syntax error
"tmp-add_n.s", line 148 : Syntax error
"tmp-add_n.s", line 149 : Syntax error
"tmp-add_n.s", line 150 : Syntax error
Too many errors - Goodbye
cc: assembler failed for tmp-add_n.s
gmake[2]: *** [add_n.lo] Error 1
gmake[2]: Leaving directory `/tmp/gmp-build/mpn'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/gmp-build'
gmake: *** [all] Error 2
Dropping the -m64 option does not help.
--Daniel
P.S.: Please Cc: any replies, as I am not subscribed to this list.
--
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