This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc-4.3.3 with MIPS generate relocation type 0x7f (127) which is unknown
- From: naveen yadav <yad dot naveen at gmail dot com>
- To: gcc-help at gcc dot gnu dot org, gcc-help at gnu dot org
- Date: Thu, 1 Oct 2009 11:31:00 +0530
- Subject: gcc-4.3.3 with MIPS generate relocation type 0x7f (127) which is unknown
Hi All ,
I am using prelink-0.0.20090311 for MIPS with gcc 4.3.3.
mips-4.3 toochain generates .rel.plt section that has entries with
relocation type 0x7f (127) which is unknown.
This Assigned virtual address space slots for libraries:
/lib/ld.so.1 2c000000-2c030a24
/prelink_test/libtest1.so.0 2c040000-2c2c4e90
/lib/libc.so.6 2c2d0000-2c43dc60
Prelinking /lib/ld-2.5.90.so
Prelinking /lib/libc-2.5.90.so
Prelinking /prelink_test/libtest1.so
Prelinking /prelink_test/test1
prelink.host: /prelink_test/test1: Unknown MIPS relocation type 1663
prelink.host: reloc.c:174: convert_rel_to_rela: Assertion `d->d_size
== dso->shdr[i].sh_size' failed.
./build.sh: line 27: 18246 Aborted prelink.host
--root=../ --verbose --config-file=/etc/prelink.conf
--cache-file=/etc/prelink.cache --ld-library-path=/prelink_test -x
mips24ke_nfp_be-ldd prelink_test/test1
Laying out 1 libraries in virtual address space 2c000000-3c000000
Assigned virtual address space slots for libraries:
But prelink version prelink-0.0.20090311 works fine with gcc 4.2.2.
Will you pls suggest what is reason...
Best Regards
Naveen