[GHC] #10221: LLVM does not work on OSX
GHC
ghc-devs at haskell.org
Mon Mar 30 22:03:52 UTC 2015
#10221: LLVM does not work on OSX
-------------------------------------------+----------------------------
Reporter: yongqli | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.1
Keywords: | Operating System: MacOS X
Architecture: Unknown/Multiple | Type of failure: Other
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
-------------------------------------------+----------------------------
I can't seem to be able to use the LLVM backend on OSX. I get the error:
{{{
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)
}}}
This is on GHC 7.10.1
{{{
% 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
yongqli at auxiliary ~/secrets/projects/stocvol
% 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
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10221>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list