LLVM not building this morning (for me) on Mac OS X

Here’s the error:

[ 58%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.iossim.dir/sanitizer_procmaps_mac.cc.o
[ 58%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.ios.dir/sanitizer_libc.cc.o
[ 58%] Linking CXX shared library …/…/…/…/lib/clang/4.0.0/lib/darwin/libclang_rt.stats_ios_dynamic.dylib
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
[ 58%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.osx.dir/sanitizer_persistent_allocator.cc.o
Undefined symbols for architecture armv7:
“___sancov_default_options”, referenced from:
__sancov::InitializeSancovFlags() in sancov_flags.cc.o
__sancov::InitializeSancovFlags() in sancov_flags.cc.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/clang/4.0.0/lib/darwin/libclang_rt.stats_ios_dynamic.dylib] Error 1
make[1]: *** [projects/compiler-rt/lib/stats/CMakeFiles/clang_rt.stats_ios_dynamic.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…

(on a different machine, I get that error for i386 as well)

Here’s my cmake invocation:


Any ideas?

– Marshall

I think this was me. https://reviews.llvm.org/rL291068
I’ll roll back.

Rolled back in https://reviews.llvm.org/rL291141
Sorry for the breakage.


-- Marshall

P.S. If you need someone to test out a patch, let me know.