[GHC] #15102: GHC panic when compiling gi-pango-1.0.15
GHC
ghc-devs at haskell.org
Mon Apr 30 10:10:21 UTC 2018
#15102: GHC panic when compiling gi-pango-1.0.15
-------------------------------------+-------------------------------------
Reporter: PaulJohnson | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.2.2
Keywords: | Operating System: Linux
Architecture: | Type of failure: Compile-time
Unknown/Multiple | crash or panic
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
I got the following error message:
{{{
ghc: panic! (the 'impossible' happened)
(GHC version 8.2.2 for x86_64-unknown-linux):
tcIfaceGlobal (local): not found
You are in a maze of twisty little passages, all alike.
While forcing the thunk for TyThing Layout
which was lazily initialized by initIfaceCheck typecheckLoop,
I tried to tie the knot, but I couldn't find Layout
in the current type environment.
If you are developing GHC, please read Note [Tying the knot]
and Note [Type-checking inside the knot].
Consider rebuilding GHC with profiling for a better stack trace.
Contents of current type environment: []
Call stack:
CallStack (from HasCallStack):
prettyCurrentCallStack, called at
compiler/utils/Outputable.hs:1133:58 in ghc:Outputable
callStackDoc, called at compiler/utils/Outputable.hs:1137:37
in ghc:Outputable
pprPanic, called at compiler/iface/TcIface.hs:1696:23 in
ghc:TcIface
}}}
A self-contained Stack project that demonstrates the problem is attached.
I'm using Stack Version 1.6.3 x86_64 hpack-0.20.0
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15102>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list