• 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 warnings incorporating debug symbols from prelinked static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker warnings incorporating debug symbols from prelinked static library


  • Subject: Re: Linker warnings incorporating debug symbols from prelinked static library
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 19 Sep 2014 13:49:04 -0700


On Sep 19, 2014, at 11:42 AM, email@hidden wrote:

I don't think there's any good way to use "single object prelink" to make a binary you are going to give out to folks and still keep the debug information intact.

Thanks for the info, Jim. The single-object prelink is just a means to an end; my main goal was to keep the non-public symbols in the library from colliding with symbols in client apps. (Specifically, a developer was having problems because their app uses the yajl library, and so does Couchbase Lite, and linking their app produced duplicate-symbol errors for all the yajl functions.)

Is there any way to turn off single-object prelink but still keep the private symbols in the library from colliding with app symbols? I suspect the answer is "no", because the private symbols would have to remain visible enough for one of my .o files to find a symbol from another of my .o files, which probably means it'd be visible to an application's .o file too…

You can file a bug requesting this, but I'm not sure it would ever get a very high priority, especially now that iOS 8 supports user frameworks.

I'm very glad iOS 8 is supporting real frameworks, even if it took adding app extensions to make it happen (not just the fact that library developers' lives are a living hell without them.) Sadly, it's going to take another year or so before we can make our library require iOS 8.

—Jens
 _______________________________________________
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: Linker warnings incorporating debug symbols from prelinked static library
      • From: email@hidden
References: 
 >Linker warnings incorporating debug symbols from prelinked static library (From: Jens Alfke <email@hidden>)
 >Re: Linker warnings incorporating debug symbols from prelinked static library (From: email@hidden)

  • Prev by Date: Re: Linker warnings incorporating debug symbols from prelinked static library
  • Next by Date: Re: Linker warnings incorporating debug symbols from prelinked static library
  • Previous by thread: Re: Linker warnings incorporating debug symbols from prelinked static library
  • Next by thread: Re: Linker warnings incorporating debug symbols from prelinked static library
  • Index(es):
    • Date
    • Thread