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

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.

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

  • Follow-Ups:
    • Re: FAQ: Relocation entries in non-writable section
      • From: Dario Accornero <email@hidden>
References: 
 >Relocation entries in non-writable section (From: Dario Accornero <email@hidden>)

  • Prev by Date: Anyway to have Xcode Help default to API Search?
  • Next by Date: Re: Anyway to have Xcode Help default to API Search?
  • Previous by thread: Relocation entries in non-writable section
  • Next by thread: Re: FAQ: Relocation entries in non-writable section
  • Index(es):
    • Date
    • Thread