[llvm-bugs] [Bug 26432] New: Archive name is not printed in diagnostic.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 1 21:34:27 PST 2016


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

            Bug ID: 26432
           Summary: Archive name is not printed in diagnostic.
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: chisophugis at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Currently, when LLD issues a "duplicate symbol" error, where one symbol is in
an archive, the name of the archive isn't printed. For example, the diagnostic
will be something like:

duplicate symbol: foo in foo.o and some/long/path/to/other.o

For clarity, it should be something like:

duplicate symbol: foo in some/long/path/to/unexpected.a(foo.o) and
some/long/path/to/other.o

It is hard to communicate in a reduced test case, but in practice the path to
the .a file is sometimes not obvious. Especially when there are two archives,
you can end up with e.g. "duplicate symbol: foo in foo.o and foo.o", which is
not very helpful.

-- 
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/20160202/e44279c9/attachment.html>


More information about the llvm-bugs mailing list