What does "foo.o has local relocation entries in non-writable section (__TEXT,__text)" mean?
What does "foo.o has local relocation entries in non-writable section (__TEXT,__text)" mean?
- Subject: What does "foo.o has local relocation entries in non-writable section (__TEXT,__text)" mean?
- From: Army Research Lab <email@hidden>
- Date: Tue, 11 Dec 2007 16:22:04 -0500
- Thread-topic: What does "foo.o has local relocation entries in non-writable section (__TEXT,__text)" mean?
Hi all, I'm having a problem compiling some code under Xcode 2.5 under OS X
10.4.11. I keep having numerous files coming back with "XXX.o has local
relocation entries in non-writable section (__TEXT,__text)", which causes ld
to refuse to continue. The problem I have with this is that scons is able
to correctly build all the code, and I can run it. The only thing I can
think of being slightly out of the ordinary is that because of one of the
libraries I'm using, I have to use -mdynamic-no-pic to get everything to
compile. Again, as long as I'm using scons, this isn't a problem, its just
a problem under Xcode. I'd like to solve this as I would like to use Xcode
for all my debugging, rather than command line GDB.
Thoughts, suggestions, advice are all welcome!
Thanks,
Cem Karan
_______________________________________________
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