Re: -mdynamic-no-pic on x86-32 vs 64
Re: -mdynamic-no-pic on x86-32 vs 64
- Subject: Re: -mdynamic-no-pic on x86-32 vs 64
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 11 Dec 2009 18:25:34 +0100
Le 11 déc. 2009 à 18:10, Joel Reymont a écrit :
> I get this error when cross-compiling for x86-32 on Snow Leopard:
>
> ---
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in _libVersionPoint from ./prvrsion.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
> ---
>
> Why does this error only show up when cross-compiling?
>
Details about what it means was already discussed here:
http://lists.apple.com/archives/darwin-dev/2009/Jul/msg00123.html
It may be due to some hand written assembly, so it would explain why you get it in 32 bits and not 64 bits (as the assembly is obviously arch specific)
_______________________________________________
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