[GHC] #10882: Fix target tripe for Arm

GHC ghc-devs at haskell.org
Mon Sep 14 21:52:26 UTC 2015


#10882: Fix target tripe for Arm
-----------------------------------+---------------------------------
              Reporter:  erikd     |             Owner:
                  Type:  bug       |            Status:  new
              Priority:  normal    |         Milestone:  7.10.3
             Component:  Compiler  |           Version:  7.10.2
              Keywords:            |  Operating System:  Linux
          Architecture:  arm       |   Type of failure:  None/Unknown
             Test Case:            |        Blocked By:
              Blocking:            |   Related Tickets:
Differential Revisions:            |
-----------------------------------+---------------------------------
 LLVM IR code generated by GHC on Arm (Debian) uses a target triple of
 "arm-linux-gnueabi" which according the LLVM people is something like
 ARMv4 with software float.

 Clang on the other hand generates IR code with a target triple of "armv6
 -linux-gnueablhf" which is ARMv6 and hardware float so it works on the
 original Raspberry Pi.

 GHC should either use the same target triple as Clang or at least make it
 configurable.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10882>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list