[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: as 2.12, 2.13 on sparc -m64: error when linking: relocation trunc at
From: |
Alan Modra |
Subject: |
Re: as 2.12, 2.13 on sparc -m64: error when linking: relocation trunc ated to fit: R_SPARC_DISP32 .gnu.linkonce.t.NewAlloc |
Date: |
Sat, 21 Sep 2002 17:25:51 +0930 |
User-agent: |
Mutt/1.2.5i |
On Wed, Sep 18, 2002 at 02:06:45PM -0700, address@hidden wrote:
> I get the same error as below whether I use Sun's ld or binutils ld, so I
> assume the problem is as. Any ideas? I've not seen a response to the npte
> below. Thanks!
It also might be a gcc problem. I see sparc64 uses 32-bit displacements
for eh data, to save memory. Just how big is this application?
> Problem with linking on 64 bit sparc solaris 2.7
[snip]
> NamingContext_i.o:itimerspec/../../../../src/appl/omniNames/NamingContext_i.
> cc:56:
> relocation truncated to fit: R_SPARC_DISP32
> .gnu.linkonce.t._ZN5CORBA7releaseEPNS_6ObjectE
Hmm, the above doesn't help much in tracking down this sort of problem.
I'll see about tweaking ld's error messages.
--
Alan Modra
IBM OzLabs - Linux Technology Centre