[GHC] #7760: iOS patch no 15: remove HSC2HS_EXTRA from hsc2hs's stage0 wrapper
GHC
cvs-ghc at haskell.org
Sat Mar 9 12:08:07 CET 2013
#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
More information about the ghc-tickets
mailing list