[GHC] #10383: AArch64: get GHC Calling convention working

GHC ghc-devs at haskell.org
Sat May 16 07:59:39 UTC 2015


#10383: AArch64: get GHC Calling convention working
----------------------------------------+----------------------------------
        Reporter:  erikd                |                   Owner:  erikd
            Type:  feature request      |                  Status:  new
        Priority:  normal               |               Milestone:  7.12.1
       Component:  Compiler             |                 Version:  7.11
      Resolution:                       |                Keywords:
Operating System:  Unknown/Multiple     |            Architecture:  aarch64
 Type of failure:  Building GHC failed  |               Test Case:
      Blocked By:                       |                Blocking:
 Related Tickets:                       |  Differential Revisions:
----------------------------------------+----------------------------------

Comment (by erikd):

 By adding `-debug` to `GhcStage2HcOpts` of `mk/build.mk` I turned up a
 different issue that I'm pretty sure is related, `inplace/bin/dll-split`
 exits with:

 {{{
 dll-split: internal error: invalid closure, info=(nil)
     (GHC version 7.11.20150514 for aarch64_unknown_linux)
 }}}

 trigger by the assert:

 {{{
 ASSERTM(LOOKS_LIKE_CLOSURE_PTR(q), "invalid closure, info=%p",
 q->header.info);
 }}}

 Adding a bit of `printf` debugging showed that the above assert passed a
 couple of hundred times before it found a NULL in `q->header.info`.

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


More information about the ghc-tickets mailing list