Re: local relocation entries in non-writable section
Re: local relocation entries in non-writable section
- Subject: Re: local relocation entries in non-writable section
- From: Eric Christopher <email@hidden>
- Date: Fri, 17 Mar 2006 14:02:20 -0800
On Mar 17, 2006, at 1:57 PM, Jeffrey Koppi wrote:
I'm using Xcode 2.2 to build a QuickTime Component (Universal).
When I link in a static library, I'm getting the following link error:
libfoo.a(foo.c.o) has local relocation entries in non-writable
section (__TEXT,__text)
The static library was built with Intel's C compiler for MacOS
(command line), because the source contains Intel assembly.
The assembly likely contains a runtime relocation in the text
section. You'll need to use a stub or use the -read_only_relocs
linker command line option. (The latter has some undesirable effects
as far as application start time).
-eric
_______________________________________________
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