ce426f
#
ce426f
# For PPC64LE only!
ce426f
#
ce426f
# This is fixed upstream by the removal of Versions.def
ce426f
# and auto-generation of the SHLIB_COMPAT required entries.
ce426f
# See: https://sourceware.org/ml/libc-alpha/2014-02/msg00818.html
ce426f
# Backporting that infrastructure to RHEL 7.x is too much work
ce426f
# at this junction for little reward. Instead we simply fix up
ce426f
# the Versions.def to include GLIBC_2.3 which is used by
ce426f
# nptl/old_pthread_atfork.c, otherwise ppc64le will get
ce426f
# pthread_atfork in libpthread.so.0 when it should not.
ce426f
#
ce426f
# The ABI testing for libpthread.so now passes for ppc64le.
ce426f
#
ce426f
diff -urN glibc-2.17-c758a686/Versions.def glibc-2.17-c758a686/Versions.def
ce426f
--- glibc-2.17-c758a686/Versions.def	2014-06-02 21:13:12.000000000 +0000
ce426f
+++ glibc-2.17-c758a686/Versions.def	2014-06-02 21:14:38.000000000 +0000
ce426f
@@ -92,6 +92,7 @@
ce426f
   GLIBC_2.2
ce426f
   GLIBC_2.2.3
ce426f
   GLIBC_2.2.6
ce426f
+  GLIBC_2.3
ce426f
   GLIBC_2.3.2
ce426f
   GLIBC_2.3.3
ce426f
   GLIBC_2.3.4
ce426f
@@ -99,6 +100,7 @@
ce426f
   GLIBC_2.6
ce426f
   GLIBC_2.11
ce426f
   GLIBC_2.12
ce426f
+  GLIBC_2.17
ce426f
   GLIBC_PRIVATE
ce426f
 }
ce426f
 libresolv {