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

Mike Aizatsky via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 5 09:00:29 PST 2017


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

On Thu, Jan 5, 2017 at 8:05 AM Marshall Clow <mclow.lists at gmail.com> wrote:

> 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
>
> --
Mike
Sent from phone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170105/c5cafe4c/attachment.html>


More information about the llvm-dev mailing list