[cfe-dev] libclang_rt.ubsan_standalone-x86_64.a: No such file or directory

Reid Kleckner via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 8 14:57:28 PDT 2020


Sounds like you need to build the ubsan runtime. When you run cmake, make
sure compiler-rt is part of LLVM_ENABLE_PROJECTS, as in:
cmake -DLLVM_ENABLE_PROJECTS=llvm;clang;compiler-rt;lld;...

I believe it is not enabled by default.

On Fri, Apr 3, 2020 at 3:19 AM suyash singh via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hello,
>
> I built using https://llvm.org/docs/CMake.html in a separate directory as
> well as the build2 directory.
> [image: image.png]
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200408/fe5c9205/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 59083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200408/fe5c9205/attachment-0001.png>


More information about the cfe-dev mailing list