[GHC] #9691: GHC-HEAD runtime is broken on arm
GHC
ghc-devs at haskell.org
Sun Dec 14 23:30:41 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
Resolution: | Keywords:
Operating System: Linux | Architecture: arm
Type of failure: Runtime crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
----------------------------------------+---------------------------
Changes (by erikd):
* cc: erikd (added)
Comment:
I'm seeing something very similar with git head (b8392ae76a6d39) cross
compiling from a Debian amd64-linux to arm-linux-gnueabihf (beaglebone-
black running Debian). My test program is:
{{{
main :: IO ()
main = putStrLn "Hello"
}}}
and when I copy the compiled binary to the beaglebone and run it, it
segfaults almost immediately. The GDB backtrace looks like this:
{{{
Program received signal SIGSEGV, Segmentation fault.
0x0021b8dc in stg_init_finish$def ()
(gdb) bt
#0 0x0021b8dc in stg_init_finish$def ()
#1 0x00217116 in threadPaused ()
#2 0x00000000 in ?? ()
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9691#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list