summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-06-13 19:34:51 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-06-26 17:31:55 +0200
commit61da94e6331800a0dc42a6a1bc996cc33ab290b2 (patch)
tree86b9ba52ebcf0688d6facc7e373f2f940ab74c7d
parentefb659078503cfcbcf200d940e33628a3570a676 (diff)
downloadOSELAS.Toolchain-61da94e6331800a0dc42a6a1bc996cc33ab290b2.tar.gz
glibc: add proposed patch for glibc bug 18463
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--patches/glibc-2.20/0600-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch28
-rw-r--r--patches/glibc-2.20/series4
2 files changed, 31 insertions, 1 deletions
diff --git a/patches/glibc-2.20/0600-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch b/patches/glibc-2.20/0600-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch
new file mode 100644
index 0000000..29a88a6
--- /dev/null
+++ b/patches/glibc-2.20/0600-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch
@@ -0,0 +1,28 @@
+From eebb9e9abd3405fd72b7e7527132b605e406e83e Mon Sep 17 00:00:00 2001
+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).
+
+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 e755741de60b..0d9f8910d650 100644
+--- a/sysdeps/unix/sysv/linux/arm/kernel-features.h
++++ b/sysdeps/unix/sysv/linux/arm/kernel-features.h
+@@ -38,5 +38,4 @@
+ futex_atomic_cmpxchg_inatomic, depending on kernel
+ configuration. */
+ #undef __ASSUME_FUTEX_LOCK_PI
+-#undef __ASSUME_REQUEUE_PI
+ #undef __ASSUME_SET_ROBUST_LIST
diff --git a/patches/glibc-2.20/series b/patches/glibc-2.20/series
index 89005f0..04144e3 100644
--- a/patches/glibc-2.20/series
+++ b/patches/glibc-2.20/series
@@ -17,4 +17,6 @@
0401-add-libc_hidden_builtin_def-for-all-cortex-functions.patch
#tag:hacks --start-number 500
0500-Hack-around-mips-args-to-host-gcc.patch
-# abbdf6f06cd2fc7e40618e8c66cf8875 - git-ptx-patches magic
+#tag:open-glibc-bugs --start-number 600
+0600-ARM-fix-PI-futex-breakge-glibc-bug-18463.patch
+# 3558b892a89c6287a934fa9cf65be74d - git-ptx-patches magic