GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #10431

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Adriaan van Os
Subject: gpc 20030830, based on gcc-3.3.2 on OSX: ld error
Date: 29 May 2004, 01:55:48

Grant Jacobs wrote:

> Thanks for that. I vaguely recalled you writing something about some  
> options to do with prebinding but I couldn't find any message with  
> 'prebind' in my archive of gpc posts. Is this documented somewhere  
> btw? Its not in gpc's PDF help file.

Apple's "Fred Flintstone" Mach-O Runtime architecture is discussed at  
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/ 
MachORuntime/>. The "Bam Bam" linker is documented in the ld man pages  
- type "man ld" on the terminal command line.

> /usr/bin/ld: /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)

 From the ld man pages (prebinding is the default for executables):

  -prebind
               Have  the  static  linker,  ld(1),  prebind an  
executable's or
               dynamic shared library's undefined symbols to the   
addresses of
               the  dynamic  libraries it is being linked with. This  
optimiza-
               tion can only be done if the libraries don't overlap and  
no sym-
               bols are overridden.

So, maybe the 24-bits message is msleading and there is a symbol naming  
conflict instead (just a wild guess).

Regards,

Adriaan van Os

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Grant Jacobs gpc 20030830, based on gcc-3.3.2 on OSX: ld error 29 May 2004, 09:01:59

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).