[LLVMbugs] [Bug 15359] New: PPC64: Code for accessing TLS variable results in "TLS definition in ... section .tbss mismatches non-TLS reference in ..."

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 25 21:35:02 PST 2013


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

            Bug ID: 15359
           Summary: PPC64: Code for accessing TLS variable results in "TLS
                    definition in ... section .tbss mismatches non-TLS
                    reference in ..."
           Product: libraries
           Version: trunk
          Hardware: PC
                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 10078
  --> http://llvm.org/bugs/attachment.cgi?id=10078&action=edit
File containing the variable definition

If the attached .ll files are compiled and linked with

llc -O1 tls_reloc.ll -filetype=obj
llc -O1 tls_reloc_main.ll -filetype=obj
gcc tls_reloc.o tls_reloc_main.o

then the linker shows the error message

/usr/bin/ld: nextIdx: TLS definition in tls_reloc_main.o section .tbss
mismatches non-TLS reference in tls_reloc.o
tls_reloc_main.o: could not read symbols: Bad value

-- 
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/20130226/5d19f790/attachment.html>


More information about the llvm-bugs mailing list