• 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: FAQ: Relocation entries in non-writable section
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Relocation entries in non-writable section (From: Dario Accornero <email@hidden>)
 >FAQ: Relocation entries in non-writable section (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Opening a file from a DMG.
  • Next by Date: Vertical guide lines and IB on 10.3.9
  • Previous by thread: FAQ: Relocation entries in non-writable section
  • Next by thread: Character set in Carbon
  • Index(es):
    • Date
    • Thread