[PATCH] Don't use IFUNC resolver for longjmp or system in libpthread (bug 21041)

Romain Naour romain.naour@gmail.com
Wed Nov 1 13:11:00 GMT 2017


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 issue has been reported on the Buildroot mailing list by a user using glibc
2.25. I'm able to reproduce it using glibc 2.26-73.

It's safe to backport this patch to glibc 2.25 and 2.26 stable branches ?

Best regards,
Romain

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=21041
[2] http://lists.busybox.net/pipermail/buildroot/2017-October/205719.html



More information about the Libc-alpha mailing list