A quick question. (This is all done on Tiger 10.4.3)
I did configure my application to use pre-binding against my own
shared lib. I passed the -seg1addr with different values to each
shared lib to make sure I would have no overlapping. Xcode eventually
linked everything successfully.
If I check the shared libs and the executable with otool -hv,
everything is corretly prebound
However, when I run the application with the environment variable
DYLD_PREBIND_DEBUG set
I get the following:
asterix /Users/ldm/work/OSX/Comet/compiler/build [203] -> Release/
comet.app/Contents/MacOS/comet
dyld: image uses flat-namespace so, parts of prebinding ignored /usr/
lib/libgcc_s.1.dylib
dyld: image slid, so could not use prebinding in /Users/ldm/work/OSX/
Comet/compiler/build/Release/comet.app/Contents/MacOS/../../../jit.dylib
dyld: image slid, so could not use prebinding in /Users/ldm/work/OSX/
Comet/compiler/build/Release/comet.app/Contents/MacOS/../../../thread-
posix.dylib
dyld: image slid, so could not use prebinding in /Users/ldm/work/OSX/
Comet/compiler/build/Release/comet.app/Contents/MacOS/../../../
data.dylib
dyld: image slid, so could not use prebinding in /Users/ldm/work/OSX/
Comet/compiler/build/Release/comet.app/Contents/MacOS/../../../
localizer.dylib
dyld: image slid, so could not use prebinding in /Users/ldm/work/OSX/
Comet/compiler/build/Release/comet.app/Contents/MacOS/../../../gui.dylib
dyld: image slid, so could not use prebinding in /Users/ldm/work/OSX/
Comet/compiler/build/Release/comet.app/Contents/MacOS/../../../
runtime.dylib
dyld: dependent libraries changed, so could not use prebinding in /
Users/ldm/work/OSX/Comet/compiler/build/Release/comet.app/Contents/
MacOS/comet
So pre-binding is present but ignored.
I tried changing some of the values passed to -seg1addr for the
shared libs shown above but without any success. (All the shared libs
are listed, not a _single_ one gets its prebind info used).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden