From 46fba1d525cd99bdd44080a0e725ae905d7ac5ab Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 1 Oct 2017 13:32:57 +0000 Subject: [PATCH] * Remove the -Wl option to call gold instead of the normal linker (Closes: #876787) * Fixup previous upload, adding -NDEBUG to build flags, lost in the -g -> -g1 switch * clang was producing unusable binaries on armv5tel (Closes: #873306) --- debian/changelog | 13 +++++++++---- debian/rules | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index c67cdd2e..dc54f8af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,13 @@ -llvm-toolchain-5.0 (1:5.0-3) UNRELEASED; urgency=medium +llvm-toolchain-5.0 (1:5.0-3) unstable; urgency=medium - * Add NDEBUG macro, lost in the previous -g --> -g1 switch + * Remove the -Wl option to call gold instead of the normal linker + (Closes: #876787) - -- Gianfranco Costamagna Mon, 25 Sep 2017 10:27:03 +0200 + [ Gianfranco Costamagna ] + * Fixup previous upload, adding -NDEBUG to build flags, + lost in the -g -> -g1 switch + + -- Sylvestre Ledru Sun, 01 Oct 2017 15:24:29 +0200 llvm-toolchain-5.0 (1:5.0-2) unstable; urgency=medium @@ -55,7 +60,7 @@ llvm-toolchain-5.0 (1:5.0~+rc3-1) unstable; urgency=medium * Fix the C++ include path order (Closes: #859083) * Disable -gsplit-dwarf when using gcc 7 for causing a linking issue See https://bugs.llvm.org/show_bug.cgi?id=34140 - * clang was producing unusable binaries on armv5tel (Closes #873306) + * clang was producing unusable binaries on armv5tel (Closes: #873306) Thanks to Adrian Bunk for the patch -- Sylvestre Ledru Sat, 26 Aug 2017 10:16:07 +0200 diff --git a/debian/rules b/debian/rules index adfa7c6b..d5d02c14 100755 --- a/debian/rules +++ b/debian/rules @@ -92,7 +92,7 @@ ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' bin ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS))) # -fused-ld=gold enables the gold linker (but is not supported by all archs / distro) LDFLAGS_EXTRA += -fuse-ld=gold --no-keep-files-mapped --no-map-whole-files - CXXFLAGS_EXTRA += -Wl,-fuse-ld=gold -Wl,--no-keep-files-mapped -Wl,--no-map-whole-files + CXXFLAGS_EXTRA += -fuse-ld=gold -Wl,--no-keep-files-mapped -Wl,--no-map-whole-files CMAKE_EXTRA += -DLLVM_BINUTILS_INCDIR=/usr/include/ endif endif