pkgsrc-Users archive

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

Re: php73 build failure

On Tue, Oct 15, 2019 at 01:27:37PM +0200, Thomas Klausner wrote:
> On Tue, Oct 15, 2019 at 11:21:16AM +0000, wrote:
> > Hi wiz, here's a standalone repro.
> > Not many packages use ifuncs.
> Neat, thanks!
> Is this a gcc/ld bug?
>  Thomas

As background:

resolve all the relocations immediately, mark the table read-only

on your first attempt to run this function, first run the resolver,
decide which function it should resolve to*, then run that function.

* This means modifying the relocation table, which is read-only.
This segfaults.

So, it's entirely in's interpretation of what bind now and ifunc
mean, but what's the correct way to handle this scenario?

Home | Main Index | Thread Index | Old Index