gmp 4.3.0 tests fail on Mac OS X 10.5
Torbjorn Granlund
tg at gmplib.org
Thu May 7 08:13:19 CEST 2009
Jack Howarth <howarth at bromo.med.uc.edu> writes:
Marcus,
Can you try a mecurial pull from...
hg clone http://gmplib.org:8000/gmp-4.3 gmp-4.3.0
I am finding that the proposed changes are present now
but that the build on MacOS X 10.5.6 fails with...
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mul_n -fexceptions -I/sw/include -m32 -O2 -pedantic -fomit-frame-pointer -mtune=k8 -march=k8 -c mul_n.c -o mul_n.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo mul_basecase | sed 's/_$//'` -fexceptions -I/sw/include -m32 -O2 -pedantic -fomit-frame-pointer -mtune=k8 -march=k8 `test -f 'mul_basecase.asm' || echo './'`mul_basecase.asm
../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mul_basecase -fexceptions -I/sw/include -m32 -O2 -pedantic -fomit-frame-pointer -mtune=k8 -march=k8 mul_basecase.asm -fno-common -DPIC -o .libs/mul_basecase.o
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_mul_basecase -DPIC mul_basecase.asm >tmp-mul_basecase.s
gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mul_basecase -fexceptions -I/sw/include -m32 -O2 -pedantic -fomit-frame-pointer -mtune=k8 -march=k8 tmp-mul_basecase.s -fno-common -DPIC -o .libs/mul_basecase.o
tmp-mul_basecase.s:154:Junk character 58 (:).
tmp-mul_basecase.s:154:Rest of line ignored. 1st junk character valued 32 ( ).
make[2]: *** [mul_basecase.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
My mistake.
(The problem was that mpn/x86/x86-def.m4 defines "ret", so the new
L(ret) expanded to something surprising...)
Fixed now in the repo.
--
Torbjörn
More information about the gmp-bugs
mailing list