Panic during profiling build after recompiling a dependency with -auto-all
Hi,
I recompiled some dependencies of my project like this (to see more cost centres):
cabal install --reinstall --ghc-option=-auto-all OpenGL GLUT ftgl
then while trying to recompile my project:
cabal clean
cabal install --enable-library-profiling --enable-executable-profiling --disable-documentation --ghc-options="-O2 -ddump-simpl-stats"
the first (non-profiling) build succeeds, but then during the profiling build:
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.1 for i386-unknown-linux):
applyTypeToArgs
OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.VertexSpec.$wa2{v rC2} [gid]
rb{v a1sB8} [lid]
rb1{v a1sB9} [lid]
rb2{v a1sBa} [lid]
rb3{v a1sBb} [lid]
eta{v a1sB4} [lid]
forall a{tv a1sB7} [tv].
(base:GHC.Ptr.Ptr{tc 33A} a{tv a1sB7} [tv]
-> ghc-prim:GHC.Types.Int{(w) tc 3J}
-> base:GHC.IOBase.IO{tc 32I} a{tv a1sB7} [tv])
-> base:GHC.Ptr.Ptr{tc 33A}
(OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.VertexSpec.Color3{tc rnw}
a{tv a1sB7} [tv])
-> ghc-prim:GHC.Prim.State#{(w) tc 32q}
ghc-prim:GHC.Prim.RealWorld{(w) tc 31E}
-> (# ghc-prim:GHC.Prim.State#{(w) tc 32q}
ghc-prim:GHC.Prim.RealWorld{(w) tc 31E},
OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.VertexSpec.Color3{tc rnw}
a{tv a1sB7} [tv] #)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Profiling |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |