<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 - Build fails (llvm-ar) using MinGW 8.1"
   href="https://bugs.llvm.org/show_bug.cgi?id=44907">44907</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Build fails (llvm-ar) using MinGW 8.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.0
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>cristian.adam@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>44555
          </td>
        </tr></table>
      <p>
        <div>
        <pre>You can see the error here:
<a href="https://github.com/cristianadam/llvm-project/runs/443996527?check_suite_focus=true">https://github.com/cristianadam/llvm-project/runs/443996527?check_suite_focus=true</a>

D:/a/llvm-project/llvm-project/llvm/tools/llvm-ar/llvm-ar.cpp: In function
'bool comparePaths(llvm::StringRef, llvm::StringRef)':
D:/a/llvm-project/llvm-project/llvm/tools/llvm-ar/llvm-ar.cpp:524:10: error:
'CompareStringOrdinal' was not declared in this scope
   return CompareStringOrdinal(WPath1.data(), WPath1.size(), WPath2.data(),
          ^~~~~~~~~~~~~~~~~~~~
D:/a/llvm-project/llvm-project/llvm/tools/llvm-ar/llvm-ar.cpp:524:10: note:
suggested alternative: 'CompareStringA'
   return CompareStringOrdinal(WPath1.data(), WPath1.size(), WPath2.data(),
          ^~~~~~~~~~~~~~~~~~~~
          CompareStringA

I have a build fix at: <a href="https://reviews.llvm.org/D74599">https://reviews.llvm.org/D74599</a></pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - [meta] 10.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=44555">Bug 44555</a>] [meta] 10.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

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

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