[llvm-bugs] [Bug 32175] New: LLD does not recognize -lto_library flag
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 7 15:19:47 PST 2017
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: 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...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170307/5e629d11/attachment.html>
More information about the llvm-bugs
mailing list