[GHC] #13325: Binary distributions produced from cross-compiled stage2 are broken

GHC ghc-devs at haskell.org
Sun Feb 26 21:18:31 UTC 2017


#13325: Binary distributions produced from cross-compiled stage2 are broken
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8910             |  Differential Rev(s):  Phab:D3187
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"a7eeb607e62bb360327d834fc6dd5ea6195ae825/ghc"
 a7eeb607/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a7eeb607e62bb360327d834fc6dd5ea6195ae825"
 build system: Persist CrossCompiling in binary distributions

 The build system uses the CrossCompiling variable to decide whether or
 not we should build various packages that must be built using the
 compiler.  Consequently, it is important that we persist its value in
 the binary distribution so we know during `make install` not to go
 looking for files that would have been built for these packages. Failing
 to do this causes #13325.

 Test Plan: Cross compile, `make binary-dist`, and try installing the
 binary distribution on the target

 Reviewers: hvr, austin, trofi, rwbarton

 Reviewed By: trofi, rwbarton

 Subscribers: carter, trofi, rwbarton, erikd, thomie, snowleopard, davean

 Differential Revision: https://phabricator.haskell.org/D3187
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13325#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list