GHC panic
Attempting to compile SHA1Test.hs in the Crypto-4.1.0 package on Hackage generates the following
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.1 for i386-apple-darwin):
RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-graph
Compiling by hand with ghc --make -fglasgow-exts -fregs-graph SHA1Test.hs resolves the problem.
I'm using an Intel MacBook Pro running Leopard (10.5.5).
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |