I finally tracked down some useful information which seems related to
that "got slid" prebinding warning message.
Apparently in 10.2, redo_prebinding can *slide* the seg1addr of a
dynamiclib to another location. A master lookup file is required which
would contain a list of all the library names and the addresses to use.
example:
sudo redo_prebinding -seg_addr_table
/sw/fink/share/redo_prebinding/seg_addr_table
/sw/lib/libjpeg.62.0.0.dylib
sudo redo_prebinding -seg_addr_table
/sw/fink/share/redo_prebinding/seg_addr_table
/sw/lib/libtiff.3.5.7.dylib
What I see this to mean is fink might be able to build any dylib
prebound with a single static address (arbitrarily chosen for
convenience), then run redo_prebinding on it at the end of the compile
to specify our own seg1addr_table file. This way everyone builds or
downloads the same binary from fink and will use the same seg1addresses
as everyone else. Also this gives us a nice single repository for
maintaining all of fink's prebinding addresses. There is also a perl
interface for doing this: use RedoPrebinding (redo_prebinding(3)).
I imagine Apple has such a seg_addr_table list internally for use with
all it's frameworks and dylibs. Now we need to get our hands on one to
find out what the format of this file is.
Carsten
http://web.mit.edu/darwin/src/modules/cctools/RelNotes/
Private_CompilerTools.html
http://www.hmug.org/man/1/redo_prebinding.html
http://www.hmug.org/man/3/RedoPrebinding.html
http://www.omnigroup.com/mailman/archive/macosx-dev/2001-August/
018370.html
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
- Re: [Fink-devel] Prebinding: Got Slid? revisited Carsten Klapp
- Re: [Fink-devel] Prebinding: Got Slid? revisited Ben Hines
- Re: [Fink-devel] Prebinding: Got Slid? revisite... Finlay Dobbie
- Re: [Fink-devel] Prebinding: Got Slid? revisite... Carsten Klapp
- Re: [Fink-devel] Prebinding: Got Slid? revi... Alexander Strange
- Re: [Fink-devel] Prebinding: Got Slid? revi... Peter O'Gorman
- Re: [Fink-devel] Prebinding: Got Slid? revisited Finlay Dobbie
