libclang-common-3.9-dev: missing multilib binaries for the sanatizer

libraries (Closes: #841923)
Many thanks to Norbert Lange for the changes
This commit is contained in:
Sylvestre Ledru 2016-11-05 13:36:42 +00:00
commit c573e326bc
5 changed files with 22 additions and 8 deletions

7
debian/changelog vendored
View File

@ -4,10 +4,11 @@ llvm-toolchain-3.9 (1:3.9-5) UNRELEASED; urgency=medium
to fix some issues in rust (Closes: #842956) to fix some issues in rust (Closes: #842956)
Many thanks to Ximin Luo for the investigation Many thanks to Ximin Luo for the investigation
* libclang-common-3.9-dev: missing multilib binaries for the sanatizer
libraries (Closes: #841923)
Many thanks to Norbert Lange for the changes
[ Pauli ] [ Pauli ]
* d/p/clang-default-to-i686-on-32bit-x86-targets.patch:
Set i386 default target CPU to be i686 (same as gcc)
(Closes: #812803)
* d/p/clang-fix-cmpxchg8-detection-on-i386.patch: * d/p/clang-fix-cmpxchg8-detection-on-i386.patch:
libcxx atomic tests for old i386 fail with wrong Atomic inline width. libcxx atomic tests for old i386 fail with wrong Atomic inline width.
Needed for libc++ Needed for libc++

3
debian/control vendored
View File

@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9.0), flex, bison, dejagnu, tcl, expect,
lsb-release, patchutils, diffstat, xz-utils, python-dev, lsb-release, patchutils, diffstat, xz-utils, python-dev,
libedit-dev, swig, python-six, python-sphinx, ocaml-nox, binutils-dev, libedit-dev, swig, python-six, python-sphinx, ocaml-nox, binutils-dev,
libjsoncpp-dev, libjsoncpp-dev,
lcov, procps, help2man, dh-ocaml, zlib1g-dev lcov, procps, help2man, dh-ocaml, zlib1g-dev,
g++-multilib
Build-Conflicts: oprofile, ocaml, libllvm-3.4-ocaml-dev, libllvm-3.5-ocaml-dev, Build-Conflicts: oprofile, ocaml, libllvm-3.4-ocaml-dev, libllvm-3.5-ocaml-dev,
libllvm-3.8-ocaml-dev, libllvm-3.9-ocaml-dev libllvm-3.8-ocaml-dev, libllvm-3.9-ocaml-dev
Standards-Version: 3.9.8 Standards-Version: 3.9.8

View File

@ -39,6 +39,5 @@ drop-wrong-hack-arm64.patch
bug-30342.diff bug-30342.diff
fix-scan-view-path.diff fix-scan-view-path.diff
0011-SimplifyCFG-Hoisting-invalidates-metadata.patch 0011-SimplifyCFG-Hoisting-invalidates-metadata.patch
clang-default-to-i686-on-32bit-x86-targets.patch
clang-fix-cmpxchg8-detection-on-i386.patch clang-fix-cmpxchg8-detection-on-i386.patch
lldb-addversion-suffix-to-llvm-server-exec.patch lldb-addversion-suffix-to-llvm-server-exec.patch

View File

@ -0,0 +1,12 @@
Index: llvm-toolchain-3.8-3.8.1/test/tools/llvm-symbolizer/print_context.c
===================================================================
--- llvm-toolchain-3.8-3.8.1.orig/test/tools/llvm-symbolizer/print_context.c
+++ llvm-toolchain-3.8-3.8.1/test/tools/llvm-symbolizer/print_context.c
@@ -1,6 +1,7 @@
// REQUIRES: x86_64-linux
// RUN: %host_cc -O0 -g %s -o %t 2>&1
// RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s --check-prefix=CHECK
+// XFAIL: *
#include <stdio.h>

3
debian/rules vendored
View File

@ -400,7 +400,8 @@ override_dh_auto_install:
override_dh_shlibdeps: override_dh_shlibdeps:
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ dh_shlibdeps # Ignore asan libraries. They would trigger dependencies to multiarch libraries
dh_shlibdeps -l$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ -Xlibclang_rt.asan -Xlibclang_rt.asan
override_dh_installman: override_dh_installman:
dh_installman dh_installman