[Haskell-cafe] GHC 7.10.1 on OS X

Alexey Shmalko rasen.dubi at gmail.com
Mon Mar 30 18:49:15 UTC 2015


Hello, Yongqian,

Can you give more info on the problem? Which package are you trying to
build? Can you also include output of cabal build -v3.

Regards,
Alexey

On Mon, Mar 30, 2015 at 8:32 PM, Yongqian Li <yongqli at kerrmetric.com> wrote:

> Does anyone know how to resolve this issue? When I do a "cabal build", I
> get
>
>      error: unknown directive
>             .macosx_version_min 10, 0
>             ^
>
> <no location info>:
>     Error running clang! you need clang installed to use theLLVM backend
>     (or GHC tried to execute clang incorrectly)
>
> <no location info>:
>     ghc: phase `Clang (Assembler)' failed (exitcode = 1)
>
>
>
> However, my clang is fine, as is my LLVM:
>
>  % clang --version
> Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
> Target: x86_64-apple-darwin14.1.0
> Thread model: posix
>
>
>  % opt --version
>  LLVM (http://llvm.org/):
>   LLVM version 3.5.1
>   Optimized build with assertions.
>   Built Jan 15 2015 (18:24:46).
>   Default target: x86_64-apple-darwin14.1.0
>   Host CPU: core-avx2
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150330/58b18228/attachment.html>


More information about the Haskell-Cafe mailing list