Revert gold linker usage on riscv64, making the build not even start

This commit is contained in:
Gianfranco Costamagna 2023-03-21 11:27:46 +01:00
parent 5ffe408ba2
commit 0be4a74ce8
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-16 (1:16.0.0-1~exp3) UNRELEASED; urgency=medium
* Revert gold linker on riscv64, FTBFS
-- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 21 Mar 2023 11:27:33 +0100
llvm-toolchain-16 (1:16.0.0-1~exp2) experimental; urgency=medium
[ Matthias Klose <doko@ubuntu.com> ]

2
debian/rules vendored
View File

@ -278,7 +278,7 @@ ifeq ($(LLVM_SPIRV_INSTALLED),yes)
LIBCLC_LLVM_SPIRV = "-DLLVM_SPIRV=$(LLVM_SPIRV)"
endif
BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 ppc64 ppc64el riscv64 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)))
STAGE_ALL_CMAKE_EXTRA += -DLLVM_USE_LINKER=gold