has anyone tested the llvm backend changes on OS X yet?

Carter Schonwald carter.schonwald at gmail.com
Tue Nov 25 18:29:26 UTC 2014


i'm trying to test out the llvm backend on OS X with ghc head plus llvm 3.5

and i'm seeing stuff like  the following.
Could someone help me undestand whats going on?!


2 <http://lpaste.net/115021#line2>3 <http://lpaste.net/115021#line3>4
<http://lpaste.net/115021#line4>5 <http://lpaste.net/115021#line5>6
<http://lpaste.net/115021#line6>7 <http://lpaste.net/115021#line7>8
<http://lpaste.net/115021#line8>9 <http://lpaste.net/115021#line9>10
<http://lpaste.net/115021#line10>11 <http://lpaste.net/115021#line11>

*** Clang (Assembler):clang -m64 -fno-stack-protector
-DTABLES_NEXT_TO_CODE -I. -fno-common -U__PIC__ -D__PIC__
-Qunused-arguments -x assembler -c
/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc89553_0/ghc89553_7.s
-o TestFetch.o
/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc89553_0/ghc89553_7.s:3:2:
     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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141125/146c055f/attachment.html>


More information about the ghc-devs mailing list