[Bug 989593] [ppc64] [s390x] ghc-7.6.3 build with ghc-7.6.3 doesn't complete

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 11 05:17:00 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=989593



--- Comment #26 from Jens Petersen <petersen at redhat.com> ---
Looking through the ghc compiler driver code, it seems the exit
point from ghc to the process library related to the seen hangs
happens from compiler/main/SysTools.lhs.

runCpp or runUnlit -> runSomething -> builderMainLoop which is defined at:

http://git.haskell.org/ghc.git/blob/HEAD:/compiler/main/SysTools.lhs#l1014

and runs the process which a loop watches:

    -- status starts at zero, and increments each time either
    -- a reader process gets EOF, or the build proc exits.  We wait
    -- for all of these to happen (status==3).
    -- ToDo: we should really have a contingency plan in case any of
    -- the threads dies, such as a timeout.

Dunno if the last comment may be relevant to this bug...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=uj0AEWQXpj&a=cc_unsubscribe


More information about the haskell-devel mailing list