Simplifier ticks exhausted at compiling svg-builder
I tried to install svg-builder by "cabal install svg-builder"and got the following error:
Resolving dependencies... Configuring svg-builder-0.1.0.1... Building svg-builder-0.1.0.1... Preprocessing library svg-builder-0.1.0.1... [1 of 5] Compiling Graphics.Svg.Path ( src/Graphics/Svg/Path.hs, dist/build/Graphics/Svg/Path.o ) [2 of 5] Compiling Graphics.Svg.Core ( src/Graphics/Svg/Core.hs, dist/build/Graphics/Svg/Core.o ) ghc: panic! (the 'impossible' happened)
(GHC version 7.8.4 for x86_64-unknown-linux):
Simplifier ticks exhausted
When trying UnfoldingDone base:Foreign.Storable.$fStorableWord21{v
r2cT} [gid]
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: 34200
I tried again with ghc -fsimpl-tick-factor=300 and it worked.
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.4-rc1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | low |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |