• 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: Linker refuses to link my dylib? Why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker refuses to link my dylib? Why?


  • Subject: Re: Linker refuses to link my dylib? Why?
  • From: Jonas Maebe <email@hidden>
  • Date: Thu, 15 Feb 2007 21:36:54 +0100


On 15 feb 2007, at 20:57, Eric Albert wrote:

It definitely isn't supported. You can construct the code, but dyld assumes that all libraries are relocatable, so if the library has to be slid due to other things inserted into the process' address space it'll go ahead and slide the library. If the library is non-PIC, it'll run incorrectly when it's slid.

In other words, I'd strongly suggest that you not ship libraries built non-PIC.

Ok, thanks for the note.

/me runs off to make our static Darwin run time library build with PIC in the future.


Jonas _______________________________________________ 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: 
 >Re: Linker refuses to link my dylib? Why? (From: Greg Guerin <email@hidden>)
 >Re: Linker refuses to link my dylib? Why? (From: Eric Albert <email@hidden>)
 >Re: Linker refuses to link my dylib? Why? (From: Jonas Maebe <email@hidden>)
 >Re: Linker refuses to link my dylib? Why? (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: Linker refuses to link my dylib? Why?
  • Next by Date: Re: Linker refuses to link my dylib? Why?
  • Previous by thread: Re: Linker refuses to link my dylib? Why?
  • Next by thread: Re: Linker refuses to link my dylib? Why?
  • Index(es):
    • Date
    • Thread