#3289: make -j3 (or make -j30) occasionally fails on 6.11
------------------------------------------+---------------------------------
    Reporter:  gbeshers                   |        Owner:         
        Type:  bug                        |       Status:  closed 
    Priority:  normal                     |    Milestone:  6.12.1 
   Component:  Build System               |      Version:  6.11   
    Severity:  normal                     |   Resolution:  fixed  
    Keywords:  makefile dependency split  |   Difficulty:  Unknown
    Testcase:                             |           Os:  Linux  
Architecture:  x86_64 (amd64)             |  
------------------------------------------+---------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 The problem is that both
 {{{
 libraries/base/dist-install/build/GHC/Float.o
 libraries/base/dist-install/build/GHC/Float.p_o
 }}}
 used (and cleaned) the same
 {{{
 libraries/base/dist-install/build/GHC/Float_split
 }}}
 directory, so there is a race condition if both are built in parallel.

 Fixed by:
 {{{
 Sat Jul 18 07:55:22 PDT 2009  Ian Lynagh <[email protected]>
   * Add osuf to the name we use for the split dir
   This avoids a collision between the directories we use when compiling
   multiple ways, which in turn leads to a race condition in parallel
   builds.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3289#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to