Re: [Fink-devel] Prebinding: Got Slid? revisited

2003-02-11 Thread Peter O'Gorman
On Wednesday, February 12, 2003, at 04:41 AM, Carsten Klapp wrote: With trial and error I actually figured out the format of this file, it's very straightforward: 0x4000 /sw/lib/libjpeg.62.dylib Yes, and it is also documented in man ld. Peter ---

Re: [Fink-devel] Prebinding: Got Slid? revisited

2003-02-11 Thread Alexander Strange
On Tuesday, February 11, 2003, at 02:41 PM, Carsten Klapp wrote: Hehe, well at least with redo_prebinding the entire disk isn't scanned like update_prebinding does. (BTW I think in 10.2 the installer's rebinding is a little quicker, maybe it only calls redo_prebinding now.) Anyway... It stil

Re: [Fink-devel] Prebinding: Got Slid? revisited

2003-02-11 Thread Carsten Klapp
Hehe, well at least with redo_prebinding the entire disk isn't scanned like update_prebinding does. (BTW I think in 10.2 the installer's rebinding is a little quicker, maybe it only calls redo_prebinding now.) Anyway... A little more investigation reveals: % strings /usr/bin/redo_prebinding |

Re: [Fink-devel] Prebinding: Got Slid? revisited

2003-02-11 Thread Ben Hines
On Tuesday, February 11, 2003, at 11:12 AM, Finlay Dobbie wrote: On Tuesday, February 11, 2003, at 07:02 pm, Ben Hines wrote: Just do "man seg_addr_table" to get all the info on the table. No manual entry for seg_addr_table Sure about that one? Aha, i must have moved it into /sw/share/

Re: [Fink-devel] Prebinding: Got Slid? revisited

2003-02-11 Thread Finlay Dobbie
On Tuesday, February 11, 2003, at 07:02 pm, Ben Hines wrote: Just do "man seg_addr_table" to get all the info on the table. No manual entry for seg_addr_table Sure about that one? From cctools src: /* * parse_seg_addr_table() opens the file_name passed to it and parses it as a * segment

Re: [Fink-devel] Prebinding: Got Slid? revisited

2003-02-11 Thread Finlay Dobbie
On Tuesday, February 11, 2003, at 06:46 pm, Carsten Klapp wrote: 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. Or just pester some cctools engineers. We h

Re: [Fink-devel] Prebinding: Got Slid? revisited

2003-02-11 Thread Ben Hines
On Tuesday, February 11, 2003, at 10:46 AM, Carsten Klapp wrote: 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_t

[Fink-devel] Prebinding: Got Slid? revisited

2003-02-11 Thread Carsten Klapp
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 n