[llvm-bugs] [Bug 51475] lld-macho doesn't force-load ObjC archive members before resolving their symbols

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 30 12:43:26 PDT 2021


Vy Nguyen <vyng at google.com> changed:

           What    |Removed                     |Added
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #14 from Vy Nguyen <vyng at google.com> ---
Sorry, still not fully fixed yet :-( and it seems to have introduced additional
stranger breakages. (To be clear, the commit has fixed the handling involving
archives, but there are still more cases).

Most new breakages we get now are like this:
ld64.lld.darwinnew: error: duplicate symbol: Foo
>>> defined in path/to/Bar.o
>>> defined in path/to/Bar.o

(note that these two are the exact same obj files)

I'll update with a test case soon, but want to re-open this beefore I forgot.

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/20210830/879ab08f/attachment.html>

More information about the llvm-bugs mailing list