[GHC] #13078: Panic from ghc-stage1 when building HEAD with profiling

GHC ghc-devs at haskell.org
Fri Jan 6 17:52:57 UTC 2017


#13078: Panic from ghc-stage1 when building HEAD with profiling
-------------------------------------+-------------------------------------
           Reporter:  dobenour       |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.2.1
          Component:  Compiler       |           Version:  8.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 When building 3a18baff06abc193569b1b76358da26375b3c8d6 with profiling, GHC
 emits this error:

 {{{
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 8.1.20170106 for x86_64-unknown-linux):
         kindPrimRep.go
   k0
   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/simplStg/RepType.hs:369:9 in
 ghc:RepType

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

 I have attached my `build.mk` file.  It may be wrong, but I don't think it
 includes anything that should break GHC.  Even if it did, I should get
 some sort of error message, not a panic.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13078>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list