[llvm-bugs] [Bug 50597] error library not found

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 6 17:20:58 PDT 2021


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

Shoaib Meenai <smeenai at fb.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Shoaib Meenai <smeenai at fb.com> ---
You need to point LLD to an SDK; -syslibroot is the canonical way to do this,
and Clang will handle it if you pass -isysroot to it (or run it with the
SDKROOT environment variable, which is what the system Clang binary implicitly
does, as does xcrun). ld64 has the same behavior, so I'd say this is working as
intended, but please reopen if you disagree.

-- 
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/20210607/8e84adea/attachment.html>


More information about the llvm-bugs mailing list