Created attachment 637518 [details] build.log [...] /usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: Linux2.6_ppc_powerpc64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/sha512-p8.o: ABI version 2 is not compatible with ABI version 1 output /usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: failed to merge target specific data of file Linux2.6_ppc_powerpc64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/sha512-p8.o collect2: error: ld returned 1 exit status make[3]: *** [../../coreconf/rules.mk:291: Linux2.6_ppc_powerpc64-unknown-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/libfreeblpriv3.so] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/nss-3.52/work/nss-3.52/nss-.ppc64/lib/freebl' make[2]: *** [Makefile:650: libs] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-libs/nss-3.52/work/nss-3.52/nss-.ppc64/lib/freebl' make[1]: *** [../coreconf/rules.mk:101: libs] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-libs/nss-3.52/work/nss-3.52/nss-.ppc64/lib' make: *** [coreconf/rules.mk:101: libs] Error 2 make: Leaving directory '/var/tmp/portage/dev-libs/nss-3.52/work/nss-3.52/nss-.ppc64' * ERROR: dev-libs/nss-3.52::gentoo failed (compile phase):
Created attachment 637520 [details] emerge --info
I confirm this issue. Note that since USE_PPC_CRYPTO is currently only defined on little endian, the code in sha512-p8.s is not actually used, so a simple workaround is to simply remove sha512-p8.s from ASFILES in nss/lib/freebl/Makefile.
Applied this upstream patch on nss-3.52.1 which makes it build again on my Talos II: https://bug1642174.bmoattachments.org/attachment.cgi?id=9153128
Not fixed in upstream 3.53.1 yet.
Upstream says fix will be included in 3.55.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=893f2d565c0bc752426907f28a641bec6828574c commit 893f2d565c0bc752426907f28a641bec6828574c Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-06-28 19:05:08 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-28 19:05:19 +0000 dev-libs/nss: fix building on PPC Closes: https://bugs.gentoo.org/722110 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../nss/files/nss-3.53-fix-building-on-ppc.patch | 39 ++++++++++++++++++++++ dev-libs/nss/nss-3.52.1-r1.ebuild | 1 + dev-libs/nss/nss-3.53.1.ebuild | 1 + 3 files changed, 41 insertions(+)
3.54
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c5607e394bfaf88ebba5792ff2354e26c5707ee commit 5c5607e394bfaf88ebba5792ff2354e26c5707ee Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-06-29 20:59:31 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-06-29 21:02:18 +0000 dev-libs/nss: update ppc abi patch Bug: https://bugs.gentoo.org/722110 Closes: https://bugs.gentoo.org/730172 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-libs/nss/files/nss-3.53-fix-building-on-ppc.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)