I’ve got a tip-of-trunk checkout of llvm, cfe, and compiler-rt. I’m building on Ubuntu 14.04, so using GCC 4.8.2 for the build.
CMake configuration works fine, and a full build (‘make all’) also works fine. When I run ‘make check-all’, I see quite a lot of unit tests being built, and then the following output:
[ 86%] Built target clang
[ 86%] Built target RTSanitizerCommonNoLibc.x86_64
[ 86%] Built target RTSanitizerCommon.test.nolibc.x86_64
make: *** No rule to make target
bin/clang', needed by projects/compiler-rt/lib/sanitizer_common/tests/CMakeFiles/Sanitizer-x86_64-Test-Nolibc’. Stop.
make: *** [projects/compiler-rt/lib/sanitizer_common/tests/CMakeFiles/Sanitizer-x86_64-Test-Nolibc.dir/all] Error 2
make: *** [CMakeFiles/check-all.dir/rule] Error 2
make: *** [check-all] Error 2
Have I missed something in the configuration, or a required piece of software?