summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-06-08 08:17:34 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-06-08 08:19:28 +0100
commit0f03fe55907dbce2d0fcb65449146e01e4fe7a30 (patch)
tree9f3aa7be12797e01d66715c77e9c7dc097eadf7a /sys-libs/glibc/glibc-2.32-r8.ebuild
parentsys-fs/zfs: fix whitespace (diff)
downloadgentoo-0f03fe55907dbce2d0fcb65449146e01e4fe7a30.tar.gz
gentoo-0f03fe55907dbce2d0fcb65449146e01e4fe7a30.tar.bz2
gentoo-0f03fe55907dbce2d0fcb65449146e01e4fe7a30.zip
sys-libs/glibc: backport ld.so symlink fix for ppc64 LE
From https://sourceware.org/glibc/wiki/ABIList#powerpc glibc supports two dynamic linker paths: - 64-bit ELFv1 BE: /lib64/ld64.so.1 (ELFv2 BE is not supported) - 64-bit ELFv2 LE: /lib64/ld64.so.2 (ELFv1 LE is not supported) Bug: https://bugs.gentoo.org/755551 Signed-off-by: Alexei Colin <ac@alexeicolin.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-libs/glibc/glibc-2.32-r8.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.32-r8.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-libs/glibc/glibc-2.32-r8.ebuild b/sys-libs/glibc/glibc-2.32-r8.ebuild
index f02000d318d4..101254fce5ab 100644
--- a/sys-libs/glibc/glibc-2.32-r8.ebuild
+++ b/sys-libs/glibc/glibc-2.32-r8.ebuild
@@ -1271,7 +1271,6 @@ glibc_do_src_install() {
n64 /lib64/ld.so.1
# powerpc
ppc /lib/ld.so.1
- ppc64 /lib64/ld64.so.1
# riscv
ilp32d /lib/ld-linux-riscv32-ilp32d.so.1
ilp32 /lib/ld-linux-riscv32-ilp32.so.1
@@ -1289,12 +1288,16 @@ glibc_do_src_install() {
ldso_abi_list+=(
# arm
arm64 /lib/ld-linux-aarch64.so.1
+ # ELFv2 (glibc does not support ELFv1 on LE)
+ ppc64 /lib64/ld64.so.2
)
;;
big)
ldso_abi_list+=(
# arm
arm64 /lib/ld-linux-aarch64_be.so.1
+ # ELFv1 (glibc does not support ELFv2 on BE)
+ ppc64 /lib64/ld64.so.1
)
;;
esac