[GHC] #7760: iOS patch no 15: remove HSC2HS_EXTRA from hsc2hs's stage0 wrapper
#7760: iOS patch no 15: remove HSC2HS_EXTRA from hsc2hs's stage0 wrapper --------------------------------+------------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: new Priority: normal | Component: Build System Version: 7.7 | Keywords: Os: Other | Architecture: Unknown/Multiple Failure: Building GHC failed | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- hsc2hs gets built in stage0 and stage1. The stage0 binary is used during the build, and the stage1 binary is the one that get released. The hsc2hs that gets built in stage0 is used during the build in both in stage0 and in stage1. Currently some options specific to the platform are encoded into the hsc2hs wrapper script (inplace/bin/hsc2hs) in a variable called HSC2HS_EXTRA. The problem with this is that in stage0 and stage1 we need different options. The solution is very simple: Just don't put these options into the stage0 wrapper. The build system passes the right options for whatever stage it's up to anyway when it invokes it. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7760> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#7760: iOS patch no 15: remove HSC2HS_EXTRA from hsc2hs's stage0 wrapper --------------------------------+------------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: patch Priority: normal | Component: Build System Version: 7.7 | Keywords: Os: Other | Architecture: Unknown/Multiple Failure: Building GHC failed | Blockedby: Blocking: 7724 | Related: --------------------------------+------------------------------------------- Changes (by StephenBlackheath): * status: new => patch * blocking: => 7724 -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7760#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#7760: iOS patch no 15: remove HSC2HS_EXTRA from hsc2hs's stage0 wrapper ----------------------------------+----------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.8.1 Component: Build System | Version: 7.7 Keywords: | Os: Other Architecture: Unknown/Multiple | Failure: Building GHC failed Difficulty: Unknown | Testcase: Blockedby: | Blocking: 7724 Related: | ----------------------------------+----------------------------------------- Changes (by igloo): * difficulty: => Unknown * milestone: => 7.8.1 -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7760#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#7760: iOS patch no 15: remove HSC2HS_EXTRA from hsc2hs's stage0 wrapper ----------------------------------+----------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Build System | Version: 7.7 Resolution: fixed | Keywords: Os: Other | Architecture: Unknown/Multiple Failure: Building GHC failed | Difficulty: Unknown Testcase: | Blockedby: Blocking: 7724 | Related: ----------------------------------+----------------------------------------- Changes (by igloo): * status: patch => closed * resolution: => fixed Comment: Applied, thanks: {{{ commit 46abf34f337dbc5fa638f06912e34966a9d1a147 Author: Ian Lynagh <ian@well-typed.com> Date: Sun Apr 21 18:17:24 2013 +0100 remove HSC2HS_EXTRA options from stage0 wrapper for hsc2hs Patch from Stephen Blackheath. The inplace hsc2hs is used for all stages, so we can't bake the stage 0 options into it. The build system passes the right flags anyway. }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7760#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC