[GHC] #10682: AArch64: dll-split: out of memory (requested 1099512676352 bytes)
GHC
ghc-devs at haskell.org
Mon Aug 24 18:35:24 UTC 2015
#10682: AArch64: dll-split: out of memory (requested 1099512676352 bytes)
----------------------------------------+----------------------------------
Reporter: erikd | Owner:
Type: bug | 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 ezyang):
First off, even if the symptoms are the same, I would recommend opening a
separate bug for 64-bit Solaris 11 not working, because the underlying
cause/fix are very unlikely to be the same.
According to some source comments in the Go project
(https://golang.org/src/runtime/malloc.go#L158 and
https://golang.org/src/runtime/malloc.go#L260), there are restrictions on
how much virtual memory you can actually get on ARM64; in particular,
apparently only 39 bits of user address space is allowed (which is about
500 GB). So it seems likely that if we halve the requested address size
we might do better.
However, in that case, I don't understand why the mini test-program is
working. Do you have the ability to strace executables on ARM64, to find
out what the sequence of mmap calls are?
I don't think Giovanni or I have access to ARM64 machines which will make
it a little harder for us to debug.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10682#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list