Re: FAQ: Relocation entries in non-writable section
Re: FAQ: Relocation entries in non-writable section
- Subject: Re: FAQ: Relocation entries in non-writable section
- From: Dario Accornero <email@hidden>
- Date: Tue, 31 May 2005 09:07:40 +0200
Thanks Chris, that was it.
Ciao,
Dario
On 30 May 2005, at 16:57, Chris Espinosa wrote:
On May 30, 2005, at 3:59 AM, Dario Accornero wrote:
ld: /path/to/release/version/of/static/libname.a
(some_object_file_in_the_library.o) has local relocation entries in
non-writable section (__TEXT,__text)
What does this error mean and how come it's only shown in release
builds?
This usually indicates that -mdynamic-no-pic is being sent for a
target that's inappropriate (an application or tool). Make sure that
the "Generate Position-Independent Code" build setting is not checked.
http://developer.apple.com/documentation/Performance/Conceptual/
CodeFootprint/Articles/CompilerOptions.html&e=10313
Chris _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden