[GHC] #10383: AArch64: get GHC Calling convention working
GHC
ghc-devs at haskell.org
Wed May 27 01:48:51 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):
I am reasonably certain that this is the same problem as #10375. Running:
{{{
inplace/bin/ghc-stage2 +RTS -Ds -Di -Dw -DG -Dg -Db -DS -Dt -Dp -Da -Dl
-Dm \
-Dc -Dr
}}}
otherwise know as "all the damn debug flags I can find" results in:
{{{
stg_ap_v_ret... FUN/1(0x7f99ceba88, 0x7f98f041b9, 0x7f98f05448,
0x7f98f084c8,
0x7f98f084d8, 0x7f993cb861, 0x7f98f08558, (nil)d#, (nil)d#, 0x1fd#, 0x4d#,
0x5d#, 0x6d#)
stg_ap_0_ret... base:GHC.Event.Manager.Created()
7f98eff1f0: cap 0: thread 2 stopped (yielding)
7f98eff1f0: giving up capability 0
7f98eff1f0: passing capability 0 to bound task 0x7f990ff000
7f990ff000: woken up on capability 0
7f990ff000: resuming capability 0
7f990ff000: cap 0: running thread 1 (ThreadRunGHC)
Segmentation fault
}}}
which just like trac #10375 is GHC crashing in the `schedule` function of
`rts/Schedule.c` with `what_next == ThreadRunGHC`.
Will keep this open just in case its not.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10383#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list