[llvm-bugs] [Bug 44907] New: Build fails (llvm-ar) using MinGW 8.1

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 14 03:50:51 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44907

            Bug ID: 44907
           Summary: Build fails (llvm-ar) using MinGW 8.1
           Product: Build scripts
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: cristian.adam at gmail.com
                CC: llvm-bugs at lists.llvm.org
            Blocks: 44555

You can see the error here:
https://github.com/cristianadam/llvm-project/runs/443996527?check_suite_focus=true

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: https://reviews.llvm.org/D74599


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=44555
[Bug 44555] [meta] 10.0.0 Release Blockers
-- 
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/20200214/53f1f23f/attachment.html>


More information about the llvm-bugs mailing list