Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FAQ: Relocation entries in non-writable section



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Relocation entries in non-writable section (From: Dario Accornero <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.