[PATCH 2/3] Disable stack protector for ifunc resolvers in tests

Florian Weimer fweimer@redhat.com
Wed Mar 10 09:39:54 GMT 2021


* Siddhesh Poyarekar:

> On 3/10/21 1:29 PM, Florian Weimer via Libc-alpha wrote:
>> * Siddhesh Poyarekar via Libc-alpha:
>> 
>>> IFUNC resolvers get called too early for stack protector to be useful,
>>> so fix the elf tests to disable stack protector for the resolver
>>> functions.  This fixes test failures in the static tests on x86_64.
>> With -fstack-protector-all, presumably.  Does this need a bug in
>> Bugzilla?
>
> I started to file it and found there already was a report[1] and a
> patch that fixes it.  I'll remove the overlapping hunk from my patch
> and credit David with it and close that bug once this goes in.

Okay, please mention the bug number in the commit message then.
(I assume there's a bug for it, [1] is dangling.)

Thanks,
Florian



More information about the Libc-alpha mailing list