gmp-5.0.0 fails to build on x86_64-apple-darwin10
Jack Howarth
howarth at bromo.med.uc.edu
Tue Jan 12 01:51:42 CET 2010
It was suggested on the darwin-dev mailing list...
http://lists.apple.com/archives/Darwin-dev/2010/Jan/msg00024.html
that the linkage failure on x86_64-apple-darwin10 could be worked around
by changing...
Lstrip_x:
mov Ltable at GOTPCREL(%rip), %r9
in the generated tmp-gcd_1.s to...
Lstrip_x:
lea Ltable(%rip), %r9
This change allows the linkage of libgmp.3.dylib to succeed and
the resulting gmp 5.0 build passes all of make check. I'm not sure
how achieve this change via mpn/gcd_1.asm though. In anycase, this
appears to be a potential workaround.
Jack
More information about the gmp-bugs
mailing list