[cfe-dev] Trouble build LLVM and Clang
Cameron Skinner
cwrenniks at gmail.com
Sun Nov 17 15:15:55 PST 2013
Hello,
I’ve pull latest LLVM and clang code from the git mirrors, but am unable to build via CMAKE due to the following error:
Linking CXX shared library ../../../../lib/clang/3.4/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib
ld: building for iOS Simulator, but linking against dylib built for MacOSX file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libSystem.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/clang/3.4/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib] Error 1
make[1]: *** [projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_iossim_dynamic.dir/all] Error 2
make: *** [all] Error 2
I’m running latest Mavericks OS.
Any help would be appreciated!
Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131117/e49b4a55/attachment.html>
More information about the cfe-dev
mailing list