Skip to content

ghc 7.8.4 on arm - panic: Simplifier ticks exhausted

i tried to compile (cabal install) chatter-0.5.2.0 on a armbian (debian jessie, with ghc 7.10.2-1 from testing, running on a cubietruck ARMHF Cortex A20) and get in file NLP.Corpora.Conll a panic:

[ 9 of 23] Compiling NLP.Corpora.Conll ( src/NLP/Corpora/Conll.hs, dist/build/NLP/Corpora/Conll.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 7.10.2 for arm-unknown-linux):
	Simplifier ticks exhausted
  When trying UnfoldingDone $fGSerialize:*:_$s<$>
  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: 2748218

i do not notice anything particular in the code, except a very long data type with enumerated values. I tried with a higher value for tick-factor (1000) with no improvement.

i will now try to run 7.10.2-2 from experimental.

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