From c720a61b91d2988a03493e180fe4af114c9203ea Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 1 Oct 2017 13:32:54 +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: #873305) --- debian/changelog | 13 +++++++++---- debian/rules | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index d148c3db..61057898 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,13 @@ -llvm-toolchain-4.0 (1:4.0.1-6) UNRELEASED; urgency=medium +llvm-toolchain-4.0 (1:4.0.1-6) unstable; urgency=medium - * Add NDEBUG macro, lost in the -g -> -g1 change. + * Remove the -Wl option to call gold instead of the normal linker + (Closes: #876787) - -- Gianfranco Costamagna Mon, 25 Sep 2017 10:26:11 +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:14 +0200 llvm-toolchain-4.0 (1:4.0.1-5) unstable; urgency=medium @@ -45,7 +50,7 @@ llvm-toolchain-4.0 (1:4.0.1-2) unstable; urgency=medium * Disable -gsplit-dwarf when using gcc 7 for causing a linking issue See https://bugs.llvm.org/show_bug.cgi?id=34140 (Closes: #853526) - * clang was producing unusable binaries on armv5tel (Closes #873305) + * clang was producing unusable binaries on armv5tel (Closes: #873305) Thanks to Adrian Bunk for the patch [ Katsuhiko Nishimra ] diff --git a/debian/rules b/debian/rules index a5d4a653..a435accf 100755 --- a/debian/rules +++ b/debian/rules @@ -93,7 +93,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