Subject: Re: Unsupported relocation type 6 in non-PLT relocations
To: None <firstname.lastname@example.org>
From: Matt Thomas <email@example.com>
Date: 03/11/2005 06:59:45
On Mar 11, 2005, at 2:39 AM, firstname.lastname@example.org wrote:
> Can anyone here run ( cd /usr/pkgsrc/lang && make ) ? I get the
> following error:
>> 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