diff --git a/debian/changelog b/debian/changelog index 2aa76017..6bbdec24 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-snapshot (1:10~svn368740-1~exp2) experimental; urgency=medium + + * Workaround bug https://bugs.llvm.org/show_bug.cgi?id=42994 + (fails to link on Debian buster) + + -- Sylvestre Ledru Wed, 14 Aug 2019 13:21:54 +0200 + llvm-toolchain-snapshot (1:10~svn368740-1~exp1) experimental; urgency=medium [ Gianfranco Costamagna ] @@ -20,6 +27,21 @@ llvm-toolchain-snapshot (1:10~svn368740-1~exp1) experimental; urgency=medium -- Sylvestre Ledru Tue, 13 Aug 2019 21:37:46 +0200 +llvm-toolchain-snapshot (1:10~svn368706-1~exp1) experimental; urgency=medium + + [ Sylvestre Ledru ] + * lldb-mi removed + + [ Gianfranco Costamagna ] + * clangd: fix missing epoch in breaks/replaces relationship + * testsuite, add python, used in some test + * Cherry-pick various fixes from branch 8 and 9, do not break anymore with libllvm3.9v4 + + [ Sylvestre Ledru ] + * New snapshot release + + -- Sylvestre Ledru Tue, 13 Aug 2019 17:55:41 +0200 + llvm-toolchain-snapshot (1:10~svn366440-1~exp1) experimental; urgency=medium * New version in snapshot (10) diff --git a/debian/patches/series b/debian/patches/series index 2778ee61..f483750c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -127,3 +127,6 @@ bootstrap-fix-include-next.diff # riscv64 clang-riscv64-multiarch.diff + +# Compiler-rt - workaround +workaround-bug-42994-use-linker.diff diff --git a/debian/patches/workaround-bug-42994-use-linker.diff b/debian/patches/workaround-bug-42994-use-linker.diff new file mode 100644 index 00000000..82063ca1 --- /dev/null +++ b/debian/patches/workaround-bug-42994-use-linker.diff @@ -0,0 +1,13 @@ +Index: llvm-toolchain-snapshot-10~svn368743/projects/compiler-rt/lib/hwasan/CMakeLists.txt +=================================================================== +--- llvm-toolchain-snapshot-10~svn368743.orig/projects/compiler-rt/lib/hwasan/CMakeLists.txt ++++ llvm-toolchain-snapshot-10~svn368743/projects/compiler-rt/lib/hwasan/CMakeLists.txt +@@ -40,7 +40,7 @@ append_list_if(COMPILER_RT_HWASAN_WITH_I + + set(HWASAN_RTL_CFLAGS ${SANITIZER_COMMON_CFLAGS}) + append_rtti_flag(OFF HWASAN_RTL_CFLAGS) +-append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC HWASAN_RTL_CFLAGS) ++append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC -fuse-ld=gold HWASAN_RTL_CFLAGS) + # Prevent clang from generating libc calls. + append_list_if(COMPILER_RT_HAS_FFREESTANDING_FLAG -ffreestanding HWASAN_RTL_CFLAGS) +