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