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

Sylvestre Ledru sylvestre at debian.org
Sat Jan 5 08:09:28 UTC 2013


Salut Mathieu,

On 02/01/2013 16:11, Mathieu Malaterre wrote:> 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)
What do you expect from -fsanitize=null ?

Both:
$ clang++ -fsanitize=address -o plop foo.cpp
$ clang++ -fsanitize=address -stdlib=libc++ -o plop foo.cpp
works for me with clang 3.2-1~exp1 and libc++ 1.0~svn170866-1~exp1

Sylvestre



More information about the Pkg-llvm-team mailing list