[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Need help porting GMP to AMD64



Hello,

I am trying to compile gmp-4.1.2 on AMD64 and am encountering this
error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_rshift -g -O3 -c rshift.c  -fPIC -DPIC -o .libs/rshift.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_rshift -g -O3 -c rshift.c -o rshift.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo dive_1 | sed 's/_$//'`    -g
-O3 -c -o dive_1.lo `test -f dive_1.c || echo './'`dive_1.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_dive_1 -g -O3 -c dive_1.c  -fPIC -DPIC -o .libs/dive_1.o
/tmp/ccu7I0tJ.s: Assembler messages:
/tmp/ccu7I0tJ.s:42: Error: suffix or operands invalid for `bsf'
make[3]: *** [dive_1.lo] Error 1
make[3]: Leaving directory `/port/gccdeps/gmp-4.1.2/mpn'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/port/gccdeps/gmp-4.1.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/port/gccdeps/gmp-4.1.2'
make: *** [build-stamp] Error 2

I am not sure what is causing that.  Suggestions would be welcome.  :-)

-- John



Reply to: