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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to