Bug#796211: clang-3.8: -fsanitize doesn't work due to missing ubsan libraries (they were in libclang-common-3.x-dev)

Vincent Lefevre vincent at vinc17.net
Thu Aug 20 10:40:06 UTC 2015


Package: clang-3.8
Version: 1:3.8~svn245286-1
Severity: important

$ clang-3.8 -fsanitize=undefined min.c
/usr/bin/ld.bfd.real: cannot find /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is the same problem as with clang-3.7; see:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779785

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages clang-3.8 depends on:
ii  binutils                 2.25.1-1
ii  libc6                    2.19-19
ii  libc6-dev                2.19-19
ii  libclang-common-3.8-dev  1:3.8~svn245286-1
ii  libclang1-3.8            1:3.8~svn245286-1
ii  libedit2                 3.1-20150325-1
ii  libffi6                  3.2.1-3
ii  libgcc-5-dev             5.2.1-15
ii  libgcc1                  1:5.2.1-15
ii  libllvm3.8               1:3.8~svn245286-1
ii  libobjc-5-dev            5.2.1-15
ii  libstdc++-5-dev          5.2.1-15
ii  libstdc++6               5.2.1-15
ii  libtinfo5                6.0+20150810-1
ii  zlib1g                   1:1.2.8.dfsg-2+b1

Versions of packages clang-3.8 recommends:
ii  llvm-3.8-dev  1:3.8~svn245286-1
ii  python        2.7.9-1

Versions of packages clang-3.8 suggests:
ii  clang-3.8-doc  1:3.8~svn245286-1
pn  gnustep        <none>
pn  gnustep-devel  <none>

-- no debconf information



More information about the Pkg-llvm-team mailing list