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

GHC ghc-devs at haskell.org
Wed Jun 3 23:00:22 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):

 If I load this up in GDB and break at line 383 of file `rts/sm/Evac.c`
 when `q->header.info == 0x0` I see:

 {{{
 (gdb) print q->header
 $8 = {info = 0x0}
 (gdb) print &(q->header.info)
 $9 = (const StgInfoTable **) 0x7fb3dc4618 <MainCapability+24>
 }}}

 which suggests that the address of `q->header.info` is within the
 `MainCapability` struct which is just completely wrong.

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


More information about the ghc-tickets mailing list