[LLVMbugs] [Bug 15580] New: PPC64: Relocation error in Dwarf debug info for TLS variable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 24 22:40:21 PDT 2013


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

            Bug ID: 15580
           Summary: PPC64: Relocation error in Dwarf debug info for TLS
                    variable
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: kai at redstar.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10233
  --> http://llvm.org/bugs/attachment.cgi?id=10233&action=edit
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.

-- 
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/20130325/10caf4b3/attachment.html>


More information about the llvm-bugs mailing list