我在编译clang时遇到错误。似乎这是为iOS模拟器编译的地址清理器的问题。我没有看到任何理由将其与libclang.dylib链接为x86_64。以前有人见过吗?或者有办法将其关掉吗?
DYLIB: clang_darwin/ubsan_osx_dynamic/x86_64h:
/Users/bikineev/svn/clang/build/tools/clang/runtime/compiler-rt/clang_darwin/ubsan_osx_dynamic/x86_64h/libcompiler_rt.dylib
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later ld:
building for iOS Simulator, but linking against dylib built for MacOSX
file '/usr/local/lib//libc++.dylib' for architecture x86_64 clang:
error: linker command failed with exit code 1