From 20a2e466e260fa53ca54d6ff427e3336698c98a1 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 5 Nov 2020 09:29:44 +0100 Subject: [PATCH] bring back gold for ppc64el --- debian/changelog | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f5d9cfa5..2efc4e5c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ llvm-toolchain-snapshot (1:12~++20201028113421+ebfc427bbe0-1~exp1) UNRELEASED; u * lld-use-link-atomic-i386.diff Try to workaround a linker error error: undefined reference to '__atomic_load' on sid i386 + * Bring back gold for ppc64el. Doko thinks it is fixed. [ John Paul Adrian Glaubitz ] * Limit maximum parallel link jobs to 4 on sparc and sparc64 diff --git a/debian/rules b/debian/rules index 3642b1cf..78e159e6 100755 --- a/debian/rules +++ b/debian/rules @@ -137,7 +137,7 @@ endif # CMAKE_EXTRA += -DLLVM_ENABLE_LLD=ON # endif -BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 ppc64 x32 s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386 +BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 ppc64 ppc64el x32 s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386 ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.23.1-1~exp3 ; echo $$?),0) ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS))) # -fused-ld=gold enables the gold linker (but is not supported by all archs / distro)