Large heap address space breaks valgrind
It seems that programs compiled with a GHC --enable-large-address-space
(see #9706 (closed)) no longer run under valgrind, which is a pitty, as that is useful to get more reliable numbers out of nofib. It fails with
internal error: getMBlock: mmap: Invalid argument
This bug is a general “Can we do anything about this”.
In particular, is there a possibility to make this a RTS option instead of a compile time option?
Or maybe it is possible to talk to the valgrind authors if they can support such large allocations?
If neither, can we maybe extend the error message to say “If you are using a tool like valgrind, you might want to recompile the compiler with `--disable-large-address-space.”
Trac metadata
Trac field | Value |
---|---|
Version | 7.11 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | simonmar |
Operating system | |
Architecture |