[GHC] #7780: GHC HEAD dll fails to build on Windows

GHC ghc-devs at haskell.org
Sat Oct 4 20:29:23 UTC 2014


#7780: GHC HEAD dll fails to build on Windows
----------------------------------------+----------------------------------
        Reporter:  rassilon             |            Owner:  igloo
            Type:  bug                  |           Status:  closed
        Priority:  normal               |        Milestone:
       Component:  Build System         |          Version:
      Resolution:  fixed                |         Keywords:
Operating System:  Windows              |     Architecture:
 Type of failure:  Building GHC failed  |  Unknown/Multiple
       Test Case:                       |       Difficulty:  Unknown
        Blocking:                       |       Blocked By:
                                        |  Related Tickets:
----------------------------------------+----------------------------------

Comment (by Sergei Trofimovich <slyfox@…>):

 In [changeset:"2a8ea4745d6ff79d6ce17961a64d9013243fc3c6/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2a8ea4745d6ff79d6ce17961a64d9013243fc3c6"
 ghc.mk: fix list for dll-split on GHCi-less builds

 To reproduce build failure it's enough to try
 to build GHC on amd64 with the following setup:

     $ cat mk/build.mk
     # for #9552
     GhcWithInterpreter = NO

 It gives:

     Reachable modules from DynFlags out of date
     Please fix compiler/ghc.mk, or building DLLs on Windows may break
 (#7780)
     Redundant modules: Bitmap BlockId ... <list of 42 modules>
     <make error>

 dll-split among other things makes sure
 all mentioned modules are used by DynFlags.
 '#ifdef GHCI' keeps is from happening.

 Patch moves those 42 modules under
 'GhcWithInterpreter' guard.

 Fixes Issue #9552

 Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
 }}}

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


More information about the ghc-tickets mailing list