<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 --- - PPC64: Relocation error in Dwarf debug info for TLS variable"
   href="http://llvm.org/bugs/show_bug.cgi?id=15580">15580</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PPC64: Relocation error in Dwarf debug info for TLS variable
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>Backend: PowerPC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>kai@redstar.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10233" name="attach_10233" title="IR file demonstrating the bug.">attachment 10233</a> <a href="attachment.cgi?id=10233&action=edit" title="IR file demonstrating the bug.">[details]</a></span>
IR file demonstrating the bug.

If you compile the attached tls.ll with these commands:

llc -filetype=obj tls.ll
gcc -m64 -g tls.o

then it results in the following error message:

/usr/bin/ld: t.o(.debug_info+0x39): R_PPC64_ADDR64 used with TLS symbol
_D6tlsrel3ptrPv

The .ll file is reduced from a larger file generated by LDC. The error does not
occur if not Dwarf debug info is generated.</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>