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

GHC ghc-devs at haskell.org
Fri Jan 6 17:56:28 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
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Description changed by dobenour:

@@ -19,0 +19,3 @@
+
+ compiler/ghc.mk:582: recipe for target
+ 'compiler/stage2/build/StgCmmMonad.p_o' failed

New description:

 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

 compiler/ghc.mk:582: recipe for target
 'compiler/stage2/build/StgCmmMonad.p_o' failed
 }}}

 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#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list