No subject
James A. Peltier
jpeltier at sfu.ca
Tue May 13 21:17:17 CEST 2008
Hi All,
When I configure GMP to build with the following parameters
./configure --prefix=/exports/local-linux-x86_64/gmp-4.2.2 --enable-assert
--enable-cxx --enable-fft --enable-fat
the GMP build seems to fail with
<snip>
make[2]: Leaving directory `/tmp/gmp-4.2.2/tests'
Making all in mpn
make[2]: Entering directory `/tmp/gmp-4.2.2/mpn'
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -c
-DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
x86_add_n | sed 's/_$//'` -O2 -m64 `test -f 'x86_add_n.asm' || echo
'./'`x86_add_n.asm
../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_x86_add_n -O2 -m64 x86_add_n.asm
-fPIC -DPIC -o .libs/x86_add_n.o
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_x86_add_n -DPIC
x86_add_n.asm >tmp-x86_add_n.s
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_x86_add_n -O2 -m64 tmp-x86_add_n.s -fPIC -DPIC -o
.libs/x86_add_n.o
tmp-x86_add_n.s: Assembler messages:
tmp-x86_add_n.s:73: Error: invalid character '(' in mnemonic
tmp-x86_add_n.s:74: Error: invalid character '(' in mnemonic
tmp-x86_add_n.s:75: Error: invalid character '(' in mnemonic
tmp-x86_add_n.s:76: Error: invalid character '(' in mnemonic
tmp-x86_add_n.s:77: Error: invalid character '(' in mnemonic
tmp-x86_add_n.s:88: Error: junk `FRAME_pushl()' after register
tmp-x86_add_n.s:89: Error: junk `FRAME_pushl()' after register
tmp-x86_add_n.s:120: Error: junk `FRAME_pushl()' after register
tmp-x86_add_n.s:123: Error: junk `FRAME_popl()' after register
tmp-x86_add_n.s:125: Error: suffix or operands invalid for `jmp'
tmp-x86_add_n.s:137: Error: junk `FRAME_pushl()' after register
tmp-x86_add_n.s:138: Error: junk `FRAME_pushl()' after register
tmp-x86_add_n.s:166: Error: suffix or operands invalid for `jmp'
tmp-x86_add_n.s:169: Error: junk `FRAME_pushl()' after register
tmp-x86_add_n.s:172: Error: junk `FRAME_popl()' after register
tmp-x86_add_n.s:208: Error: suffix or operands invalid for `pop'
tmp-x86_add_n.s:209: Error: suffix or operands invalid for `pop'
make[2]: *** [x86_add_n.lo] Error 1
make[2]: Leaving directory `/tmp/gmp-4.2.2/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gmp-4.2.2'
make: *** [all] Error 2
</snip>
It seems to be linked to the --enable-fat, as when I remove that option it
builds just fine.
OS : CentOS 5.1
GMP: 4.2.2
Configure Options:
./configure --prefix=/exports/local-linux-x86_64/gmp-4.2.2 --enable-assert
--enable-cxx --enable-fft --enable-fat
Patches Applied: None
Tried with http://gmplib.org/patches/mpf_set_str.c.diff. No workie!
Please advise.
--
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
Mobile : 778-840-6434
E-Mail : jpeltier at sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
MSN : subatomic_spam at hotmail.com
More information about the gmp-bugs
mailing list