#7239: GHC panic: MkExternalCore died: make_lit --------------------------------+------------------------------------------- Reporter: audunska | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.1 | Keywords: panic, MkExternalCore Os: Linux | Architecture: x86_64 (amd64) Failure: Compile-time crash | Testcase: Blockedby: | Blocking: Related: | --------------------------------+------------------------------------------- Compiling the attached example with -fext-core crashes ghc with the following text:
$ ghc -fext-core min.hs [1 of 1] Compiling Main ( min.hs, min.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.4.1 for x86_64-unknown-linux): MkExternalCore died: make_lit Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Replacing the data declaration with a newtype or a library type such as Complex or Ratio gives the same crash. An empty .hcr file is created. Replacing the "main" action with "return ()" or removing one of the type synonym declarations makes the crash go away. This is using the ghc package distributed with ubuntu 12.04. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7239> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs