[GHC] #8260: Parallel build behaves erratic under Windows

#8260: Parallel build behaves erratic under Windows ----------------------------------+---------------------------------------- Reporter: schyler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.7 Keywords: | Operating System: Windows Architecture: | Type of failure: Building GHC failed Unknown/Multiple | Test Case: Difficulty: Unknown | Blocking: Blocked By: | Related Tickets: | ----------------------------------+---------------------------------------- Under Windows, `make -j4` will freeze randomly all through the build system (every ~ 1-2 minutes). The only way to get it to resume it is to kill the make process and restart it. It sometimes even freezes on things like `rm` or `happy`. This makes building GHC take an unbearably long time. Tested on latest MinGW. {{{ GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i686-pc-msys }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8260 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8260: Parallel build behaves erratic under Windows ----------------------------------------+---------------------------------- Reporter: schyler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by ezyang): I've seen this. I think it is this regression: http://sourceforge.net/p/mingw/bugs/1950/ However, when I revert my version of msys-core-bin, I have not been able to get parallel make. Give it a try; you may have better luck. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8260#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8260: Parallel build behaves erratic under Windows ----------------------------------------+---------------------------------- Reporter: schyler | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: fixed | Keywords: Operating System: Windows | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by schyler): * status: new => closed * resolution: => fixed Comment: The mailing list suggested using MSYS2, which has a working make w/ -j. This seems to resolve the problem. http://sourceforge.net/projects/msys2/ Since this isn't really a GHC bug, I'm closing it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8260#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC