[clang] [MinGW] Fix the regression caused by commit 592e935e115ffb451eb9b782376711dab6558fe0, that, in MinGW, Clang can't be built by system Clang 15.0.4. (PR #74982)

εΎζŒζ’ Xu Chiheng via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 12:29:59 PST 2023


xu-chiheng wrote:

> > I have build scripts and patches at: https://github.com/xu-chiheng/Note
> 
> This does not answer the question. You need to explain what is broken, and why, and how this fixes it. And address the concern that this actually breaks functionality in some cases. I guess this partially answers the question on in what exact environment the issue occurs, although it would require me to dissect your build script environment to figure it out.

It is about several month ago, I don't remember clearly.  this commit 592e935e115ffb451eb9b782376711dab6558fe0 cause a build  failure on MSYS2/MinGW-w64, I just tried to partially revert the commit.  Cygwin/MinGW/Visual Studio ClangCl can build with no problem with the patch. I don't know why some test fails.  I'm not very familiar with the code and test.

Maybe the patch need to be reworked.  The change is small, it should be not hard.


https://github.com/llvm/llvm-project/pull/74982


More information about the cfe-commits mailing list