[llvm-bugs] [Bug 42376] New: Improve handling of archives without symbol tables

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 24 14:00:15 PDT 2019


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

            Bug ID: 42376
           Summary: Improve handling of archives without symbol tables
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: wasm
          Assignee: unassignedbugs at nondot.org
          Reporter: sbc at chromium.org
                CC: llvm-bugs at lists.llvm.org, sbc at chromium.org

With wasm its (as with LTO) its fairly common that the system `ar` tool fail to
add a symbol table.

Currently we ignore such archives.  We should try to do better in some way.

The ELF backend with process individual archive entries if the are all LTO
objects.

GNU ld will bail out with "error adding symbols: Archive has no index; run
ranlib to add one".

-- 
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/20190624/4ce9a91f/attachment.html>


More information about the llvm-bugs mailing list