linux-mips
[Top] [All Lists]

Re: linker problem: relocation truncated to fit

To: Petter Reinholdtsen <pere@hungry.com>
Subject: Re: linker problem: relocation truncated to fit
From: "H . J . Lu" <hjl@lucon.org>
Date: Sun, 16 Sep 2001 09:16:54 -0700
Cc: linux-mips@oss.sgi.com
In-reply-to: <E15iary-0002nW-00@minerva>; from pere@hungry.com on Sun, Sep 16, 2001 at 02:17:54PM +0200
References: <E15iary-0002nW-00@minerva>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Sun, Sep 16, 2001 at 02:17:54PM +0200, Petter Reinholdtsen wrote:
> 
> Hello
> 
> I'm using debian/mips (sid) on an SGI Indy with 256 MB RAM.  It is as
> far as I know up to date with the latest packages.
> 
> When I try to compile and link a huge C++ program using Qt and various
> other libraries, I get strange error message like this during linking:
> 
>   libopera.a(registerdialog.o): In function
>     `RegisterDialog::RegisterDialog(QWidget *, char const *, bool)':
>   linux/ui/registerdialog.cpp(.text+0xd08): relocation truncated to
>     fit: R_MIPS_GOT16 RegisterDialog virtual table
>   libopera.a(registerdialog.o): In function
>     `RegisterDialog::slotOk(void)':
>   linux/ui/registerdialog.cpp(.text+0xdd8): relocation truncated to
>     fit: R_MIPS_CALL16 RegisterWidget::verifySettings(void)
>   libopera.a(registerdialog.o): In function `onceinalifetime(void)':
>   regkey/regver.h(.text+0x10d8): relocation truncated to fit:
>     R_MIPS_CALL16 regkey_init(void)
> 

This may be a MIPS linker bug/limitation. But I don't use Qt on mips
and have no plan to do so. If you can provide a complete testcase,
in this case, every single file used for the final linking, I will
take a look.


H.J.

<Prev in Thread] Current Thread [Next in Thread>