<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - lld trunk r321545 thread race linking ruby 2.4, sometimes hangs"
   href="https://bugs.llvm.org/show_bug.cgi?id=35788">35788</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lld trunk r321545 thread race linking ruby 2.4, sometimes hangs
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dimitry@andric.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19617" name="attach_19617" title="ThreadSanitizer output showing races in lld">attachment 19617</a> <a href="attachment.cgi?id=19617&action=edit" title="ThreadSanitizer output showing races in lld">[details]</a></span>
ThreadSanitizer output showing races in lld

I experienced a hanging libruby24.so link job, using lld trunk r321545.  I
recompiled lld with -fsanitize=thread, output of a run is attached.

LLD_REPRODUCE tarball (~2MiB):
<a href="http://www.andric.com/freebsd/lld/ruby-race.tar.xz">http://www.andric.com/freebsd/lld/ruby-race.tar.xz</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>