[GHC] #8102: Parallel build of HEAD consistently fails

GHC ghc-devs at haskell.org
Tue Jan 7 14:31:36 UTC 2014


#8102: Parallel build of HEAD consistently fails
-------------------------------------+------------------------------------
        Reporter:  edsko             |            Owner:
            Type:  bug               |           Status:  patch
        Priority:  normal            |        Milestone:
       Component:  Build System      |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"8ed8ac58b4a5c8654fccee4436ca62bf7c690474/integer-gmp"]:
 {{{
 #!CommitTicketReference repository="integer-gmp"
 revision="8ed8ac58b4a5c8654fccee4436ca62bf7c690474"
 Hackishly fix parallel build failure with in-tree GMP

 See the comments and #8102. The basic gist of it seems to be that the
 build system follows an implied rule from somewhere to directly build a
 C file, which doesn't have a dependency on the in-tree gmp.h that we
 build. As a result, the C file compilation races against the GMP build,
 causing an error.

 This is a pretty unsatisfactory hack, but for Windows and OS X machines
 where we more often build in-tree GMPs, it's quite important.

 Authored-by: Kazu Yamamoto <kazu at iij.ad.jp>
 Signed-off-by: Austin Seipp <austin at well-typed.com>
 }}}

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


More information about the ghc-tickets mailing list