Bug#350501: nscd: [hppa] error while loading shared libraries: unexpected reloc type 0x42
On 2/9/06, Aurelien Jarno <email@example.com> wrote:
> tag 350501 + patch
> The problem is that since version all network daemons, including nscd,
> are built with -fPIE, thanks to RedHat. GCC treats this flag just as
I'm quite worried that RH dictates how free software gets built :-P
> -fPIC, but binutils generates relocs of type R_PARISC_PLABEL14 and
> R_PARISC_PLABEL21. Glibc does not handle those relocs.
> Currently we have the choice of building them with -fPIE or not building
> them at all.
> The workaround would be to build snscd without -fPIE, but that would say
> hacking nscd/Makefile, as Gentoo does. There is a proper fix that has
> been comitted on cvs.parisc-linux.org last July. It adds support for
> those relocs.
Good catch, I completely forgot about that one, I thought it was
already merged in.