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

Yuchen Wu yuchenericwu at hotmail.com
Tue Nov 19 20:25:08 PST 2013


It looks like it:

[/Volumes/Files/yuchen_wu/dev/llvm/build]$ xcrun --show-sdk-path --sdk iphonesimulator
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk

________________________________
> Date: Wed, 20 Nov 2013 08:03:21 +0400 
> Subject: Re: [LLVMdev] Can't compile compiler-rt, asan error 
> From: glider at google.com 
> To: yuchenericwu at hotmail.com 
> CC: llvmdev at cs.uiuc.edu 
> 
> 
> "If the answer is no", of course. 
> 
> On Nov 20, 2013 8:02 AM, "Alexander Potapenko" 
> <glider at google.com<mailto:glider at google.com>> wrote: 
> 
> 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<mailto: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<mailto:LLVMdev at cs.uiuc.edu> 
> http://llvm.cs.uiuc.edu 
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev 		 	   		  



More information about the llvm-dev mailing list