Bugs item #1107398, was opened at 2005-01-22 18:41
Message generated for change (Comment added) made by ggd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1107398&group_id=8032

Category: None
Group: None
>Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Gour (ggd)
Assigned to: Simon Marlow (simonmar)
Summary: internal error: getMBlock: mmap: Invalid argument 

Initial Comment:
In an attempt to compile latest HaRe snapshot on amd64 platform 
(ghc-6.2.2, happy-1.15) I get the following error: 
 
[EMAIL PROTECTED] ~/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 
  

----------------------------------------------------------------------

>Comment By: Gour (ggd)
Date: 2005-03-09 08:00

Message:
Logged In: YES 
user_id=728695

Hi Simon!  
  
Something interesting for you:  
  
 [EMAIL PROTECTED] ~/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.4: 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 
 
 
This is with the test x86_64 snapshot you posted on the 
list yesterday. 
 
 
Sincerely, 
Gour 
 

----------------------------------------------------------------------

Comment By: Simon Marlow (simonmar)
Date: 2005-03-07 17:26

Message:
Logged In: YES 
user_id=48280

This is most likely due to an interface file from a build on
a 32-bit machine left over in your source tree.

I've fixed GHC so that this will generate a nice error
message rather than a crash in the future.

----------------------------------------------------------------------

Comment By: Gour (ggd)
Date: 2005-01-31 15:22

Message:
Logged In: YES 
user_id=728695

>I'll take this one, but  I can't look at it just yet (x86_64 
hardware still on the way...) 
 
Maybe I should start praying to arrive sooner :-) 
 
Sincerely, 
Gour 
 

----------------------------------------------------------------------

Comment By: Simon Marlow (simonmar)
Date: 2005-01-31 15:04

Message:
Logged In: YES 
user_id=48280

I'll take this one, but  I can't look at it just yet (x86_64
hardware still on the way...)

----------------------------------------------------------------------

Comment By: Jens-Ulrik Petersen (juhp)
Date: 2005-01-26 09:15

Message:
Logged In: YES 
user_id=139853

I see this error with 6.3.20050125 on x86_64 too
when compiling Hello.hs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1107398&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to