summaryrefslogtreecommitdiff
path: root/packages/glibc/2.17/0067-glibc-ppc64le-45.patch
blob: f68f0cb0b814984b81bb67d57a08da9321e9f36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# For PPC64LE only!
#
# This is fixed upstream by the removal of Versions.def
# and auto-generation of the SHLIB_COMPAT required entries.
# See: https://sourceware.org/ml/libc-alpha/2014-02/msg00818.html
# Backporting that infrastructure to RHEL 7.x is too much work
# at this junction for little reward. Instead we simply fix up
# the Versions.def to include GLIBC_2.3 which is used by
# nptl/old_pthread_atfork.c, otherwise ppc64le will get
# pthread_atfork in libpthread.so.0 when it should not.
#
# The ABI testing for libpthread.so now passes for ppc64le.
#
---
# Versions.def |    2 ++
# 1 file changed, 2 insertions(+)
#
--- a/Versions.def
+++ b/Versions.def
@@ -92,6 +92,7 @@
   GLIBC_2.2
   GLIBC_2.2.3
   GLIBC_2.2.6
+  GLIBC_2.3
   GLIBC_2.3.2
   GLIBC_2.3.3
   GLIBC_2.3.4
@@ -99,6 +100,7 @@
   GLIBC_2.6
   GLIBC_2.11
   GLIBC_2.12
+  GLIBC_2.17
   GLIBC_PRIVATE
 }
 libresolv {