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

#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

#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 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+------------------------------ Comment (by ggardet): github PR with the fix: https://github.com/ghc/ghc/pull/136 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15162#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15162: armv7l-unknown-linux-gnueabihf is missing from llvm-targets ---------------------------------+------------------------------ Reporter: ggardet | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.2 Resolution: fixed | Keywords: Operating System: Linux | Architecture: arm Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+------------------------------ Changes (by bgamari): * status: new => closed * resolution: => fixed Comment: Merged with e4003b6dc6a84d870116de9f47057c15b1576f36. Thanks ggardet! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15162#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC