[GHC] #9309: Regression when building the 'sizes' application

#9309: Regression when building the 'sizes' application ----------------------------+---------------------------------------------- Reporter: | Owner: JohnWiegley | Status: new Type: bug | Milestone: 7.10.1 Priority: normal | Version: 7.8.3 Component: Compiler | Operating System: Unknown/Multiple Keywords: | Type of failure: GHC rejects valid program Architecture: | Test Case: Unknown/Multiple | Blocking: Difficulty: Unknown | Blocked By: | Related Tickets: | ----------------------------+---------------------------------------------- I have a package on Hackage called `sizes`. It builds fine with GHC 7.8.2, but when building with 7.8.3 I get: ghc: panic! (the 'impossible' happened) (GHC version 7.8.3 for x86_64-apple-darwin): make_exp (App _ (Coercion _)) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9309 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9309: Regression when building the 'sizes' application ----------------------------------------------+---------------------------- Reporter: JohnWiegley | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects valid program | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------------+---------------------------- Description changed by nomeata: Old description:
I have a package on Hackage called `sizes`. It builds fine with GHC 7.8.2, but when building with 7.8.3 I get:
ghc: panic! (the 'impossible' happened) (GHC version 7.8.3 for x86_64-apple-darwin): make_exp (App _ (Coercion _))
New description: I have a package on Hackage called `sizes`. It builds fine with GHC 7.8.2, but when building with 7.8.3 I get: {{{ ghc: panic! (the 'impossible' happened) (GHC version 7.8.3 for x86_64-apple-darwin): make_exp (App _ (Coercion _)) }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9309#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9309: Regression when building the 'sizes' application ----------------------------------------------+---------------------------- Reporter: JohnWiegley | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects valid program | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------------+---------------------------- Comment (by nomeata): Just tried with GHC HEAD, not reproducible here. Did you try with 7.8.3? Maybe it is already fixed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9309#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9309: Regression when building the 'sizes' application ----------------------------------------------+---------------------------- Reporter: JohnWiegley | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects valid program | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------------+---------------------------- Comment (by nomeata): Nevermind, read your version numbers wrong. Judging from a `git log`, `make_exp` comes from external core. I guess you just have to remove `-fext-core` from your Cabal file. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9309#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9309: Regression when building the 'sizes' application ----------------------------------------------+---------------------------- Reporter: JohnWiegley | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects valid program | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------------+---------------------------- Comment (by simonpj): And indeed, after consultation, Austin removed External Core from GHC HEAD altogether, a month or two back. It was always out of date, no one was willing to give it any love, and there was no evidence of demand. You may want to consider using the GHC API instead. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9309#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9309: Regression when building the 'sizes' application -------------------------------------+------------------------------------- Reporter: | Owner: JohnWiegley | Status: closed Type: bug | Milestone: 7.10.1 Priority: normal | Version: 7.8.3 Component: Compiler | Keywords: Resolution: wontfix | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: GHC | Related Tickets: rejects valid program | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by monoidal): * status: new => closed * resolution: => wontfix Comment: External Core was removed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9309#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC