Skip to content

GHC fail to Compile Crypto

When I tried to compile Crypto lib in a MSI Wind notebook with Arch Linux, an error happens in Main compilation:

Configuring Crypto-4.1.0...
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Preprocessing library Crypto-4.1.0...
Preprocessing executables for Crypto-4.1.0...
Building Crypto-4.1.0...
/usr/bin/ar: creating dist/build/libHSCrypto-4.1.0.a
[4 of 4] Compiling Main             ( SHA1Test.hs, dist/build/SHA1Test/SHA1Test-tmp/Main.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.1 for i386-unknown-linux):
	RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-graph

I compiled the same lib in a Arch box, but in x86_64 arch without problems. I'm compiling using the Arch package haskell-crypto in both cases.

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