Package: release.debian.org User: release.debian.org@packages.debian.org Usertags: unblock Hi Release Team Please unblock package llvm-toolchain-3.8, we fixed the Julia build (bad arm64 generated code), and also fixed a sanitizer hang on newer kernels (it is an upstream patch, it might be incomplete, we tested and it worked, but it hanged again on one buildd) unblock llvm-toolchain-3.8/1:3.8.1-24 thanks G.
diff -Nru llvm-toolchain-3.8-3.8.1/debian/changelog llvm-toolchain-3.8-3.8.1/debian/changelog --- llvm-toolchain-3.8-3.8.1/debian/changelog 2017-04-25 19:46:34.000000000 +0200 +++ llvm-toolchain-3.8-3.8.1/debian/changelog 2017-06-02 15:15:49.000000000 +0200 @@ -1,3 +1,14 @@ +llvm-toolchain-3.8 (1:3.8.1-24) unstable; urgency=medium + + * Team upload + * debian/patches/fix-R_AARCH64_MOVW_UABS_G3-relocation.patch: + fix relocation issue, preventing Julia from working correctly on + arm64 (Closes: #862360, #861484) + * debian/patches/asan-48bit-VMA-aarch64.patch: + - fix asan testsuite hang with some arm64 builders. + + -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 02 Jun 2017 15:11:29 +0200 + llvm-toolchain-3.8 (1:3.8.1-23) unstable; urgency=medium * Oups, same player try again (wrong package name, sorry) diff -Nru llvm-toolchain-3.8-3.8.1/debian/patches/asan-48bit-VMA-aarch64.patch llvm-toolchain-3.8-3.8.1/debian/patches/asan-48bit-VMA-aarch64.patch --- llvm-toolchain-3.8-3.8.1/debian/patches/asan-48bit-VMA-aarch64.patch 1970-01-01 01:00:00.000000000 +0100 +++ llvm-toolchain-3.8-3.8.1/debian/patches/asan-48bit-VMA-aarch64.patch 2017-06-02 15:12:44.000000000 +0200 @@ -0,0 +1,16 @@ +Description: [asan] Enable 48-bit VMA support on aarch64 +Origin: upstream, https://reviews.llvm.org/D22095?id=63084 +Bug-Debian: https://bugs.debian.org/862360 +Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> +Last-Update: 2016-07-07 +--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h ++++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h +@@ -114,6 +114,8 @@ + // will still work but will consume more memory for TwoLevelByteMap. + #if defined(__mips__) + # define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 40) ++#elif defined(__aarch64__) ++# define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 48) + #else + # define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 47) + #endif diff -Nru llvm-toolchain-3.8-3.8.1/debian/patches/fix-R_AARCH64_MOVW_UABS_G3-relocation.patch llvm-toolchain-3.8-3.8.1/debian/patches/fix-R_AARCH64_MOVW_UABS_G3-relocation.patch --- llvm-toolchain-3.8-3.8.1/debian/patches/fix-R_AARCH64_MOVW_UABS_G3-relocation.patch 1970-01-01 01:00:00.000000000 +0100 +++ llvm-toolchain-3.8-3.8.1/debian/patches/fix-R_AARCH64_MOVW_UABS_G3-relocation.patch 2017-06-02 15:14:37.000000000 +0200 @@ -0,0 +1,16 @@ +Description: Fix R_AARCH64_MOVW_UABS_G3 relocation +Origin: upstream, https://reviews.llvm.org/D27609?id=80860 +Bug-Debian: https://bugs.debian.org/862360 +Author: Yichao Yu <yyc1992@gmail.com> +Last-Update: 2016-12-15 +--- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp ++++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +@@ -357,7 +357,7 @@ + // bits affected by the relocation on entry is garbage. + *TargetPtr &= 0xffe0001fU; + // Immediate goes in bits 20:5 of MOVZ/MOVK instruction +- *TargetPtr |= Result >> (48 - 5); ++ *TargetPtr |= (Result & 0xffff000000000000ULL) >> (48 - 5); + // Shift must be "lsl #48", in bits 22:21 + assert((*TargetPtr >> 21 & 0x3) == 3 && "invalid shift for relocation"); + break; diff -Nru llvm-toolchain-3.8-3.8.1/debian/patches/series llvm-toolchain-3.8-3.8.1/debian/patches/series --- llvm-toolchain-3.8-3.8.1/debian/patches/series 2017-03-19 22:10:46.000000000 +0100 +++ llvm-toolchain-3.8-3.8.1/debian/patches/series 2017-06-02 15:11:44.000000000 +0200 @@ -57,3 +57,5 @@ lldb-server-path.diff lldb-server-link.diff add_symbols_versioning.patch +fix-R_AARCH64_MOVW_UABS_G3-relocation.patch +asan-48bit-VMA-aarch64.patch
Attachment:
signature.asc
Description: OpenPGP digital signature