[llvm-bugs] [Bug 36995] New: Improve LLD's error message for MSVC's LTCG object files
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 3 14:04:10 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=36995
Bug ID: 36995
Summary: Improve LLD's error message for MSVC's LTCG object
files
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: unassignedbugs at nondot.org
Reporter: rnk at google.com
CC: llvm-bugs at lists.llvm.org, ruiu at google.com,
zturner at google.com
We correctly reject these files because they have the wrong magic. That was
https://bugs.llvm.org/show_bug.cgi?id=31372.
However, the error message could be improved:
[4/4] LIB obj/base/base_static.lib
FAILED: obj/base/base_static.lib
...
obj/base/base_static/base_switches.obj: not a COFF object, bitcode or resource
file
..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe: error: lib
failed
ninja: build stopped: subcommand failed.
It would be nice to proactively detect that this is an LTCG file and tell the
user to rebuild without /GL.
--
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/20180403/34a45512/attachment.html>
More information about the llvm-bugs
mailing list