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

Sylvestre Ledru sylvestre at debian.org
Thu Aug 20 10:58:07 UTC 2015


Le 20/08/2015 12:40, Vincent Lefevre a écrit :
> 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
>
Yep, this is because they are now generated only with the cmake build
infra and I am still using the autotools one...

Sylvestre



More information about the Pkg-llvm-team mailing list