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

Reply via email to