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
Sun Jan 6 19:32:18 UTC 2013


On Sun, Jan 6, 2013 at 7:19 PM, Sylvestre Ledru <sylvestre at debian.org> wrote:
>
>>> 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
>>
>> Which platform ? I cannot find the lib neither:
>> http://packages.debian.org/experimental/amd64/libclang-common-dev/filelist
>> nor:
>> http://packages.debian.org/experimental/i386/libclang-common-dev/filelist
> sudo apt-get install compiler-rt
>
> I will update the error message to make it debian specific.

I am still missing the package which provide the missing lib:


$ 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)

$ apt-cache policy compiler-rt
compiler-rt:
  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


I am using -fsanitize=null and not -fsanitize=address

Thanks



More information about the Pkg-llvm-team mailing list