[GHC] #8330: Remove ExtsCompat46 module once we bootstrap with GHC 7.8
#8330: Remove ExtsCompat46 module once we bootstrap with GHC 7.8 -------------------------------------------+------------------------------- Reporter: jstolarek | Owner: Type: task | Status: new Priority: low | Milestone: 7.10.1 Component: Compiler | Version: 7.7 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Easy (less than 1 hour) | Type of failure: Blocked By: | None/Unknown Related Tickets: | Test Case: | Blocking: -------------------------------------------+------------------------------- Changing type signature of comparison primops from `Bool` to `Int#` in GHC 7.8 (see #6135) caused a problem: type signatures of functions might be different for the bootstrapping compiler (if it is older than 7.8) than they are for the stage1 compiler. In order to solve this problem I introduced a compatibility module [[GhcFile(compiler/utils/ExtsCompat46)]] that provides different definition of primops for older versions of GHC (`__GLASGOW_HASKELL__ <= 706`) and different for newer versions (`__GLASGOW_HASKELL__ > 706`). However, once we set minimal version of GHC required for bootstrapping to be 7.8, we can (and should!) remove that compatibility module and go back to using GHC.Exts. This ticket is a reminder that we should do this after we release GHC 7.10 or 7.12. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8330> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8330: Remove ExtsCompat46 module once we bootstrap with GHC 7.8 -------------------------------+------------------------------------------- Reporter: jstolarek | Owner: Type: task | Status: new Priority: highest | Milestone: 7.10.1 Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Easy (less than 1 hour) Type of failure: | Blocked By: None/Unknown | Related Tickets: Test Case: | Blocking: | -------------------------------+------------------------------------------- Changes (by simonpj): * priority: low => highest -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8330#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8330: Remove ExtsCompat46 module once we bootstrap with GHC 7.8 -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: Type: task | Status: new Priority: highest | Milestone: 7.12.1 Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Easy (less than 1 Type of failure: | hour) None/Unknown | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by hvr): * milestone: 7.10.1 => 7.12.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8330#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8330: Remove ExtsCompat46 module once we bootstrap with GHC 7.8 -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: Type: task | Status: new Priority: highest | Milestone: 7.12.1 Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"37a0b50b5e28a326159bb464effb499c1d9de775/ghc" 37a0b50/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="37a0b50b5e28a326159bb464effb499c1d9de775" Delete ExtsCompat46 (#8330) We require ghc-7.8 to build HEAD (ghc-7.11). Differential Revision: https://phabricator.haskell.org/D1165 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8330#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8330: Remove ExtsCompat46 module once we bootstrap with GHC 7.8 -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: Type: task | Status: closed Priority: highest | Milestone: 7.12.1 Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => fixed Comment: Done! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8330#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC