Changes between Initial Version and Version 1 of Ticket #7651


Ignore:
Timestamp:
Feb 4, 2013 11:14:39 AM (15 months ago)
Author:
simonmar
Comment:

Added a bit of formatting and text to the description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7651

    • Property Difficulty changed from to Unknown
  • Ticket #7651 – Description

    initial v1  
    22compiling the dph libraries in the phase 2. 
    33 
    4 * This happens only if we specify "-j" to "make". Note that "make" closes stdin of sub-processes if "-j" is specified. 
     4We '''suspect this is due to a bug in the OS X implementation of kqueue''', for the reasons given below.  In the meantime, we have added an extra IO manager wakeup that appears to work around the problem; see `GHC/Event/Manager.hs`. 
    55 
    6 * Even if we specify "-j" to "make", the problem disappears with stdout/stderr redirection. That is, "make -jN >& LOG &" works. 
     6Details: 
    77 
    8 * The "-d" option of "make" does not make any effects. 
     8 * This happens only if we specify "-j" to "make". Note that "make" closes stdin of sub-processes if "-j" is specified. 
    99 
    10 * Programs compiled with built GHC (with our patches) work well. For test, I compiled a daemon HTTP server which closes stdin/stdout/stderr. It worked well. 
     10 * Even if we specify "-j" to "make", the problem disappears with stdout/stderr redirection. That is, "make -jN >& LOG &" works. 
     11 
     12 * The "-d" option of "make" does not make any effects. 
     13 
     14 * Programs compiled with built GHC (with our patches) work well. For test, I compiled a daemon HTTP server which closes stdin/stdout/stderr. It worked well. 
    1115 
    1216An IO manager is polling a kqueue fd. Another Haskell thread on 
     
    2327I have some evidences that kqueue of Mac is buggy: 
    2428 
    25 * http://comments.gmane.org/gmane.comp.lib.ev/1871 
    26 * http://lists.apple.com/archives/darwin-dev/2011/Jun/msg00016.html 
     29 * http://comments.gmane.org/gmane.comp.lib.ev/1871 
     30 * http://lists.apple.com/archives/darwin-dev/2011/Jun/msg00016.html