diff -Nru llvm-toolchain-3.9-3.9.1/debian/changelog llvm-toolchain-3.9-3.9.1/debian/changelog --- llvm-toolchain-3.9-3.9.1/debian/changelog 2017-09-15 18:57:29.000000000 +0000 +++ llvm-toolchain-3.9-3.9.1/debian/changelog 2017-09-08 09:57:07.000000000 +0000 @@ -1,45 +1,25 @@ -llvm-toolchain-3.9 (1:3.9.1-13ubuntu7) artful; urgency=medium +llvm-toolchain-3.9 (1:3.9.1-16) unstable; urgency=medium - * Build with -g1 instead of -g on s390x as well. - - -- Matthias Klose Fri, 15 Sep 2017 20:57:29 +0200 - -llvm-toolchain-3.9 (1:3.9.1-13ubuntu6) artful; urgency=medium - - * Try to build with -g1 instead of -g on amd64 as well. - - -- Matthias Klose Fri, 15 Sep 2017 07:25:22 +0200 - -llvm-toolchain-3.9 (1:3.9.1-13ubuntu5) artful; urgency=medium + * Backport of an arm patch for rust. + https://bugs.llvm.org/show_bug.cgi?id=32379 + (Closes: #876072) + [ Matthias Klose ] + * Link with --no-keep-files-mapped --no-map-whole-files when using gold. + * Fix sanitizer build failure with glibc-2.26. * build using gold on arm64 and s390x. For backports, arm64 might still need the BFD linker, and building with only one or two processes in parallel. - * On arm64 and ppc64el, build with -g1 instead of -g. + * On amd64, s390x, arm64 and ppc64el, build with -g1 instead of -g. * Set CMAKE_CXX_FLAGS_RELWITHDEBINFO and pass opt_flags. - -- Matthias Klose Sun, 10 Sep 2017 11:06:24 +0200 - -llvm-toolchain-3.9 (1:3.9.1-13ubuntu4) artful; urgency=medium - - * Fix sanitizer build failure with glibc-2.26. + -- Sylvestre Ledru Fri, 08 Sep 2017 11:57:07 +0200 - -- Matthias Klose Fri, 08 Sep 2017 15:34:29 +0200 +llvm-toolchain-3.9 (1:3.9.1-15) unstable; urgency=medium -llvm-toolchain-3.9 (1:3.9.1-13ubuntu2) artful; urgency=medium + * Fail the build if the arch + gcc has a broken gsplit-dwarf support - * Link with --no-keep-files-mapped --no-map-whole-files when using - gold. - - -- Matthias Klose Fri, 08 Sep 2017 13:05:29 +0100 - -llvm-toolchain-3.9 (1:3.9.1-13ubuntu1) artful; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - -- Matthias Klose Fri, 01 Sep 2017 13:08:04 +0200 + -- Sylvestre Ledru Sun, 03 Sep 2017 15:12:37 +0200 llvm-toolchain-3.9 (1:3.9.1-13) unstable; urgency=medium @@ -47,14 +27,6 @@ -- Sylvestre Ledru Fri, 01 Sep 2017 09:00:10 +0200 -llvm-toolchain-3.9 (1:3.9.1-12ubuntu1) artful; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - -- Gianfranco Costamagna Thu, 31 Aug 2017 22:27:12 +0200 - llvm-toolchain-3.9 (1:3.9.1-12) unstable; urgency=medium * Fix the FTBFS because of -gsplit-dwarf: @@ -63,14 +35,6 @@ -- Sylvestre Ledru Thu, 31 Aug 2017 18:49:20 +0200 -llvm-toolchain-3.9 (1:3.9.1-11ubuntu1) artful; urgency=low - - * Merge from Debian unstable. Remaining changes: - - libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - -- Gianfranco Costamagna Sun, 27 Aug 2017 18:39:23 +0200 - llvm-toolchain-3.9 (1:3.9.1-11) unstable; urgency=medium [ Sylvestre Ledru ] @@ -90,20 +54,6 @@ -- Sylvestre Ledru Sun, 18 Jun 2017 19:12:15 +0200 -llvm-toolchain-3.9 (1:3.9.1-10ubuntu2) artful; urgency=high - - * No change rebuild against ocaml 4.04. - - -- Dimitri John Ledkov Mon, 03 Jul 2017 15:21:11 +0100 - -llvm-toolchain-3.9 (1:3.9.1-10ubuntu1) artful; urgency=low - - * Merge from Debian unstable. Remaining changes: - - libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - -- Gianfranco Costamagna Mon, 19 Jun 2017 22:48:39 +0200 - llvm-toolchain-3.9 (1:3.9.1-10) unstable; urgency=medium * Now that strech has been released, upload in unstable! @@ -121,14 +71,6 @@ -- Sylvestre Ledru Mon, 12 Jun 2017 17:38:06 +0200 -llvm-toolchain-3.9 (1:3.9.1-9ubuntu1) artful; urgency=low - - * Merge from Debian unstable. Remaining changes: - - libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - -- Gianfranco Costamagna Mon, 05 Jun 2017 08:44:32 +0200 - llvm-toolchain-3.9 (1:3.9.1-9) unstable; urgency=medium * debian/patches/fix-R_AARCH64_MOVW_UABS_G3-relocation.patch: @@ -139,14 +81,6 @@ -- Gianfranco Costamagna Fri, 02 Jun 2017 15:14:18 +0200 -llvm-toolchain-3.9 (1:3.9.1-8ubuntu1) artful; urgency=low - - * Merge from Debian unstable. Remaining changes: - - libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - -- Gianfranco Costamagna Wed, 26 Apr 2017 10:35:06 +0200 - llvm-toolchain-3.9 (1:3.9.1-8) unstable; urgency=medium * Really fix "use versioned symbols" for llvm @@ -154,14 +88,6 @@ -- Sylvestre Ledru Tue, 25 Apr 2017 15:10:10 +0200 -llvm-toolchain-3.9 (1:3.9.1-7ubuntu1) artful; urgency=low - - * Merge from Debian unstable. Remaining changes: - - libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - -- Gianfranco Costamagna Sat, 22 Apr 2017 14:45:54 +0200 - llvm-toolchain-3.9 (1:3.9.1-7) unstable; urgency=medium * Limit the archs where the ocaml binding is built @@ -195,46 +121,12 @@ -- Sylvestre Ledru Sun, 19 Mar 2017 10:12:03 +0100 -llvm-toolchain-3.9 (1:3.9.1-5ubuntu1) zesty; urgency=low - - * Merge from Debian unstable. Remaining changes: - - libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - Don't build the Fuzzer library on powerpc. - - -- Gianfranco Costamagna Mon, 13 Mar 2017 17:53:22 +0100 - llvm-toolchain-3.9 (1:3.9.1-5) unstable; urgency=medium * Fix the incorrect symlink to scan-build-py (Closes: #856869) -- Sylvestre Ledru Sun, 12 Mar 2017 10:01:10 +0100 -llvm-toolchain-3.9 (1:3.9.1-4ubuntu4) zesty; urgency=medium - - * libllvm3.9-dbg, libllvm3.9: Add breaks/replaces for the 16.04 backport. - - -- Matthias Klose Thu, 02 Mar 2017 20:13:51 +0100 - -llvm-toolchain-3.9 (1:3.9.1-4ubuntu3) zesty; urgency=medium - - * Actually drop the python-lldb-3.9 dependency this time. - - -- Timo Aaltonen Fri, 10 Feb 2017 11:38:09 +0200 - -llvm-toolchain-3.9 (1:3.9.1-4ubuntu2) zesty; urgency=medium - - * Drop python-lldb-3.9 from lldb-3.9 depends because it's in universe. - - -- Timo Aaltonen Thu, 09 Feb 2017 20:37:08 +0200 - -llvm-toolchain-3.9 (1:3.9.1-4ubuntu1) zesty; urgency=low - - * Merge from Debian unstable. Remaining changes: - - Don't build the Fuzzer library on powerpc. - - -- Gianfranco Costamagna Wed, 01 Feb 2017 15:45:29 +0100 - llvm-toolchain-3.9 (1:3.9.1-4) unstable; urgency=medium * d/p/amdgpu-regression.diff Fix a regression impacting mesa @@ -252,13 +144,6 @@ -- Sylvestre Ledru Sat, 14 Jan 2017 11:46:16 +0100 -llvm-toolchain-3.9 (1:3.9.1-2ubuntu1) zesty; urgency=low - - * Merge from Debian unstable. Remaining changes: - - Don't build the Fuzzer library on powerpc. - - -- Gianfranco Costamagna Wed, 11 Jan 2017 21:28:03 +0100 - llvm-toolchain-3.9 (1:3.9.1-2) unstable; urgency=medium * debian/orig-tar.sh: less verbose @@ -270,13 +155,6 @@ -- Sylvestre Ledru Sat, 17 Dec 2016 17:55:44 +0100 -llvm-toolchain-3.9 (1:3.9.1-1ubuntu1) zesty; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - Don't build the Fuzzer library on powerpc. - - -- Gianfranco Costamagna Thu, 15 Dec 2016 09:27:51 +0100 - llvm-toolchain-3.9 (1:3.9.1-1) unstable; urgency=medium * New stable release @@ -298,13 +176,6 @@ -- Sylvestre Ledru Fri, 02 Dec 2016 16:19:14 +0100 -llvm-toolchain-3.9 (1:3.9-6ubuntu1) zesty; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - Don't build the Fuzzer library on powerpc. - - -- Gianfranco Costamagna Fri, 25 Nov 2016 17:49:22 +0100 - llvm-toolchain-3.9 (1:3.9-6) unstable; urgency=medium * Fix segfaults in the memory sanitizers (Closes: #842642) @@ -313,13 +184,6 @@ -- Sylvestre Ledru Fri, 11 Nov 2016 17:01:38 +0100 -llvm-toolchain-3.9 (1:3.9-5ubuntu1) zesty; urgency=low - - * Merge from Debian unstable. Remaining changes: - - Don't build the Fuzzer library on powerpc. - - -- Gianfranco Costamagna Thu, 10 Nov 2016 16:19:57 +0100 - llvm-toolchain-3.9 (1:3.9-5) unstable; urgency=medium * d/p/0011-SimplifyCFG-Hoisting-invalidates-metadata.patch: Also apply bug 29163 @@ -378,14 +242,6 @@ -- Sylvestre Ledru Fri, 02 Sep 2016 13:11:56 +0200 -llvm-toolchain-3.9 (1:3.9-1ubuntu1) yakkety; urgency=medium - - * Merge with Debian; remaining changes: - - Don't build python-lldb on architectures where lldb is not built. - - Don't build the Fuzzer library on powerpc. - - -- Matthias Klose Fri, 02 Sep 2016 09:57:25 +0200 - llvm-toolchain-3.9 (1:3.9-1) unstable; urgency=medium * New stable release @@ -395,13 +251,6 @@ -- Sylvestre Ledru Thu, 01 Sep 2016 12:05:33 +0200 -llvm-toolchain-3.9 (1:3.9~+rc3-1ubuntu2) yakkety; urgency=medium - - * Don't build python-lldb on architectures where lldb is not built. - * Don't build the Fuzzer library on powerpc. - - -- Matthias Klose Tue, 30 Aug 2016 10:19:05 +0200 - llvm-toolchain-3.9 (1:3.9~+rc3-1) unstable; urgency=medium * Upload in unstable diff -Nru llvm-toolchain-3.9-3.9.1/debian/control llvm-toolchain-3.9-3.9.1/debian/control --- llvm-toolchain-3.9-3.9.1/debian/control 2017-08-31 20:26:37.000000000 +0000 +++ llvm-toolchain-3.9-3.9.1/debian/control 2017-09-08 09:57:07.000000000 +0000 @@ -1,8 +1,7 @@ Source: llvm-toolchain-3.9 Section: devel Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: LLVM Packaging Team +Maintainer: LLVM Packaging Team Uploaders: Sylvestre Ledru Build-Depends: debhelper (>= 9.0), flex, bison, dejagnu, tcl, expect, cmake, perl, libtool, chrpath, texinfo, sharutils, libffi-dev (>= 3.0.9), @@ -460,7 +459,8 @@ Package: lldb-3.9 Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel arm64 # ia64 mips mipsel hurd powerpc ppc64 ppc64el sparc64 s390x have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm3.9 (= ${binary:Version}), llvm-3.9-dev +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm3.9 (= ${binary:Version}), llvm-3.9-dev, + python-lldb-3.9 Conflicts: lldb-3.4, lldb-3.5 Pre-Depends: ${misc:Pre-Depends} Description: Next generation, high-performance debugger diff -Nru llvm-toolchain-3.9-3.9.1/debian/rules llvm-toolchain-3.9-3.9.1/debian/rules --- llvm-toolchain-3.9-3.9.1/debian/rules 2017-09-15 18:57:27.000000000 +0000 +++ llvm-toolchain-3.9-3.9.1/debian/rules 2017-09-08 09:57:07.000000000 +0000 @@ -16,9 +16,6 @@ DEBIAN_REVISION := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9.]+)(~|-)(.*),\3,p") ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) - #ifneq (,$(filter $(DEB_HOST_ARCH),arm64)) - # NJOBS := -j 2 - #endif endif VENDOR=$(shell lsb_release -is) @@ -48,7 +45,9 @@ # Only pass -gsplit-dwarf with working version of gcc 7 # More: https://bugs.llvm.org/show_bug.cgi?id=34140 & https://bugs.debian.org/873609 CXXFLAGS_EXTRA += -gsplit-dwarf -endif # < gcc 7 or > 7.2.0-2 +else +$(error "Broken gcc version for -gsplit-dwarf support. Please use < gcc 7 or >= 7.2.0-2") +endif # < gcc 7 or >= 7.2.0-2 endif # binutils endif # archs @@ -271,14 +270,12 @@ override_dh_auto_build: $(PRE_PROCESS) $(MAKE) $(NJOBS) -C $(TARGET_BUILD) VERBOSE=1 CLANG_VENDOR=$(VENDOR) CXXFLAGS="$(CXXFLAGS_EXTRA)" LDFLAGS="$(LDFLAGS_EXTRA)" REQUIRES_RTTI=1 DEBUGMAKE=1 -ifeq ($(FUZZER_ENABLE),yes) cd $(TARGET_BUILD) \ CFLAGS=`dpkg-buildflags --get CFLAGS`; \ CFLAGS="$$CFLAGS `dpkg-buildflags --get CPPFLAGS`"; \ echo $$CFLAGS; \ bin/clang++ -v -c $$CFLAGS -std=c++11 ../lib/Fuzzer/*.cpp -IFuzzer; \ ar ruv libFuzzer.a Fuzzer*.o -endif override_dh_prep: build_doc dh_prep @@ -347,10 +344,8 @@ mkdir -p $(CURDIR)/debian/clang-$(LLVM_VERSION)/usr/bin/ cp compiler-rt/lib/asan/scripts/asan_symbolize.py $(CURDIR)/debian/clang-$(LLVM_VERSION)/usr/bin/asan_symbolize-$(LLVM_VERSION) -ifeq ($(FUZZER_ENABLE),yes) mkdir -p $(CURDIR)/debian/libfuzzer-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/lib/ cp -v $(TARGET_BUILD)/libFuzzer.a $(CURDIR)/debian/libfuzzer-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/lib/ -endif # Create this fake directory to make the install libclang-common-dev happy # under the unsupported archs of compiler-rt