
#9920: Segfault in arm binary -------------------------------------------+--------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: arm Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------------+--------------------------- Comment (by erikd): `llc` from llvm git HEAD (3681929e116d9b 2014/12/24) seems to work and produces the following assembly language: {{{ stg_init_finish$def: @ @"stg_init_finish$def" .fnstart .Leh_func_begin0: @ BB#0: @ %cF b StgReturn .Ltmp0: .size stg_init_finish$def, .Ltmp0-stg_init_finish$def }}} which seems correct. However, using llvm from git HEAD requires changes to the metdata definitons from this: {{{ !0 = metadata !{metadata !1, metadata !1, i64 0} }}} to this: {{{ !0 = !{!1, !1, i64 0} }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9920#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler