This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Don't use IFUNC resolver for longjmp or system in libpthread (bug 21041)
- From: Bartłomiej Piotrowski <bpiotrowski at archlinux dot org>
- To: libc-alpha at sourceware dot org
- Date: Mon, 6 Nov 2017 14:30:25 +0100
- Subject: Re: [PATCH] Don't use IFUNC resolver for longjmp or system in libpthread (bug 21041)
- Authentication-results: sourceware.org; auth=none
- References: <mvmwp6em7uq.fsf@suse.de> <6bb32689-2c98-e683-4f4d-12734b151396@gmail.com> <mvmo9ofu71v.fsf@suse.de>
On 2017-11-06 09:48, Andreas Schwab wrote:
> On Nov 01 2017, Romain Naour <romain.naour@gmail.com> wrote:
>
>> Hi All,
>>
>> Le 08/08/2017 à 16:50, Andreas Schwab a écrit :
>>> Unlike the vfork forwarder and like the fork forwarder as in bug 19861,
>>> there won't be a problem when the compiler does not turn this into a tail
>>> call.
>>>
>>> Andreas.
>>>
>>> * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
>>> * nptl/pt-system.c (system): Likewise.
>>>
>>
>> What's the status of this issue ?
>> This patch has been merged in master (upcoming 2.27) but the ticket is still
>> "NEW" [1].
>
> The bug is about moving a symbol between libraries, as such still
> unresolved.
>
>> It's safe to backport this patch to glibc 2.25 and 2.26 stable branches ?
>
> You can try.
>
> Andreas.
>
I backported this to 2.26 in Arch some time ago. Looks fine on my end.
Bartłomiej