Bug#772122: libclang-common-3.5-dev: x86_64 clang does not ship i386 asan libraries for -m32 compilation

Tim Besard tbesard at phoenix.elis.ugent.be
Fri Dec 5 10:03:54 UTC 2014


Package: libclang-common-3.5-dev
Version: 1:3.5-6
Severity: normal

Dear Maintainer,

Trying to use the address sanitizer, with -m32 on a x86_64 platform,
but clang complains about missing files:
    $ clang -fsanitize=address -m32 /dev/null
    /usr/bin/ld: cannot find
        /usr/lib/llvm-3.5/bin/../lib/clang/3.5.0/lib/linux/libclang_rt.asan-i386.a:
        No such file or directory

This file does not exist anywhere on my system.
In case of a 64bit debian, it seems like only libclang_rt.asan-x86_64.a is shipped.

I cannot install libclang-common-3.5-dev:i386 (which does provide this file) either,
because it conflicts with the 64-bit package.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (1001, 'testing'), (500, 'testing-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libclang-common-3.5-dev depends on:
ii  libllvm3.5  1:3.5-6

libclang-common-3.5-dev recommends no packages.

libclang-common-3.5-dev suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list