re: prebinding error
re: prebinding error
- Subject: re: prebinding error
- From: George Warner <email@hidden>
- Date: Wed, 23 Jun 2004 08:42:43 -0700
On Tue, 22 Jun 2004 14:55:23 -0600, Markian Hlynka <email@hidden>
wrote:
> Xcode is giving the following error. Can anyone tell me what it means?
>
> codegeneration:0: /usr/lib/crt1.o can't create relocation entry for
> prebinding (address of section (__DATA,__la_symbol_ptr) more than
> 24-bits away from first segment, use -noprebind)
>
> The error goes away if I turn off "prebinding" in my targets "General
> Build" Info. But, I'd like to know what's going on so I can decide
> whether or not I should worry about it.
This means that your program has more than 2^24 (16 MBytes) of staticly
declared data. Since the current MachO file format uses 24-bit relocation
op-codes the pre-binder can't store a value larger than that in the
pre-binding table.
Because of fixes we shipped in 10.3.4 in most cases a non-pre-bound binary
launches just as fast as a bound one. If your launch times aren't noticeably
worse I wouldn't worry about it.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientists
Apple Developer Technical Support (DTS)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.