Re: gmp 5.0 link failure on x86_64-apple-darwin10
Re: gmp 5.0 link failure on x86_64-apple-darwin10
- Subject: Re: gmp 5.0 link failure on x86_64-apple-darwin10
- From: Greg Parker <email@hidden>
- Date: Mon, 11 Jan 2010 16:29:31 -0800
On Jan 11, 2010, at 3:51 PM, Jack Howarth wrote:
> Does anyone understand the linkage failure of the new gmp 5.0 release
> on x86_64-apple-darwin10? The linkage of libgmp.3.dylib fails with the
> error...
>
> ld: in mpn/.libs/gcd_1.o, in section __TEXT,__text reloc 0: not extern and X86_64_RELOC_GOT_LOAD not supported
>
> Lstrip_x:
> mov Ltable@GOTPCREL(%rip), %r9
The linker doesn't like this instruction. At a guess, try this instead:
lea Ltable(%rip), %r9
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden