[GHC] #9920: Segfault in arm binary

GHC ghc-devs at haskell.org
Tue Dec 23 22:18:27 UTC 2014


#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):

 Same problem with `llc` from llvm version 3.6.

 Managed to reduce the input `.ll` file to about 30 lines of code
 containing just the functions `stg_init_finish$def` and `stg_init$def`. If
 I remove the `cc10` calling convention (which is as I understand it, only
 used by GHC) from the LLVM IR code then the `stg_init_finish$def` function
 no longer has zero instructions.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9920#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list