Skip to content

RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-graph

Using ghc 6.10.4, I tried to install the crypto lib (version 4.1.0) via "cabal install crypto". However, ghc fails:

[4 of 4] Compiling Main             ( SHA1Test.hs, dist/build/SHA1Test/SHA1Test-tmp/Main.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.4 for i386-unknown-linux):
        RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-graph

OS: Ubuntu Linux (Hardy), 32 bit

Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information