[GHC] #13503: "ghc: panic" when trying to build purescript with profiling

GHC ghc-devs at haskell.org
Thu Mar 30 17:54:44 UTC 2017


#13503: "ghc: panic" when trying to build purescript with profiling
-------------------------------------+-------------------------------------
           Reporter:  rintcius       |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.2
           Keywords:                 |  Operating System:  MacOS X
       Architecture:  Other          |   Type of failure:  Compile-time
                                     |  crash or panic
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 i got the following panic when trying to build purescript with profiling
 (the plain build works ok)

 {{{

 $ stack build --executable-profiling --library-profiling --ghc-options
 ="-fprof-auto -rtsopts"
 purescript-0.11.1: build
 Preprocessing library purescript-0.11.1...
 [ 23 of 145] Compiling Language.PureScript.Constants (
 src/Language/PureScript/Constants.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.24.2.0/build/Language/PureScript/Constants.p_o
 )
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.0.2 for x86_64-apple-darwin):
         kindPrimRep.go rep_sfuE

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


 --  While building package purescript-0.11.1 using:
       /Users/rintciusblok/.stack/setup-exe-cache/x86_64-osx/setup-Simple-
 Cabal-1.24.2.0-ghc-8.0.2 --builddir=.stack-
 work/dist/x86_64-osx/Cabal-1.24.2.0 build lib:purescript exe:purs --ghc-
 options " -ddump-hi -ddump-to-file"
     Process exited with code: ExitFailure 1

 }}}

 If this report needs to be reduced, I'd be happy to do that, but I would
 need some guidance in that case.

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


More information about the ghc-tickets mailing list