[LLVMbugs] [Bug 19357] New: cyclic module dependencies can deadlock

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 7 10:20:23 PDT 2014


            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: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140407/c06eb572/attachment.html>

More information about the llvm-bugs mailing list