[GHC] #10383: AArch64: get GHC Calling convention working
GHC
ghc-devs at haskell.org
Wed Jun 3 09:47:19 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):
With the above patch to `StgRun`, the new backtrace in GDB looks like:
{{{
ghc-stage2: internal error: invalid closure, info=(nil)
(GHC version 7.11.20150602 for aarch64_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Program received signal SIGABRT, Aborted.
0x0000007fb3c009b8 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/
linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or
directory.
(gdb) bt
#0 0x0000007fb3c009b8 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/
sysv/linux/raise.c:56
#1 0x0000007fb3c01cc0 in __GI_abort () at abort.c:89
#2 0x0000007fb3d74628 in rtsFatalInternalErrorFn (s=0x7fb3dbb820 "invalid
closure, info=%p", ap=...) at rts/RtsMessages.c:170
#3 0x0000007fb3d74140 in barf (s=0x7fb3dbb820 "invalid closure, info=%p")
at
rts/RtsMessages.c:42
#4 0x0000007fb3d92740 in evacuate1 (p=0x7fb3aad560) at rts/sm/Evac.c:384
#5 0x0000007fb3d8392c in scavenge_block1 (bd=0x7fb3a02b40) at
rts/sm/Scav.c:464
#6 0x0000007fb3d85df4 in scavenge_find_work () at rts/sm/Scav.c:2009
#7 0x0000007fb3d85f98 in scavenge_loop1 () at rts/sm/Scav.c:2085
#8 0x0000007fb3d8d980 in scavenge_until_all_done () at rts/sm/GC.c:977
#9 0x0000007fb3d8c334 in GarbageCollect (collect_gen=0,
do_heap_census=rtsFalse,
gc_type=2, cap=0x7fb3dc4980 <MainCapability>) at rts/sm/GC.c:396
#10 0x0000007fb3d608bc in scheduleDoGC (pcap=0x7fffffec88, task=0x5151c0,
force_major=rtsFalse) at rts/Schedule.c:1674
#11 0x0000007fb3d5ed8c in schedule (initialCapability=0x7fb3dc4980
<MainCapability>, task=0x5151c0) at rts/Schedule.c:557
#12 0x0000007fb3d61ab4 in scheduleWaitThread (tso=0x7fb3a0b388, ret=0x0,
pcap=0x7fffffee00) at rts/Schedule.c:2383
#13 0x0000007fb3d6349c in rts_evalLazyIO (cap=0x7fffffee00, p=0x4c36a0
<ZCMain_main_closure>, ret=0x0) at rts/RtsAPI.c:500
#14 0x0000007fb3d7b348 in hs_main (argc=2, argv=0x7ffffff018,
main_closure=0x4c36a0 <ZCMain_main_closure>, rts_config=...) at
rts/RtsMain.c:64
#15 0x00000000004bca48 in main ()
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10383#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list