[GHC] #5: fails if library has main()

GHC ghc-devs at haskell.org
Fri Mar 2 21:53:55 UTC 2018


#5: fails if library has main()
--------------------------------+----------------------
       Reporter:  cwitty        |      Owner:  simonmar
           Type:  bug           |     Status:  closed
       Priority:  normal        |  Milestone:
      Component:  Driver        |    Version:  5.02
     Resolution:  Wont Fix      |   Keywords:
Type of failure:  None/Unknown  |
--------------------------------+----------------------
Changes (by Ben Gamari <ben@…>):

 * failure:   => None/Unknown


Comment:

 In [changeset:"5f6fcf7808b16d066ad0fb2068225b3f2e8363f7/ghc"
 5f6fcf78/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="5f6fcf7808b16d066ad0fb2068225b3f2e8363f7"
 Compile with `--via-asm` when cross compiling.

 This bumps `hsc2hs` and adds the new `--via-asm` flag,
 which allows to successfully cross compile the win32
 lirbary.

 - Compile with `--via-asm` when cross compiling. This requires
 haskell/hsc2hs#5 (https://github.com/haskell/hsc2hs/pull/5)

 Test Plan: ./validate

 Reviewers: bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

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

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


More information about the ghc-tickets mailing list