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

#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

#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 Resolution: | Keywords: Operating System: MacOS X | Architecture: Other Type of failure: Compile-time | Test Case: crash or panic | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): My guess is that this will be fixed in HEAD, as the whole mechanism around `kindPrimRep` has been rewritten. Can anyone verify? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13503#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13503: "ghc: panic" when trying to build purescript with profiling -------------------------------------+------------------------------------- Reporter: rintcius | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: Other Type of failure: Compile-time | Test Case: crash or panic | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => fixed Comment: I've verified that `purescript-0.11.1` builds without issue on GHC HEAD with profiling. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13503#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC