Skip to content

GHC 8 crash when building "chatter" library

While I try to build "chatter" library from GitHub with Stack with GHC 8.0 resolver I got that crash:

[ 9 of 23] Compiling NLP.Corpora.Brown ( src\NLP\Corpora\Brown.hs, .stack-work\dist\b7fec021\build\NLP\Corpora\Brown.o ) ghc.exe: panic! (the 'impossible' happened)

(GHC version 8.0.1 for x86_64-unknown-mingw32):

Simplifier ticks exhausted When trying RuleFired Class op unsafeShiftR To increase the limit, use -fsimpl-tick-factor=N (default 100) If you need to do this, let GHC HQ know, and what factor you needed To see detailed counts use -ddump-simpl-stats Total ticks: 11403800

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Windows
Architecture x86_64 (amd64)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information