FAQ: Relocation entries in non-writable section
FAQ: Relocation entries in non-writable section
- Subject: FAQ: Relocation entries in non-writable section
- From: Chris Espinosa <email@hidden>
- Date: Mon, 30 May 2005 07:57:59 -0700
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.
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