Displaying 3 results from an estimated 3 matches for "ed59b711".
2018 Jan 07
0
Fwd: LLD (macOS) usage?
I'm seeing something similar.
clang is using HOST_LINK_VERSION, obtained from ld64, as the default for
-mlinker-version. This causes Darwin.cpp to add the arguments you are
seeing, but not handled by lld. Perhaps -fuse-ld should be considered in
addition to -mlinker-version when adding these arguments.
As a workaround, you can try passing -mlinker-version. Looks like anything
< 133
2018 Jan 07
1
LLD (macOS) usage?
..._________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180107/ed59b711/attachment.html>
2018 Jan 04
4
Fwd: LLD (macOS) usage?
Hi. I'm using LLVM 5.0.1 on macOS 10.12.
I have a very simple program (program.c):
int main() {}
When attempting to compile with LLD, I get this output:
$ clang -fuse-ld=lld program.c
/opt/llvm/5.0.1/bin/ld.lld: error: unknown argument: -no_deduplicate
/opt/llvm/5.0.1/bin/ld.lld: error: unknown argument: -dynamic
/opt/llvm/5.0.1/bin/ld.lld: error: unknown argument: -arch