[GHC] #7651: Buiding GHC with parallel IO manager freezes on Mac (not on FreeBSD)

GHC cvs-ghc at haskell.org
Fri Feb 8 07:51:08 CET 2013


#7651: Buiding GHC with parallel IO manager freezes on Mac (not on FreeBSD)
---------------------------------+------------------------------------------
    Reporter:  kazu-yamamoto     |       Owner:                     
        Type:  bug               |      Status:  new                
    Priority:  normal            |   Milestone:                     
   Component:  Build System      |     Version:  7.7                
    Keywords:                    |          Os:  MacOS X            
Architecture:  Unknown/Multiple  |     Failure:  Building GHC failed
  Difficulty:  Unknown           |    Testcase:                     
   Blockedby:                    |    Blocking:                     
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by kazu-yamamoto):

 Andreas wrote C programs to simulate the parallel IO manager:
 https://github.com/AndreasVoellmy/epollbug

 kqueueserver2 uses kevent64() while kqueueserver3 uses kevent(). kqueue2
 disclosed that kevent64() is unstable. The details are described in:
 https://discussions.apple.com/thread/4783301

 We stopped using kevent64() and started using kevent() in the parallel IO
 manager. But building GHC still freezes. So, workaround is still necessary
 on Mac.

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



More information about the ghc-tickets mailing list