diff options
author | Leno Hou <lenohou@gmail.com> | 2016-04-23 18:15:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-02-21 17:50:47 -0500 |
commit | 9beda193cf71f2ca84aef6797d77e8ed6e8c16eb (patch) | |
tree | fc36689a1a92f139e673e9c521831c379d625d62 /eclass/libtool.eclass | |
parent | sys-devel/libtool: fix target linkage for ppc64le systems #581314 (diff) | |
download | gentoo-9beda193cf71f2ca84aef6797d77e8ed6e8c16eb.tar.gz gentoo-9beda193cf71f2ca84aef6797d77e8ed6e8c16eb.tar.bz2 gentoo-9beda193cf71f2ca84aef6797d77e8ed6e8c16eb.zip |
libtool.eclass: elibtoolize: add ppc64le handling #580792
1) We faced unable read SONAME from ${lib} when emerge below packages
platform pacakge elibtoolized
ppc64le app-text/opensp no
ppc64le dev-libs/expat yes
ppc64le net-firewall/iptables yes
ppc64le net-libs/libmnl no
ppc64le sys-apps/acl yes
ppc64le sys-apps/attr yes
ppc64le sys-libs/gdbm yes
ppc64le sys-process/procps no
2) The problem is due to the wrong $LD="ld -m elf64ppc" when link.
This patch sets $LD="ld -m elf64lppc" in m4/libtool.m4 on ppc64le.
URL: https://debbugs.gnu.org/23348
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r-- | eclass/libtool.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index 47ef8128defa..9f56c202ffc2 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -144,7 +144,7 @@ elibtoolize() { local deptoremove= local do_shallow="no" local force="false" - local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm" + local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm ppc64le" for x in "$@" ; do case ${x} in @@ -417,6 +417,10 @@ elibtoolize() { ELT_walk_patches "${d}/configure" "${p}" ret=$? ;; + ppc64le) + ELT_walk_patches "${d}/configure" "${p}" + ret=$? + ;; *) # ltmain.sh patches are applied above ;; |