"ghc: panic" when trying to build purescript with profiling
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.
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |