bring back gold for ppc64el

This commit is contained in:
Sylvestre Ledru 2020-11-05 09:29:44 +01:00
parent 2c3d5b5ca2
commit 20a2e466e2
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -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 * lld-use-link-atomic-i386.diff Try to workaround a linker error
error: undefined reference to '__atomic_load' error: undefined reference to '__atomic_load'
on sid i386 on sid i386
* Bring back gold for ppc64el. Doko thinks it is fixed.
[ John Paul Adrian Glaubitz ] [ John Paul Adrian Glaubitz ]
* Limit maximum parallel link jobs to 4 on sparc and sparc64 * Limit maximum parallel link jobs to 4 on sparc and sparc64

2
debian/rules vendored
View File

@ -137,7 +137,7 @@ endif
# CMAKE_EXTRA += -DLLVM_ENABLE_LLD=ON # CMAKE_EXTRA += -DLLVM_ENABLE_LLD=ON
# endif # 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) 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))) ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
# -fused-ld=gold enables the gold linker (but is not supported by all archs / distro) # -fused-ld=gold enables the gold linker (but is not supported by all archs / distro)