[MSVC] INTERNAL COMPILER ERROR in JSC::IsoCellSet::forEachMarkedCellInParallel since Visual Studio 2022 v17.2.0 I upgraded to Visual Studio 2022 v17.2.0 today. It can't compile the latest WebKit. [1077/5972] Building CXX object Source\JavaScriptCore\CMakeFiles\JavaScriptCore.dir\__\__\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-ee8a7a7a-1.cpp.obj FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-1.cpp.obj C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe [...] -c C:\home\webkit\gb\WebKitBuild\Debug\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-ee8a7a7a-1.cpp C:\home\webkit\gb\Source\JavaScriptCore\heap\SubspaceInlines.h(102): fatal error C1001: Internal compiler error. (compiler file 'msc1.cpp', line 1693) To work around this problem, try simplifying or changing the program near the locations listed above. If possible please provide a repro here: https://developercommunity.visualstudio.com Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information C:\home\webkit\gb\Source\JavaScriptCore\heap\Subspace.h(86): note: This diagnostic occurred in the compiler generated function 'WTF::Ref<WTF::SharedTask<void(Visitor &)>,WTF::RawPtrTraits<T>> JSC::Subspace::forEachMarkedCellInParallel(const Func &)' with [ T=WTF::SharedTask<void(Visitor &)> ] INTERNAL COMPILER ERROR in 'C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe' Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information [1078/5972] Building CXX object Source\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\renderer\d3d\d3d9\StateManager9.cpp.obj [1079/5972] Building CXX object Source\JavaScriptCore\CMakeFiles\JavaScriptCore.dir\__\__\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-f0a787a9-2.cpp.obj FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-2.cpp.obj C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe [...] -c C:\home\webkit\gb\WebKitBuild\Debug\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-f0a787a9-2.cpp C:\home\webkit\gb\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): fatal error C1001: Internal compiler error. (compiler file 'msc1.cpp', line 1693) To work around this problem, try simplifying or changing the program near the locations listed above. If possible please provide a repro here: https://developercommunity.visualstudio.com Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information C:\home\webkit\gb\Source\JavaScriptCore\heap\IsoCellSet.h(66): note: This diagnostic occurred in the compiler generated function 'WTF::Ref<WTF::SharedTask<void(Visitor &)>,WTF::RawPtrTraits<T>> JSC::IsoCellSet::forEachMarkedCellInParallel(const Func &)' with [ T=WTF::SharedTask<void(Visitor &)> ] INTERNAL COMPILER ERROR in 'C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe' Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
Hi, April. Do you know this? Are you still compiling the latest WebKit in MSVC team?
Hi April, This looks like same with bug#238988 comment#9.
Created attachment 459197 [details] repro.cpp
Reported: https://developercommunity.visualstudio.com/t/Visual-Studio-2022-v1720-reports-fata/10039296
Visual Studio 2022 17.3.0 Preview 1.0 also has this problem. Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31424 for x64
(In reply to Fujii Hironori from comment #1) > Hi, April. Do you know this? Are you still compiling the latest WebKit in > MSVC team? We are testing the latest Webkit, and we can compile it, maybe you could report a feedback to our team, we have dedicated developers to deal with these kinds of problems, here is the URL link to our report feedback: https://developercommunity.visualstudio.com/report?space=62&entry=problem.
(In reply to Fujii Hironori from comment #5) > Visual Studio 2022 17.3.0 Preview 1.0 also has this problem. > Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31424 for x64 Yes, we are testing the latest Webkit, our team is reviewing the feedback and will track this.
<rdar://problem/93537539>
I confirmed Visual Studio 2022 version 17.3 Preview 3 can compile WinCairo successfully.