http://llvm.org/bugs/show_bug.cgi?id=19357

            Bug ID: 19357
           Summary: cyclic module dependencies can deadlock
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

If module A depends on module B, and module B depends on module A, and we
perform a -j2 build where one action builds module A first and the other builds
B first, those two build steps can deadlock, because each of them first
acquires the lock for the being-built module then tries to wait for the other
module's lock.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to