[GHC] #12138: Simplifier ticks exhausted at compiling svg-builder

#12138: Simplifier ticks exhausted at compiling svg-builder -------------------------------------+------------------------------------- Reporter: JanUlrich | Owner: Type: bug | Status: new Priority: low | Milestone: Component: Compiler | Version: 7.8.4-rc1 Keywords: | Operating System: Unknown/Multiple Architecture: x86_64 | Type of failure: None/Unknown (amd64) | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12138 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12138: Simplifier ticks exhausted at compiling svg-builder -------------------------------------+------------------------------------- Reporter: JanUlrich | Owner: Type: bug | Status: closed Priority: low | Milestone: Component: Compiler | Version: 7.8.4-rc1 Resolution: worksforme | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => worksforme Comment: I can reproduce the problem with ghc-7.8.4. Though it seems to have been fixed already in ghc-7.10 and higher. In any case, `svg-builder` has a workaround for the problem now, setting `-fsimpl-tick-factor=110` in the .cabal file: https://github.com/diagrams/svg- builder/commit/b7f4ac8209e66409b9848ae3de2b534692bd8be3 So I don't think there is anything left to do here. Thank you for the report. Please yell if you're still having problems (you'll have to build `svg-builder` from git master, or wait for a new release on hackage). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12138#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC