"If the answer is no", of course. On Nov 20, 2013 8:02 AM, "Alexander Potapenko" <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> 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/6d7c6d11/attachment.html>
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
Can you please reconfigure and attach the full log of 'make VERBOSE=1' ? On Nov 20, 2013 8:25 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote:> 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131120/f61f65d9/attachment.html>