GHC-HEAD runtime is broken on arm
I incorporated the patch from #9593 (closed) and built GHC HEAD as a cross compiler for arm-unknown-linux-gnueabi.
mbrandt@ubuntu:~/ghc-head$ arm-unknown-linux-gnueabi-ghc --version The Glorious Glasgow Haskell Compilation System, version 7.9.20141014
The resulting compiler will compile programs and link them resulting in what appears to be a valid executable (testme.hs is a simple hello world app):
mbrandt@ubuntu:~/ghc-head$ file testme testme: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=11ca9da291edb0428c977e506ac1a8f1e398aa57, not stripped
When run on the target (an i.MX280 - ARM9EJ-S) the runtime gets hung up before main is evaluated. The program is using 90+% cpu.
This behavior is consistent for both HEAD and ghc-7.8.3 with both registerized and unregisterized builds.
Trac metadata
Trac field | Value |
---|---|
Version | 7.9 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |