Bug#729049: clang-3.3: Failed to build 32-bit program with undefined behavior sanitizer on 64-bit host

Turo Lamminen turotl at gmail.com
Fri Nov 8 10:31:04 UTC 2013


Package: clang-3.3
Version: 1:3.3-12
Severity: normal

I'm trying to build a 32-bit program with undefined behavior sanitizer
on a 64-bit host. Linker fails with this error:

/usr/bin/ld: cannot find /usr/bin/../lib/clang/3.3/lib/linux/libclang_rt.san-i386.a: No such file or directory

The 64-bit libraries are in package libclang-common-3.3-dev but it's not
possible to install the 32-bit package simultaneously, aptitude says:
 libclang-common-3.3-dev : Conflicts: libclang-common-3.3-dev:i386 but 1:3.3-12 is to be installed.
 libclang-common-3.3-dev:i386 : Conflicts: libclang-common-3.3-dev but 1:3.3-12 is installed.

Building 32-bit programs without the sanitizer works fine.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10.17+ (SMP w/8 CPU cores; PREEMPT)
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 clang-3.3 depends on:
ii  libc6                    2.17-93
ii  libclang-common-3.3-dev  1:3.3-12
ii  libclang1-3.3            1:3.3-12
ii  libffi6                  3.0.13-4
ii  libgcc-4.8-dev           4.8.2-1
ii  libgcc1                  1:4.8.2-1
ii  libllvm3.3               1:3.3-12
ii  libobjc-4.8-dev          4.8.2-1
ii  libstdc++-4.8-dev        4.8.2-1
ii  libstdc++6               4.8.2-1

Versions of packages clang-3.3 recommends:
ii  llvm-3.3-dev  1:3.3-9
ii  python        2.7.5-5

clang-3.3 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list