• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: REPOST: "local relocation entries in non-writable section" error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: REPOST: "local relocation entries in non-writable section" error


  • Subject: Re: REPOST: "local relocation entries in non-writable section" error
  • From: Chris Ridd <email@hidden>
  • Date: Tue, 22 Nov 2005 09:49:14 +0000
  • Thread-topic: REPOST: "local relocation entries in non-writable section" error

On 22/11/05 9:30, Martin Crane <email@hidden> wrote:

> I posted this question yesterday, but there were no replies. Nobody
> has any suggestions?
>
> I am moving from CodeWarrior to XCode, so I have joined this list.
> Here is my first question:
>
> Can anyone tell me how to overcome the following error I get when
> compiling? :
>
> ...has local relocation entries in non-writable section (__TEXT,__text)
>
> The error refers to an object file that was produced in another XCode
> project and is subsequently included in the project I am working on.

Is there anything unusual in the .o file with this error? Large numbers of
initialised file-scope variables, functions, that sort of thing?

The otool command might be able to give you some clues.

> After googling around for this error, I've tried going back to GCC
> 3.3, tried setting compiler flags for -mdynamic -no-pic, and linker
> flags to -Wl,-read_only_relocs,warning. But no change..

Cheers,

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

  • Follow-Ups:
    • Re: REPOST: "local relocation entries in non-writable section" error
      • From: Martin Crane <email@hidden>
References: 
 >REPOST: "local relocation entries in non-writable section" error (From: Martin Crane <email@hidden>)

  • Prev by Date: REPOST: "local relocation entries in non-writable section" error
  • Next by Date: Re: REPOST: "local relocation entries in non-writable section" error
  • Previous by thread: REPOST: "local relocation entries in non-writable section" error
  • Next by thread: Re: REPOST: "local relocation entries in non-writable section" error
  • Index(es):
    • Date
    • Thread