[llvm-dev] LLVM not building this morning (for me) on Mac OS X

Marshall Clow via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 5 08:05:17 PST 2017


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:

$ cmake $LLVM/llvm -DLLVM_ENABLE_LIBCXX=On -DCMAKE_INSTALL_PREFIX=$LLVM/bin
-DCMAKE_BUILD_TYPE=Release

Any ideas?

-- Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170105/805cf8ad/attachment.html>


More information about the llvm-dev mailing list