[PATCH v4 00/10] fix ifunc with static pie [BZ #27072]

Szabolcs Nagy szabolcs.nagy@arm.com
Wed Jan 20 12:38:30 GMT 2021


The 01/20/2021 08:29, Adhemerval Zanella wrote:
> On 19/01/2021 18:38, H.J. Lu wrote:
> > On Tue, Jan 19, 2021 at 12:16 PM Adhemerval Zanella
> > <adhemerval.zanella@linaro.org> wrote:
> >> On 19/01/2021 16:41, H.J. Lu wrote:
> >>> Linker must be fixed to support static PIE:
> >>>
> >>> https://sourceware.org/bugzilla/show_bug.cgi?id=22269
> >>> https://sourceware.org/bugzilla/show_bug.cgi?id=22263
> >>> https://sourceware.org/bugzilla/show_bug.cgi?id=21252
> >>
> >> My question is which is the correct way to check at configure time
> >> for this support? Currently this patchset added the PI_STATIC_AND_HIDDEN,
> >> which is set by each configure snipper within glibc.
> > 
> > Add and define SUPPORT_STATIC_PIE for x86 and aarch64.   Other
> > targets can opt-in.
> 
> I was expecting a way without an extra flag, but I think for now it
> should be suffice.

i can add the flag but when a target adds support there
will be no check if the used linker is new enough.


More information about the Libc-alpha mailing list