Skip to content

GHC panics while building the Crypto library

GHC panics when I try to build Crypto-4.1.0.

$ cabal -V
cabal-install version 0.6.0
using version 1.6.0.1 of the Cabal library

$ cabal install Crypto
<snip>
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.1 for i386-unknown-linux):
        RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-graph

I've attached the full build log.

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 Linux
Architecture x86_64 (amd64)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information