<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - Gold crashing while running the TSan tests"
   href="http://llvm.org/bugs/show_bug.cgi?id=16468">16468</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Gold crashing while running the TSan tests
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dblaikie@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dvyukov@google.com, kcc@google.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Switching to the default gold in my linux distro (GNU gold (GNU Binutils for
Ubuntu 2.22) 1.11) I can no longer run the TSan tests.

This seems to be fixed in more recent versions of gold, but I thought I might
file this as it's the default gold on many machines & might be worth working
around if the cost is sufficiently low.

The failure is:
/usr/bin/ld: internal error in sized_finalize_symbol, at
../../gold/symtab.cc:2670

It's not clear if
<a href="https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/973172">https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/973172</a> might give some
insight into this issue.

This can be worked around by using binutils-ld or a more recent version of gold
(verified with "GNU gold (GNU Binutils 2.23.1) 1.11")

Feel free to close without change if it's not obvious or not easy to
workaround.</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>