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

GHC cvs-ghc at haskell.org
Sat Mar 16 15:36:05 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 AndreasVoellmy):

 It turns out that kqueueserver2.c (mentioned in previous comments in this
 item) had an error in it. Therefore, it does not indicate any problem with
 kevent64. The problem in that code occurred because the program allocated
 a struct kevent64_s and failed to initialize some of that struct's fields.
 There must have been some garbage values in these fields that caused
 kevent64 to behave oddly. The fix is to use the EV_SET64 macro to
 initialize the struct.

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



More information about the ghc-tickets mailing list