This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
"relocation truncated to fit" - mipsel problem
- From: Suraj Kumar <suraj at naturesoft dot net>
- To: binutils at sources dot redhat dot com
- Date: Fri, 8 Aug 2003 15:43:15 +0530
- Subject: "relocation truncated to fit" - mipsel problem
Hi all,
I have been trying to cross-compile a package under x86 for mipsel
target. The package is trying to link hundreds of .o files and
eventually I get the following error:
/usr/lib/gcc-lib/mipsel-linux/2.96/crtbeginS.o: In function `__do_global_dtors_aux':
/usr/lib/gcc-lib/mipsel-linux/2.96/crtbeginS.o(.text+0x40): relocation truncated to fit: R_MIPS_GOT16 __dso_handle
/root/suraj/openh323//lib/obj_linux_mips_r/h225_1.o: In function `H225_ReleaseCompleteReason::H225_ReleaseCompleteReason(unsigned in
t, PASN_Object::TagClass)':
/root/suraj/openh323//lib/obj_linux_mips_r/h225_1.o(.text+0xa0): relocation truncated to fit: R_MIPS_CALL16 PContainer::Destruct(void)
...
...
I searched on google and read some thing from an archive that using a
higher version of binutils-mipsel-linux package solves this problem.
In the 10 minutes of searching I did I found only
binutils-mipsel-linux-2.13 and NOT binutils-mipsel-linux-2.14. Is this
packaged for RH9.0? If yes, where can I find it?
Note: I'm not a native RH user and I'm familiar with Debian
only. Please ignore my little / no-knowledge of Redhat / the places to
find rpms. I tried rpmfind.net but couldn't find RH9'S packages for
binutils-mipsel-linux there.
Regards,
-Suraj
--
Suraj Kumar <suraj@naturesoft.net>
Technical Project Associate
NatureSoft Pvt Ltd (http://naturesoft.net/)
Ph - 24617193