• 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
update_dyld_shared_cache and @executable_path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

update_dyld_shared_cache and @executable_path


  • Subject: update_dyld_shared_cache and @executable_path
  • From: Joel Reymont <email@hidden>
  • Date: Thu, 27 Aug 2009 00:24:14 +0100

I added the path to my firefox binary to /var/db/dyld/ shared_region_roots/Applications.paths which now looks like this:

/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ CoreGraphics.framework/Resources/WindowServer
/Applications/Safari.app/Contents/MacOS/Safari
/Users/joelr/work/mozilla/startup/Minefield.app/Contents/MacOS/firefox- bin
/Applications/Mail.app/Contents/MacOS/Mail
/Applications/QuickTime Player.app/Contents/MacOS/QuickTime Player
/Applications/iChat.app/Contents/MacOS/iChat
/bin/sh
/bin/bash


I then ran update_dyld_shared_cache and went through another round of io snooping with dtrace. I noticed that Firefox libraries are still not loaded from the dyld shared cache.

I'm thinking that @executable_path may have something to do with this, e.g. (otool -L firefox-bin)

/Users/joelr/work/mozilla/startup/Minefield.app/Contents/MacOS/firefox- bin:
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 12.0.0)
@executable_path/XUL (compatibility version 1.0.0, current version 1.0.0)
@executable_path/libmozjs.dylib (compatibility version 1.0.0, current version 1.0.0)
...


Is it kosher to edit /var/db/dyld/shared_region_roots/ Applications.paths and does update_dyld_shared_cache have a rule against @executable_path?

	Thanks, Joel

---
fastest mac firefox!
http://wagerlabs.com




_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: dyld cache: shared_region_roots/Applications.paths
  • Next by Date: Re: safari dynamic linking
  • Previous by thread: Re: where does initialization time go?
  • Next by thread: setuid root problem
  • Index(es):
    • Date
    • Thread