[cfe-dev] Trouble build LLVM and Clang

Cameron Skinner cwrenniks at gmail.com
Sun Nov 17 20:50:27 PST 2013


Turns out that building using autoconf works fine, so this is something fishy with the CMAKE build  work flow...

On November 17, 2013 at 3:15:56 PM, Cameron Skinner (cwrenniks at gmail.com) wrote:

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/3de0e06f/attachment.html>


More information about the cfe-dev mailing list