From: Andrew Pinski <pinskia@physics.uc.edu>
To: Laurent GUERBY <laurent@guerby.net>
Cc: gcc@gcc.gnu.org, Andrew Pinski <pinskia@physics.uc.edu>
Subject: Re: darwin-powerpc compiler/linker problem
Date: Tue, 23 Mar 2004 21:35:00 -0000 [thread overview]
Message-ID: <69C87A86-7D04-11D8-AA55-000393A6D2F2@physics.uc.edu> (raw)
In-Reply-To: <1080071331.27851.76.camel@pc>
On Mar 23, 2004, at 11:48, Laurent GUERBY wrote:
> Hi, I'm trying to compile a large Ada application with macada.org GCC
> 3.3-apple based GNAT and with 3.5. In both cases I managed to compile
> the software, but at link time I get piles of linker message like
> the following:
>
> ld: xxx.o relocation overflow for relocation entry 587 in section
> (__TEXT,__text) (displacement too large)
>
> I tried -fno-common, -mminimal-toc, -fPIC (all found via google) and
> various other combinations but without success. Small programs
> or ACATS have no problem compiling, linking and running (-fno-common
> needed with 3.5 though).
>
> Any idea of what to try?
Yes this is a known linker bug for Darwin's linker, there is nothing
you can do about it except to complain to Apple or fix the linker
yourself.
Thanks,
Andrew Pinski
next prev parent reply other threads:[~2004-03-23 19:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-23 21:28 Laurent GUERBY
2004-03-23 21:35 ` Andrew Pinski [this message]
2004-03-24 0:46 ` Mike Stump
2004-03-24 5:20 ` Laurent GUERBY
2004-03-24 6:05 ` Mike Stump
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=69C87A86-7D04-11D8-AA55-000393A6D2F2@physics.uc.edu \
--to=pinskia@physics.uc.edu \
--cc=gcc@gcc.gnu.org \
--cc=laurent@guerby.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).