[llvm-bugs] [Bug 36049] New: Mismatched TLS error could be better

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 22 19:24:10 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36049

            Bug ID: 36049
           Summary: Mismatched TLS error could be better
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org

We print

ld.lld: error: TLS attribute mismatch: foo                               
>>> defined in test2.o                                                   
>>> defined in test.o

but test.o has an undefined reference to test.o.

I would keep this error in the symbol table since we we already do too much in
the relocation processing, but it could say "referenced in test.o".

-- 
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/20180123/180f3ad9/attachment.html>


More information about the llvm-bugs mailing list