#5539: GHC panic - Simplifier ticks exhausted
---------------------------------+------------------------------------------
Reporter: hvr | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.3
Resolution: fixed | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Linux
Blocking: | Architecture: x86_64 (amd64)
Failure: Compile-time crash |
---------------------------------+------------------------------------------
Comment(by hvr):
fyi, I just tried the latest binary ghc build for linux/amd64, and got a
''Simplifier ticks exhausted'' error when `cabal install`ing `vector-
algorithms-0.5.3`:
{{{
$ cabal-dev install vector-algorithm
Building primitive-0.4.0.1...
...
Building vector-0.9...
...
Configuring vector-algorithms-0.5.3...
Building vector-algorithms-0.5.3...
Preprocessing library vector-algorithms-0.5.3...
[1 of 9] Compiling Data.Vector.Algorithms.Common (
Data/Vector/Algorithms/Common.hs,
dist/build/Data/Vector/Algorithms/Common.o )
[2 of 9] Compiling Data.Vector.Algorithms.Radix (
Data/Vector/Algorithms/Radix.hs, dist/build/Data/Vector/Algorithms/Radix.o
)
[3 of 9] Compiling Data.Vector.Algorithms.Search (
Data/Vector/Algorithms/Search.hs,
dist/build/Data/Vector/Algorithms/Search.o )
[4 of 9] Compiling Data.Vector.Algorithms.Optimal (
Data/Vector/Algorithms/Optimal.hs,
dist/build/Data/Vector/Algorithms/Optimal.o )
[5 of 9] Compiling Data.Vector.Algorithms.Insertion (
Data/Vector/Algorithms/Insertion.hs,
dist/build/Data/Vector/Algorithms/Insertion.o )
[6 of 9] Compiling Data.Vector.Algorithms.AmericanFlag (
Data/Vector/Algorithms/AmericanFlag.hs,
dist/build/Data/Vector/Algorithms/AmericanFlag.o )
[7 of 9] Compiling Data.Vector.Algorithms.Heap (
Data/Vector/Algorithms/Heap.hs, dist/build/Data/Vector/Algorithms/Heap.o )
[8 of 9] Compiling Data.Vector.Algorithms.Intro (
Data/Vector/Algorithms/Intro.hs, dist/build/Data/Vector/Algorithms/Intro.o
)
ghc: panic! (the 'impossible' happened)
(GHC version 7.3.20111030 for x86_64-unknown-linux):
Simplifier ticks exhausted
When trying UnfoldingDone ghc-prim:GHC.Classes.not{v r1d} [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: 42922
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
cabal: Error: some packages failed to install:
vector-algorithms-0.5.3 failed during the building phase. The exception
was:
ExitFailure 1
}}}
`-fsimpl-tick-factor=167` was the minimum value required to let the
compilation succeed
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5539#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs