-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows10 fails to compile llvm10.x with MinGW-64 #140
Comments
This sounds like https://bugs.llvm.org/show_bug.cgi?id=44907 |
Thank you for your help, the problem has been resolved. |
There is a patch in review, but it hasn't been committed yet: https://reviews.llvm.org/D74599 |
Fixed by 01f9abb |
…ice (llvm#140) This property of the `OpenMPIRBuilderConfig` is already initialized in the constructor for `OMPInformationCache`. This looks to be a leftover after a merge from main (comment [here](llvm#67000 (comment))).
…tream_merge_20250115214213 Amd/merge/upstream merge 20250115214213
Code downloaded from github, its upload time: GMT + 8 February 20, 2020 10:41 pm, commit ID: d75ce45, link: https://github.com/llvm/llvm-project/tree/d75ce45777d9802d43b555993fde8ed6562fb368
Compilation results:
[100%] Built target obj.clangAST
mingw32-make: *** [Makefile:168: all] Error 2
Related Information:
[100%] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.obj
E:\llvm-project-release-10.x\llvm\tools\llvm-ar\llvm-ar.cpp:[100%]
In function 'bool comparePaths(llvm::StringRef, llvm::StringRef)':
E:\llvm-project-release-10.x\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(),
^~~~~~~~~~~~~~~~~~~~
[100%] Building CXX object tools/llvm-objcopy/CMakeFiles/llvm-objcopy.dir/MachO/MachOWriter.cpp.objE:\llvm-project-release-10.x\llvm\tools\llvm-ar\llvm-ar.cpp:524:10:
note: suggested alternative: 'CompareStringA'
return CompareStringOrdinal(WPath1.data(), WPath1.size(), WPath2.data(),
[100%] ^~~~~~~~~~~~~~~~~~~~Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.obj
CompareStringA
[100%] Built target sancov
[100%] mingw32-make[2]: *** [tools\llvm-ar\CMakeFiles\llvm-ar.dir\build.make:80: tools/llvm-ar/CMakeFiles/llvm-ar.dir/llvm-ar.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:25090: tools/llvm-ar/CMakeFiles/llvm-ar.dir/all] Error 2
Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.objmingw32-make[1]: *** Waiting for unfinished jobs....
Compilation process:
The text was updated successfully, but these errors were encountered: