reanimate / reanimate-svg

BSD 3-Clause "New" or "Revised" License
4 stars 8 forks source link

reanimate-svg-0.13.0.1: Simplifier ticks exhausted #41

Open juhp opened 2 years ago

juhp commented 2 years ago

While building for the Stackage Nightly build encountered:

Building library for reanimate-svg-0.13.0.1..
[ 1 of 17] Compiling Graphics.SvgTree.Misc
[ 2 of 17] Compiling Graphics.SvgTree.CssTypes
[ 3 of 17] Compiling Graphics.SvgTree.NamedColors
[ 4 of 17] Compiling Graphics.SvgTree.Types.Basic
[ 5 of 17] Compiling Graphics.SvgTree.Types.Internal
[ 6 of 17] Compiling Graphics.SvgTree.Types.Hashable
Simplifier ticks exhausted
  When trying UnfoldingDone $fGenericDrawAttributes_$cfrom
  To increase the limit, use -fsimpl-tick-factor=N (default 100).

  In addition try adjusting -funfolding-case-threshold=N and
  -funfolding-case-scaling=N for the module in question.
  Using threshold=1 and scaling=5 should break most inlining loops.

  If you need to increase the tick factor substantially, while also
  adjusting unfolding parameters please file a bug report and
  indicate the factor you needed.

  If GHC was unable to complete compilation even with a very large factor
  (a thousand or more), please consult the "Known bugs or infelicities"
  section in the Users Guide before filing a report. There are a
  few situations unlikely to occur in practical programs for which
  simplifier non-termination has been judged acceptable.

  To see detailed counts use -ddump-simpl-stats
  Total ticks: 540240
curator: Received ExitFailure 1 when running

I don't know if this is easily reproducible, but thought I would just record with this report anyway.

AndreasPK commented 1 year ago

I've hit the same issue. It's not great but using -fsimpl-tick-factor=200 works for me on 9.2.4

alaendle commented 1 year ago

I'll remove reanimate with the constraint > 0.13.0.1 from stackage for now (since it breaks nightly - ghc 9.4.4 - and lts - ghc 9.2.7 - builds). Should automatically be re-added as soon as a higher version gets published (which hopefully builds reliable 👍 ). Thanks for your understanding.