[GHC] #14261: ghc stopped recognizing some arm triplets that used to work: Failed to lookup the datalayout for armv7a-hardfloat-linux-gnueabi; available targets:
GHC
ghc-devs at haskell.org
Thu Sep 21 00:31:17 UTC 2017
#14261: ghc stopped recognizing some arm triplets that used to work: Failed to
lookup the datalayout for armv7a-hardfloat-linux-gnueabi; available
targets:
-------------------------------------+-------------------------------------
Reporter: slyfox | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by angerman):
I believe the error message could be better :-(
Targets are not hardcoded into GHC anymore, they are read from the `llvm-
targets` file,
at the top level. (It is also copied during install/...), which is read by
ghc at runtime, and thus
changes to it are directly reflected without recompilation.
The `llvm-targets` file can be generated via the `utils/llvm-targets/gen-
data-layout.sh` script.
That being said, I am a bit confused about the `armv7a-hardfloat-linux-
gnueabi` target. Shouldn't that be `armv7-unknown-linux-gnueabihf`? Should
we use Autoconf triple canonicalization here?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14261#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list