• 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: -fast creates linker error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -fast creates linker error


  • Subject: Re: -fast creates linker error
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 15 Jun 2005 22:26:31 -0500

On 15 Jun 2005, at 5:23 PM, Ben Weiss wrote:
On Jun 15, 2005, at 1:16 PM, Ben Weiss wrote:

In my project, globally enabling the -fast compiler flag creates the following linker error:


/usr/bin/ld: /Users/benweiss/Documents/Projects/Reef/Projects/ SSFilter/build/SSFilter.proj.build/Release/SSFilter.build/Objects- normal/ppc/DialogUtilitiesMac.o has local relocation entries in non-writable section (__TEXT,__text)

Without -fast, it compiles fine. Anyone know what this error means, or how to work around it?

I see in the notes for -fast the following recommendation on position- independent code, which sounds as though it may relate to your problem:


To build shared libraries with -fast, specify -fPIC on command line.

-- F

_______________________________________________
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: 
 >-fast creates linker error (From: Ben Weiss <email@hidden>)
 >Re: -fast creates linker error (From: Ben Weiss <email@hidden>)

  • Prev by Date: SCM Error: SCM could not go online
  • Next by Date: Setting the selection of a document via AppleScript
  • Previous by thread: Re: -fast creates linker error
  • Next by thread: Bug in the objective-c++ compiler?
  • Index(es):
    • Date
    • Thread