[llvm-dev] Ld64.lld cannot find Foundation framework

Edmund Furse via llvm-dev llvm-dev at lists.llvm.org
Thu May 7 12:15:41 PDT 2020


James, many thanks.

Is there any linker available for Macs that has a freely available binary version?
I thought maybe that GNU’s linker might fit the bill?

I cannot use Apple’s linker from /usr/bin/ as it is not allowed to make external calls from a sandboxed app.
Hence my interest in the LLVM lld.

> On 7 May 2020, at 19:21, James Y Knight <jyknight at google.com> wrote:
> 
> On Thu, May 7, 2020 at 1:54 PM Edmund Furse <edmund.furse at imitation.uk.com <mailto:edmund.furse at imitation.uk.com>> wrote:
> Thanks for your reply.  Two questions:
> 1). Will ld64.lld be fixed in LLVM v11.0 and when is this likely to be?
> 
> Likely won't be fixed that soon.
> 
> 2). You mention Apple’s linker, by which I assume you mean GNU’s ld.
> 	Is it possible to get a binary version of ld (preferably that does not use other things from /usr/bin)?
> 
> No, Apple does not use GNU ld, they have their own linker, "ld64". That's what you ran as /usr/bin/ld on your mac.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200507/71a1f9a4/attachment.html>


More information about the llvm-dev mailing list