[GHC] #15162: armv7l-unknown-linux-gnueabihf is missing from llvm-targets

GHC ghc-devs at haskell.org
Thu May 17 14:37:28 UTC 2018


#15162: armv7l-unknown-linux-gnueabihf is missing from llvm-targets
--------------------------------+---------------------------------
           Reporter:  ggardet   |             Owner:  (none)
               Type:  bug       |            Status:  new
           Priority:  normal    |         Milestone:  8.6.1
          Component:  Compiler  |           Version:  8.4.2
           Keywords:            |  Operating System:  Linux
       Architecture:  arm       |   Type of failure:  None/Unknown
          Test Case:            |        Blocked By:
           Blocking:            |   Related Tickets:
Differential Rev(s):            |         Wiki Page:
--------------------------------+---------------------------------
 While trying to build GHC 8.4.2, we face the following error:

 {{{
 [15143s] ghc-stage1: panic! (the 'impossible' happened)
 [15143s]   (GHC version 8.4.2 for arm-unknown-linux):
 [15143s]        Failed to lookup the datalayout for armv7l-unknown-linux-
 gnueabihf; available targets: ["i386-unknown-windows","i686-unknown-
 windows","x86_64-unknown-windows","arm-unknown-linux-gnueabihf","armv6
 -unknown-linux-gnueabihf","armv7-unknown-linux-gnueabihf","aarch64
 -unknown-linux-gnu","aarch64-unknown-linux","armv7a-unknown-linux-
 gnueabi","i386-unknown-linux-gnu","i386-unknown-linux","x86_64-unknown-
 linux-gnu","x86_64-unknown-linux","armv7-unknown-linux-
 androideabi","aarch64-unknown-linux-android","arm-unknown-nto-qnx-
 eabi","i386-apple-darwin","x86_64-apple-darwin","armv7-apple-ios","aarch64
 -apple-ios","i386-apple-ios","x86_64-apple-ios"]
 }}}

 So, we should add armv7l-unknown-linux-gnueabihf to ./utils/llvm-targets
 /gen-data-layout.sh and regenerate llvm-targets file.

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


More information about the ghc-tickets mailing list