[ ghc-Bugs-1245266 ] Runtime exception on Windows, possibly due to bit operations

SourceForge.net noreply at sourceforge.net
Tue Jul 26 12:50:25 EDT 2005


Bugs item #1245266, was opened at 2005-07-26 07:05
Message generated for change (Comment added) made by sigbjorn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1245266&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler
Group: 6.4
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Runtime exception on Windows, possibly due to bit operations

Initial Comment:
>From david.amos at symbian.com

The attached code works fine when interpreted. 
However, when compiled, it causes a runtime exception. 
This appears to affect the windows distribution only.


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

>Comment By: Sigbjorn Finne (sigbjorn)
Date: 2005-07-26 09:50

Message:
Logged In: YES 
user_id=232905

Fixed by rev. 1.192 of ghc/rts/Linker.c (merged to STABLE 
as 1.171.2.12).

ghc-6.4.1 will have the fix included. Until it is out, compile all 
code destined for GHCi with -fvia-C (win32 platform only.)

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

Comment By: Sigbjorn Finne (sigbjorn)
Date: 2005-07-26 07:46

Message:
Logged In: YES 
user_id=232905

A fine bug report; seems to be triggered by using the native 
code generator.

Until the issue has been resolved (and a new release is out), 
work around it by compiling the module with -fvia-C added to 
your ghc command line.

 

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1245266&group_id=8032



More information about the Glasgow-haskell-bugs mailing list