Bug#697199: cannot find ../lib/clang/3.2/lib/linux/libclang_rt.ubsan-x86_64.a: No such file or directory

Mathieu Malaterre malat at debian.org
Wed Jan 2 15:11:29 UTC 2013


Package: clang
Version: 3.2-1~exp1
Severity: grave
Justification: renders package unusable


After following the explanation from the excellent blog:

http://sylvestre.ledru.info/blog/sylvestre/2012/08/15/libc_new_c_standard_library_in_debian

I still cannot get clang++ to work on my sid+experimental schroot system. it fails with:

$ clang++ -fsanitize=null -o plop foo.cpp
/usr/bin/ld: cannot find /usr/bin/../lib/clang/3.2/lib/linux/libclang_rt.ubsan-x86_64.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And even with libc++:

$ clang++ -stdlib=libc++ -fsanitize=null -o plop foo.cpp
/usr/bin/ld: cannot find /usr/bin/../lib/clang/3.2/lib/linux/libclang_rt.ubsan-x86_64.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

With:

$ apt-cache policy clang libc++-dev
clang:
  Installed: 3.2-1~exp1
  Candidate: 3.2-1~exp1
  Version table:
 *** 3.2-1~exp1 0
          1 http://ftp.fr.debian.org/debian/ experimental/main amd64 Packages
        100 /var/lib/dpkg/status
     3.1-8 0
        500 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages
libc++-dev:
  Installed: 1.0~svn170866-1~exp1
  Candidate: 1.0~svn170866-1~exp1
  Version table:
 *** 1.0~svn170866-1~exp1 0
          1 http://ftp.fr.debian.org/debian/ experimental/main amd64 Packages
        100 /var/lib/dpkg/status

thanks!

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

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



More information about the Pkg-llvm-team mailing list