Re: Turn on MKPIE for ppc?

Greg Troxel <[email protected]> Tue, 27 May 2025 15:42:27 -0400
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>
Martin Husemann <[email protected]> writes:

>  wondered why we didn't have MKPIE=yes for powerpc architectures, so
> I tested and
>
>  a) it works
>  b) it causes a 15% - 20% increased size for binaries (not shared libs,
>     of course)
>
> Do we want to enable it nevertheless?
>
> Unfortunately packed relative relocs are not implemented for ppc apparently
> in the current binutils version we have.

I no longer have any pc hardware, but I would guess if I did I'd say
"no, I don't want that."