Prebinding disabled because of TEXT overlap
Prebinding disabled because of TEXT overlap
- Subject: Prebinding disabled because of TEXT overlap
- From: sinclair44 <email@hidden>
- Date: Sat, 01 Mar 2003 08:50:07 -0500
Cocoa-dev:
I'm using a homemade framework, called MiscellanyToolkit. When I build it, I
only get this warning (which appears to be an Apple compiler/linker bug):
>
ld: warning dynamic shared library: /usr/lib/libSystem.dylib not made a weak
>
library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to:
>
10.1
However, when I build my end-user product, Logo-Like, I get this:
>
ld: warning prebinding disabled because (__PAGEZERO segment (address = 0x0
>
size = 0x1000) of /Users/josh/Desktop/My
>
Developing/Logo-Like/build/Logo-Like.app/Contents/MacOS/Logo-Like overlaps
>
with __TEXT segment (address = 0x0 size = 0x3000) of
>
@executable_path/../Frameworks/MiscellanyToolkit.framework/Versions/A/Miscella
>
nyToolkit
>
ld: warning prebinding disabled because (__TEXT segment (address = 0x1000 size
>
= 0xb000) of /Users/josh/Desktop/My
>
Developing/Logo-Like/build/Logo-Like.app/Contents/MacOS/Logo-Like overlaps
>
with __TEXT segment (address = 0x0 size = 0x3000) of
>
@executable_path/../Frameworks/MiscellanyToolkit.framework/Versions/A/Miscella
>
nyToolkit
>
ld: warning prebinding disabled because (__TEXT segment (address = 0x1000 size
>
= 0xb000) of /Users/josh/Desktop/My
>
Developing/Logo-Like/build/Logo-Like.app/Contents/MacOS/Logo-Like overlaps
>
with __DATA segment (address = 0x3000 size = 0x1000) of
>
@executable_path/../Frameworks/MiscellanyToolkit.framework/Versions/A/Miscella
>
nyToolkit
>
ld: warning prebinding disabled because (__TEXT segment (address = 0x1000 size
>
= 0xb000) of /Users/josh/Desktop/My
>
Developing/Logo-Like/build/Logo-Like.app/Contents/MacOS/Logo-Like overlaps
>
with __OBJC segment (address = 0x4000 size = 0x1000) of
>
@executable_path/../Frameworks/MiscellanyToolkit.framework/Versions/A/Miscella
>
nyToolkit
>
ld: warning prebinding disabled because (__TEXT segment (address = 0x1000 size
>
= 0xb000) of /Users/josh/Desktop/My
>
Developing/Logo-Like/build/Logo-Like.app/Contents/MacOS/Logo-Like overlaps
>
with __LINKEDIT segment (address = 0x5000 size = 0x2000) of
>
@executable_path/../Frameworks/MiscellanyToolkit.framework/Versions/A/Miscella
>
nyToolkit
>
ld: warning dynamic shared library:
>
/System/Library/Frameworks/Carbon.framework/Carbon not made a weak library in
>
output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
MiscellanyToolkit is size optimized, no debug symbols, and the install name
is set to @executable_path/../Frameworks/MiscellanyToolkit.framework
(embeddable). It is prebound.
Logo-Like is not optimized, and has debugging symbols. The above warnings
disable prebinding.
Why is the prebinding getting disabled from MiscellanyToolkit? I'd like
Logo-Like to be prebound, so the end-user doesn't have to wait as long.
Thanks, sinclair44.
--
-- sinclair44
[self becomeWorldDictator];
- (void)becomeWorldDictator
{
[[world currentLeaders] assassinate];
[[world citizens] terrorize];
[world setCurrentLeaders:[NSArray arrayWithObject:self]];
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.