diagrams / svg-builder

BSD 3-Clause "New" or "Revised" License
10 stars 14 forks source link

Compilation failure with ghc 7.8.4 #1

Closed edsko closed 8 years ago

edsko commented 8 years ago
Configuring component lib from svg-builder-0.1.0.1
Warning: 'ghc-options: -rtsopts' has no effect for libraries. It should only
be used for executables.
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.$fStorableWord8_$cpokeByteOff{v r2gn} [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

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Recompiling with

  ghc-options: -fsimpl-tick-factor=200 

solved the problem.