RESOLVED FIXED 240322
[MSVC] INTERNAL COMPILER ERROR in JSC::IsoCellSet::forEachMarkedCellInParallel since Visual Studio 2022 v17.2.0
https://bugs.webkit.org/show_bug.cgi?id=240322
Summary [MSVC] INTERNAL COMPILER ERROR in JSC::IsoCellSet::forEachMarkedCellInParalle...
Fujii Hironori
Reported 2022-05-11 16:59:06 PDT
[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
Attachments
repro.cpp (1.18 KB, text/plain)
2022-05-11 18:26 PDT, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2022-05-11 17:04:57 PDT
Hi, April. Do you know this? Are you still compiling the latest WebKit in MSVC team?
Fujii Hironori
Comment 2 2022-05-11 18:13:39 PDT
Hi April, This looks like same with bug#238988 comment#9.
Fujii Hironori
Comment 3 2022-05-11 18:26:37 PDT
Created attachment 459197 [details] repro.cpp
Fujii Hironori
Comment 5 2022-05-11 19:03:02 PDT
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
April
Comment 6 2022-05-16 18:34:54 PDT
(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.
April
Comment 7 2022-05-16 18:38:37 PDT
(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.
Radar WebKit Bug Importer
Comment 8 2022-05-18 17:00:25 PDT
Fujii Hironori
Comment 9 2022-07-13 17:59:10 PDT
I confirmed Visual Studio 2022 version 17.3 Preview 3 can compile WinCairo successfully.
Note You need to log in before you can comment on or make changes to this bug.