summaryrefslogtreecommitdiffstats
path: root/patches/glibc-2.23/0500-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc-2.23/0500-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch')
-rw-r--r--patches/glibc-2.23/0500-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/glibc-2.23/0500-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch b/patches/glibc-2.23/0500-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch
new file mode 100644
index 0000000..447cdfa
--- /dev/null
+++ b/patches/glibc-2.23/0500-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch
@@ -0,0 +1,33 @@
+From: Marc Kleine-Budde <mkl@pengutronix.de>
+Date: Sat, 13 Jun 2015 19:25:07 +0200
+Subject: [PATCH] ARM: fix PI futex breakge - glibc bug 18463
+
+This patch fixes glibc bug 18463:
+
+ https://sourceware.org/bugzilla/show_bug.cgi?id=18463
+
+The problem is caused by:
+
+ 47c5adebd2c8 Correct robust mutex / PI futex kernel assumptions (bug 9894).
+
+An alternative approach to this bug is to switch to the new condvar
+implementation from Torvald Riegel
+(https://sourceware.org/ml/libc-alpha/2015-02/msg00578.html). Until glibc
+upstream does so, this patch has probably to be ported to new glibc releases.
+
+Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
+---
+ sysdeps/unix/sysv/linux/arm/kernel-features.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/sysdeps/unix/sysv/linux/arm/kernel-features.h b/sysdeps/unix/sysv/linux/arm/kernel-features.h
+index 6f1606c83305..aeaceedcfc9d 100644
+--- a/sysdeps/unix/sysv/linux/arm/kernel-features.h
++++ b/sysdeps/unix/sysv/linux/arm/kernel-features.h
+@@ -39,6 +39,5 @@
+ configuration. */
+ #if __LINUX_KERNEL_VERSION < 0x030E03
+ # undef __ASSUME_FUTEX_LOCK_PI
+-# undef __ASSUME_REQUEUE_PI
+ # undef __ASSUME_SET_ROBUST_LIST
+ #endif