Author: adconrad Date: 2015-09-10 12:38:17 +0000 (Thu, 10 Sep 2015) New Revision: 6556
Added: glibc-package/branches/glibc-2.21/debian/patches/arm/local-arm-futex.diff Modified: glibc-package/branches/glibc-2.21/debian/changelog glibc-package/branches/glibc-2.21/debian/patches/series Log: debian/patches/arm/local-arm-futex.diff: Lie about the minimum kernel support for futex_atomic_cmpxchg_inatomic to restore the previous state and fix the pulsesink (and others) regression on ARM (closes: #788799) Modified: glibc-package/branches/glibc-2.21/debian/changelog =================================================================== --- glibc-package/branches/glibc-2.21/debian/changelog 2015-09-10 12:25:19 UTC (rev 6555) +++ glibc-package/branches/glibc-2.21/debian/changelog 2015-09-10 12:38:17 UTC (rev 6556) @@ -53,6 +53,11 @@ [ Helmut Grohne ] * Fix some issues with stage 1. Closes: #797831. + [ Adam Conrad ] + * debian/patches/arm/local-arm-futex.diff: Lie about the minimum kernel + support for futex_atomic_cmpxchg_inatomic to restore the previous state + and fix the pulsesink (and others) regression on ARM (closes: #788799) + -- Aurelien Jarno <[email protected]> Sat, 29 Aug 2015 00:43:44 +0200 glibc (2.21-0experimental1) experimental; urgency=medium Added: glibc-package/branches/glibc-2.21/debian/patches/arm/local-arm-futex.diff =================================================================== --- glibc-package/branches/glibc-2.21/debian/patches/arm/local-arm-futex.diff (rev 0) +++ glibc-package/branches/glibc-2.21/debian/patches/arm/local-arm-futex.diff 2015-09-10 12:38:17 UTC (rev 6556) @@ -0,0 +1,23 @@ +Description: Lie about futex_atomic_cmpxchg_inatomic kernel support. + In past versions of glibc, we incorrectly assumed all ARM kernels + in all configurations supported futex_atomic_cmpxchg_inatomic. This + was clearly a lie, however it was a lie that we relied on, because + the fallback implementation appears to not play nicely with certain + applications like pulseaudio. Restore the lie for kernels > 2.6.32 + and plug our ears and scream "LA LA LA" about how wrong this is. +Author: Adam Conrad <[email protected]> +Bug-Ubuntu: https://launchpad.net/bugs/1436162 +Bug-Debian: https://bugs.debian.org/788799 +Last-Update: 2015-03-25 + +--- glibc-2.21.orig/sysdeps/unix/sysv/linux/arm/kernel-features.h ++++ glibc-2.21/sysdeps/unix/sysv/linux/arm/kernel-features.h +@@ -37,7 +37,7 @@ + /* The ARM kernel before 3.14.3 may or may not support + futex_atomic_cmpxchg_inatomic, depending on kernel + configuration. */ +-#if __LINUX_KERNEL_VERSION < 0x030E03 ++#if __LINUX_KERNEL_VERSION < 0x020620 + # undef __ASSUME_FUTEX_LOCK_PI + # undef __ASSUME_REQUEUE_PI + # undef __ASSUME_SET_ROBUST_LIST Modified: glibc-package/branches/glibc-2.21/debian/patches/series =================================================================== --- glibc-package/branches/glibc-2.21/debian/patches/series 2015-09-10 12:25:19 UTC (rev 6555) +++ glibc-package/branches/glibc-2.21/debian/patches/series 2015-09-10 12:38:17 UTC (rev 6556) @@ -54,6 +54,7 @@ arm/unsubmitted-ldso-multilib.diff arm/cvs-arm-sfi_breg.diff arm/cvs-memcpy-memmove-always-bx.diff +arm/local-arm-futex.diff hppa/local-inlining.diff hppa/local-stack-grows-up.diff

