<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - lld-link crashes in Visual Studio 2022 Preview"
   href="https://bugs.llvm.org/show_bug.cgi?id=52207">52207</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lld-link crashes in Visual Studio 2022 Preview
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>COFF
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fmuir@seanet.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
'<a href="https://reviews.llvm.org/D96862">https://reviews.llvm.org/D96862</a>'.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>