[LLVMdev] Can't compile compiler-rt, asan error

Alexander Potapenko glider at google.com
Tue Nov 19 20:02:15 PST 2013


Do you have the iossim sdk installed on your machine (check by 'xcrun
--show-sdk-path --sdk iphonesimulator')?
If the answer is yes and you're testing on ToT, that's a bug. I'll take a
look.
On Nov 20, 2013 5:05 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote:

> Compiler-rt is broken for me. I'm compiling with top of trunk llvm, clang
> and compiler-rt using automake on Darwin.
>
> Is anyone else seeing this error?
>
> llvm[4]: Copying runtime library darwin/asan_iossim_dynamic to build dir
> llvm[4]: Copying runtime library darwin/ubsan_osx to build dir
> cp:
> /Volumes/Files/yuchen_wu/dev/llvm/build/tools/clang/runtime/compiler-rt/clang_darwin/asan_iossim_dynamic/libcompiler_rt.dylib:
> No such file or directory
> make[4]: ***
> [/Volumes/Files/yuchen_wu/dev/llvm/build/Debug+Asserts/lib/clang/3.4/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib]
> Error 1
> make[4]: *** Waiting for unfinished jobs....
> llvm[4]: Fixing LC_ID_DYLIB of
> /Volumes/Files/yuchen_wu/dev/llvm/build/Debug+Asserts/lib/clang/3.4/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
> make[3]: *** [compiler-rt/.makeall] Error 2
> make[2]: *** [all] Error 1
> make[1]: *** [clang/.makeall] Error 2
> make: *** [all] Error 1
>
> The folder asan_iossim_dynamic does not seem to exist.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131120/c6fd5b0e/attachment.html>


More information about the llvm-dev mailing list