[GHC] #13548: the 'impossible' happened during building PureScript for profiling

GHC ghc-devs at haskell.org
Sat Apr 8 12:46:24 UTC 2017


#13548: the 'impossible' happened during building PureScript for profiling
-------------------------------------+-------------------------------------
           Reporter:  hdgarrood      |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Compile-time
  Unknown/Multiple                   |  crash or panic
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Repro steps:

 * `git clone https://github.com/purescript/purescript`
 * `cd purescript`
 * `git checkout v0.11.2`
 * `stack build --profile`

 The error was:

 {{{
 [ 23 of 145] Compiling Language.PureScript.Constants (
 src/Language/PureScript/Constants.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.24.2.0/build/Language/PureScript/Constants.p_o
 )
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.0.2 for x86_64-unknown-linux):
         kindPrimRep.go rep_sfuE

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


 --  While building package purescript-0.11.2 using:
       /home/harry/.stack/setup-exe-cache/x86_64-linux/Cabal-
 simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-
 work/dist/x86_64-linux/Cabal-1.24.2.0 build lib:purescript exe:purs --ghc-
 options " -ddump-hi -ddump-to-file"
     Process exited with code: ExitFailure 1
 }}}

 Sorry that this is pretty much the complete opposite of a minimal
 reproducing example, but I have no clue how to go about isolating the part
 that's actually causing the problem.

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


More information about the ghc-tickets mailing list