[llvm-bugs] [Bug 52207] New: lld-link crashes in Visual Studio 2022 Preview
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 18 09:51:54 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=52207
Bug ID: 52207
Summary: lld-link crashes in Visual Studio 2022 Preview
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: COFF
Assignee: unassignedbugs at nondot.org
Reporter: fmuir at seanet.com
CC: llvm-bugs at lists.llvm.org
Microsoft is attempting to integrate both CMake and LLVM into their Visual
Studio 2022 Previewrelease. CMake and LLVM exectables are distributed in Visual
Studio 2022 Preview release. The available platform tool sets now include LLVM
(Clang-cl) as a selection. CMake and LLVM were accessible through previous
versions of VS, but needed to be installed separately.
While using Microsoft's Visual Studio 2022 Preview to build some wxWidgets3.1.5
C++ samples, I experienced getting the following fatal errors from LLVM's
lld-link: 'Error /manifestdependency: is not allowed in .directive'
I replaced the version of lld-link.exe distributed by MS with the one
distributed by LLVM in their release 13.0. Attempted to build the sample again
and got the same fatal errors. Even copied lld.exe and renamed it lld-link.exe
and encountered the same error again.
I did some research on the web and found some pages that discussed that
particular error message, as it pertains to lld.exe, and the patch that
supposedly fixes it. The problem could possibly be in all LLVM linker programs.
Use following link to a patch to LLVM lld to fix the manifest errors:
'https://reviews.llvm.org/D96862'.
--
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/20211018/d908a353/attachment.html>
More information about the llvm-bugs
mailing list