https://bugs.llvm.org/show_bug.cgi?id=32175
Bug ID: 32175
Summary: LLD does not recognize -lto_library flag
Product: lld
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: MachO
Assignee: unassignedb...@nondot.org
Reporter: vbeff...@gmail.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs