Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unsupported relocation type 6 in non-PLT relocations




On Mar 11, 2005, at 2:39 AM, uebayasi%pultek.co.jp@localhost wrote:

Hi!

Can anyone here run ( cd /usr/pkgsrc/lang && make ) ?  I get the
following error:

/usr/pkgsrc/lang/gauche/work/Gauche-0.8.3/src/libgauche.so.0: Unsupported relocation type 6 in non-PLT relocations

This happens while executing the built binary to run the package's
self tests.  This erorr seems to come from ld.elf_so.  I'm running
2.99.15 evbppc with soft float enabled.  First I want to know if this
is evbppc / soft float specific or not.

Not really.  It's mean that a file wasn't compiled -fPIC or -fpic.
If you look in <powerpc/reloc.h>, you'll see 6 is RELOC_16_HA.  This
not appropraite for shared libraries, it should have been RELOC_GOT16_HA.




Home | Main Index | Thread Index | Old Index