[GHC] #10221: LLVM does not work on OSX
GHC
ghc-devs at haskell.org
Wed Apr 1 20:14:02 UTC 2015
#10221: LLVM does not work on OSX
-------------------------------------+-------------------------------------
Reporter: yongqli | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (LLVM) | Version: 7.10.1
Resolution: | Keywords:
Operating System: MacOS X | Architecture:
Type of failure: Other | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by jakzale):
Actually, it is seems to be the other way round.
Apple's clang is based on LLVM 3.5, and it seems to have some difficulties
with compiling the assembly code generated by LLVM used as backend (which
is probably newer).
Using the version of clang that comes with the LLVM used as a backend for
GHC seems to sort out the problem for me.
Try `PATH=/path/to/llvm ghc -fllvm File.hs` to ensure that GHC uses the
correct version of clang.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10221#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list