summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Colin <ac@alexeicolin.com>2021-01-22 15:23:39 -0500
committerSergei Trofimovich <slyfox@gentoo.org>2021-06-07 23:16:46 +0100
commit59ad8840f2ded712964ba82afb1833946bd45a69 (patch)
treee512c67bc1a9b09bae7abfb32ef17dc3b02e61ff /eclass/toolchain-glibc.eclass
parentnet-im/dino: delete old version 0.1.0 (diff)
downloadgentoo-59ad8840f2ded712964ba82afb1833946bd45a69.tar.gz
gentoo-59ad8840f2ded712964ba82afb1833946bd45a69.tar.bz2
gentoo-59ad8840f2ded712964ba82afb1833946bd45a69.zip
sys-libs/glibc: fix ld.so symlink 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 'eclass/toolchain-glibc.eclass')
-rw-r--r--eclass/toolchain-glibc.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
index f48f7050732a..ffe7b9e1fd1c 100644
--- a/eclass/toolchain-glibc.eclass
+++ b/eclass/toolchain-glibc.eclass
@@ -1240,7 +1240,6 @@ toolchain-glibc_do_src_install() {
n64 /lib64/ld.so.1
# powerpc
ppc /lib/ld.so.1
- ppc64 /lib64/ld64.so.1
# s390
s390 /lib/ld.so.1
s390x /lib/ld64.so.1
@@ -1253,12 +1252,16 @@ toolchain-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