arrfab / rpms / glibc

Forked from rpms/glibc 4 years ago
Clone

Blame SOURCES/glibc-ppc64le-45.patch

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