From: Peter Michael Green Date: Thu, 6 Jul 2017 20:49:03 +0000 (+0100) Subject: Merge raspbian changes from llvm-toolchain-3.9 packaging. X-Git-Tag: archive/raspbian/1%4.0.1-1+rpi1~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=019f07c5de27a04a420eb6889bbe96c9dca246d7;p=llvm-toolchain-4.0.git Merge raspbian changes from llvm-toolchain-3.9 packaging. --- 019f07c5de27a04a420eb6889bbe96c9dca246d7 diff --cc compiler-rt/cmake/base-config-ix.cmake index 71d14992e,9f79a8ee5..8d1f2693f --- a/compiler-rt/cmake/base-config-ix.cmake +++ b/compiler-rt/cmake/base-config-ix.cmake @@@ -167,12 -153,8 +167,12 @@@ macro(test_targets test_target_arch(mips "" "-mips32r2" "--target=mips-linux-gnu") test_target_arch(mips64 "" "-mips64r2" "--target=mips64-linux-gnu" "-mabi=64") elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "arm") - test_target_arch(arm "" "" "-mfloat-abi=soft") - test_target_arch(armhf "" "" "-mfloat-abi=hard") + if(WIN32) + test_target_arch(arm "" "" "") + else() - test_target_arch(arm "" "-march=armv7-a" "-mfloat-abi=soft") - test_target_arch(armhf "" "-march=armv7-a" "-mfloat-abi=hard") ++ test_target_arch(arm "" "" "-mfloat-abi=soft") ++ test_target_arch(armhf "" "" "-mfloat-abi=hard") + endif() elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch32") test_target_arch(aarch32 "" "-march=armv8-a") elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch64") diff --cc debian/changelog index 0c5501e19,29d278e38..01fb8fc0e --- a/debian/changelog +++ b/debian/changelog @@@ -1,51 -1,52 +1,72 @@@ -llvm-toolchain-3.9 (1:3.9.1-10+rpi1) buster-staging; urgency=medium ++llvm-toolchain-4.0 (1:4.0.1-1+rpi1) buster-staging; urgency=medium + + [changes brought forward from llvm-toolchain-3.8 1:3.8-2+rpi1 by Peter Michael Green at Sat, 14 May 2016 21:43:35 +0000] + * Cleanup .pyc files in clean target. + * Add a hack to the cmake based build to force armv6 (unfortunately the cmake + based build relies on config.guess which assumes you want to build for the + hardware you are running on). + * Add -DCOMPILER_RT_BUILD_BUILTINS=OFF to disable parts of compiler-rt that + are broken on lower arm architectures. + + [changes introduced in llvm-toolchain-3.9 1:3.9.1-1 by Peter Michael Green] + * disable testsuite (using a method that is hopefully less likely to cause diff conflicts than previously). + * Remove -march=armv7-a in compiler-rt/cmake/config-ix-base.cmake + * Clean up debian/usr in clean target. + * Clean up clang/tools/*-3.9 in clean target. + * Clean up stray *3.9.vim files + * Clean up clang/tools/scan-build/man/scan-build-3.9.1 and utils/vim/llvm-3.9-vimrc + * Clean up debian/*.install + - -- Raspbian forward porter Wed, 28 Jun 2017 23:45:48 +0000 ++ -- Peter Micahel Green Thu, 06 Jul 2017 20:48:08 +0000 + -llvm-toolchain-3.9 (1:3.9.1-10) unstable; urgency=medium +llvm-toolchain-4.0 (1:4.0.1-1) unstable; urgency=medium - * Now that strech has been released, upload in unstable! - This is necessary for rust in unstable - * Try to fix some PATH_MAX on hurd - * Enable the verbose mode when trying to build libfuzzer - to detect potential issues in the path search + * New stable release + * Add libomp-dev to the suggests of clang + * Add the ld.lld manpage + * Add Provides on python-lldb-x.y & python-clang-x.y & libllvm-x.y-ocaml-dev + to avoid the recurring problem about conflicts + (Closes: #835546, #863739, #863742) + * Standards-Version => 4.0.0 + * Generate the llvm-tblgen, clang-change-namespace, clang-offload-bundler + lld, clang++, clang-check, clang-cpp & clang-import-test manpages + * Remove the --no-discard-stderr option from help2man calls + + -- Sylvestre Ledru Wed, 14 Jun 2017 19:06:20 +0200 + +llvm-toolchain-4.0 (1:4.0.1~+rc3-1) unstable; urgency=medium + + [ Sylvestre Ledru ] + * Try to fix polly on hurd (missing PATH_MAX) + * New snapshot release - -- Sylvestre Ledru Sun, 18 Jun 2017 19:12:15 +0200 + [ Gianfranco Costamagna ] + * Fix clang-doc generation + - there was a missing install file -llvm-toolchain-3.9 (1:3.9.1-10~exp1) experimental; urgency=medium + -- Sylvestre Ledru Wed, 14 Jun 2017 09:59:59 +0200 - [ Ximin Luo ] - * Fix a rustc armhf SIGILL by backporting upstream D31265. +llvm-toolchain-4.0 (1:4.0.1~+rc2-1) unstable; urgency=medium - -- Sylvestre Ledru Mon, 12 Jun 2017 17:38:06 +0200 + * New snapshot release + * Remove clang-tblgen from clang-X.Y (done by upstream) -llvm-toolchain-3.9 (1:3.9.1-9) unstable; urgency=medium + -- Sylvestre Ledru Thu, 01 Jun 2017 23:01:38 +0200 - * debian/patches/fix-R_AARCH64_MOVW_UABS_G3-relocation.patch: - fix relocation issue, preventing Julia from working correctly on - arm64 (Closes: #862535) - * Fix doc generation (Closes: #862597) - - there was a missing install file +llvm-toolchain-4.0 (1:4.0.1~+rc1-2) unstable; urgency=medium - -- Gianfranco Costamagna Fri, 02 Jun 2017 15:14:18 +0200 + * Only enable libfuzzer for Linux kernel. + Thanks to Pino Toscano for the patch -llvm-toolchain-3.9 (1:3.9.1-8) unstable; urgency=medium + -- Sylvestre Ledru Sat, 06 May 2017 10:03:14 +0200 + +llvm-toolchain-4.0 (1:4.0.1~+rc1-1) unstable; urgency=medium + + * New snapshot release + + -- Sylvestre Ledru Fri, 05 May 2017 09:44:42 +0200 + +llvm-toolchain-4.0 (1:4.0-5) unstable; urgency=medium * Really fix "use versioned symbols" for llvm Thanks to Julien Cristau for the patch (Closes: #849098) diff --cc debian/patches/series index 0af13e9ed,a74766e3a..18a3abef5 --- a/debian/patches/series +++ b/debian/patches/series @@@ -29,20 -29,26 +29,21 @@@ clang-analyzer-force-version.dif install-scan-build-py.diff scan-view-fix-path.diff mips-fpxx-enable.diff -disable-test-failing-sparc-i386.diff fix-cmake-config-prefix.diff lldb-link-atomic-cmake.patch +disable-source-interleave.diff +silent-gold-utils.diff disable-llvm-symbolizer-test.diff -kfreebsd-support.diff +#fix-lldb-server-build clang-tidy-run-bin.diff -drop-wrong-hack-arm64.patch +#bug-30342.diff fix-scan-view-path.diff +#0011-SimplifyCFG-Hoisting-invalidates-metadata.patch clang-fix-cmpxchg8-detection-on-i386.patch -upstream-msan-prevent-initialization-failure.diff -upstream-asan-msan-fix-reallocation-logic.diff -lit-force-lang.diff -clang-arm-default-vfp3-on-armv7a.patch lldb-addversion-suffix-to-llvm-server-exec.patch -lldb-server-link.diff -amdgpu-regression.diff -esan-Fix-ESan-test-failure-on-Debian-Sid-bot.diff -esan-Fix-ESan-test-failure-on-Debian-Sid-bot2.diff -857623-allow-opencl-pointer-to-bool.diff +lldb-missing-install.diff +silent-test-failing-codeverage.diff +silent-amdgpu-test-failing.diff +pthread-link.diff add_symbols_versioning.patch -fix-R_AARCH64_MOVW_UABS_G3-relocation.patch -rust-0032-Fix-computeKnownBits-for-ARMISD-CMOV.patch + cmake-arm-version-hack.patch diff --cc debian/rules index 8f944cf60,53a5fc316..0b91b753f --- a/debian/rules +++ b/debian/rules @@@ -500,7 -476,8 +506,7 @@@ override_dh_installdeb # Remove auto generated python pyc find $(CURDIR)/debian/llvm-$(LLVM_VERSION)-tools/usr/lib/llvm-$(LLVM_VERSION)/ -name '*.pyc' | xargs -r rm -f - ifeq (${RUN_TEST},yes) - + ifeq (false,true) # List of the archs we know we have 100 % tests working ARCH_LLVM_TEST_OK := i386 amd64