• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: prebinding error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: re: Build menu Compile and preprocess items are disabled.
  • Next by Date: Re: Build menu Compile and preprocess items are disabled.
  • Previous by thread: prebinding error
  • Next by thread: NSTextView - IB behaves oddly when editing attributes & bindings
  • Index(es):
    • Date
    • Thread