LLVM と Clang をビルドしようとしましたが、次のエラーが発生します。
cp: cp: cp: stat できません
/home/saurabh/Build/clang-build/build/tools/clang/runtime/compiler-rt/clang_linux/asan-i386/libcompiler_rt.a'cannot stat
/home/saurabh/Build/clang-build/build/tools/clang/runtime/compiler-rt/clang_linux/ubsan-x86_64/libcompiler_rt.a'cannot stat `/home/saurabh/Build /clang-build/build/tools/clang/runtime/compiler-rt/clang_linux/ubsan-i386/libcompiler_rt.a': No such file or directory : No such file or directory: No such file or directory
LLVM と Clang をビルドできませんでしたが、同様のエラーが発生した理由はないようです (したがって、もう一度質問します)。それ以前は、このエラーで停止していたため、compiler-rt/make/ 関連ファイルの -Werror フラグを削除しようとしました。
/home/saurabh/Build/clang-build/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_mutex.cc:53:13: エラー: 定数 4294967295 と型「int」の式の比較は常に false [ -Werror,-Wtautological-constant-out-of-range-compare] if (z == MutexTypeLeaf) { ~ ^ ~~~~~~~~~~~~ 1 エラーが発生しました。
#llvm で質問したところ、そのように提案されました。これを引き起こしている可能性のあるアイデアはありますか? Fwiw、私は Ubuntu 12.10 64 ビットを使用しています。