[llvm-bugs] [Bug 32175] New: LLD does not recognize -lto_library flag
llvm-bugs at lists.llvm.org
Tue Mar 7 15:19:47 PST 2017
Bug ID: 32175
Summary: LLD does not recognize -lto_library flag
Assignee: unassignedbugs at nondot.org
Reporter: vbeffara at gmail.com
CC: llvm-bugs at lists.llvm.org
Running macOS with llvm and lld from the git repo.
When compiling using clang -flto, and having a symlink named ld pointing to the
lld binary so that clang will use it for linking, it passes the option
-lto_library to the linker but that makes lld confused, and I get the error:
Unable to find library for -lto_library
PRobably lld should recognize the flag. What is the proper way to use lld on
macOS for LTO ?
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs