[GHC] #9691: GHC-HEAD runtime is broken on arm
GHC
ghc-devs at haskell.org
Tue Oct 14 22:00:03 UTC 2014
#9691: GHC-HEAD runtime is broken on arm
----------------------------+----------------------------------------
Reporter: mkbrandt | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.9
Keywords: | Operating System: Linux
Architecture: arm | Type of failure: Runtime crash
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
----------------------------+----------------------------------------
I incorporated the patch from #9593 and built GHC HEAD as a cross compiler
for arm-unknown-linux-gnueabi.
mbrandt at 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 at 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.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9691>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list