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: unassignedb...@nondot.org
          Reporter: s...@chromium.org
                CC: llvm-bugs@lists.llvm.org, s...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to