[cfe-dev] Trouble build LLVM and Clang
Alexander Potapenko
glider at google.com
Mon Nov 18 01:16:10 PST 2013
Hi all,
This should be unrelated to r194820, since that change only changes
the driver's behavior for iossim builds.
The corresponding CMake bits have been landed a couple of weeks before.
I'll look into that.
On Mon, Nov 18, 2013 at 12:58 PM, Jean-Daniel Dupas
<devlists at shadowlab.org> wrote:
>
> I think this is because of commit r194820, and Alexander is already looking
> into it.
> Should be fix soon.
>
> Le 18 nov. 2013 à 05:50, Cameron Skinner <cwrenniks at gmail.com> a écrit :
>
> 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
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
> -- Jean-Daniel
>
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Alexander Potapenko
Software Engineer
Google Moscow
More information about the cfe-dev
mailing list