Skip to content

internal error: getMBlock: mmap: Invalid argument

In an attempt to compile latest HaRe snapshot on amd64 platform 
(ghc-6.2.2, happy-1.15) I get the following error: 
 
gour@gaura-nitai ~/projects/haskell/hare $ make  
cp -r diffs/tools/* tools  
mkdir -p refactorer/hidir/`uname`  
mkdir -p refactorer/odir/`uname`  
cd editors; ./localpaths "HaRe 03/12/2004"  
cd editors; ghc --make -fglasgow-exts GenEditorInterfaces -o  
GenEditorInterfaces  
Chasing modules from: GenEditorInterfaces  
Compiling LocalSettings    ( ./LocalSettings.hs, ./LocalSettings.o )  
ghc-6.2.2: internal error: getMBlock: mmap: Invalid argument  
    Please report this as a bug to glasgow-haskell-bugs@haskell.org,  
    or http://www.sourceforge.net/projects/ghc/  
make: *** [editors/GenEditorInterfaces] Error 254  
 
 
Sincerely, 
Gour 
  
Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information