| Summary: | [WinCairo] When building WebKit WinCairo port failed to build due to errors C2146、 C2065、 C2143、 C2059 on windows with MSVC | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | April <v-apriltan> | ||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | Hironori.Fujii, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 10 | ||||||
| Attachments: |
|
||||||
|
Description
April
2022-04-08 01:34:06 PDT
(In reply to April from comment #0) > 4. download latest WebKitAuxiliaryLibrary.zip from > https://developer.apple.com/opensource/internet/WebKitAuxiliaryLibrary.zip > and unzip to > F:\tools\WebKit > 5. download latest WebKitSupportLibrary.zip from > https://developer.apple.com/opensource/internet/webkit_sptlib_agree.html and > unzip to WebKitAuxiliaryLibrary.zip and WebKitSupportLibrary.zip are only for AppleWin port, not for WinCairo port. Don't use them for WinCairo port. This is the WinCairo build instructions. https://trac.webkit.org/wiki/BuildingCairoOnWindows#BuildingWinCairo Closed. Please reopen if you still have a problem. Yes, when I was not WebKitSupportLibrary and WebKitAuxiliaryLibrary to build WinCairo port, it also failed with a known assertion bug: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1490389/, thanks for your reminding. I can't see the page
> 401 - Uh-oh, you do not have access.
> The request requires authentication.
> 4/12/2022 8:47:57 PM (UTC)
> 2985bfb1-8a02-4e17-87ff-bf0ccc68c376
What is the known assertion bug?
I can reproduce the compilation error of comment#0 by building WinCairo after building AppleWin without wiping out WebKitLibraries/win directory. You need to wipe out the directory before building WinCairo. > git clean -dfx WebKitLibraries/win [1943/5974] Building CXX object Source\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\validationEGL.cpp.obj FAILED: Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/validationEGL.cpp.obj C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1431~1.311\bin\Hostx64\x64\cl.exe /nologo /TP -DANGLE_ENABLE_D3D11 -DANGLE_ENABLE_D3D9 -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_HLSL -DBUILDING_WITH_CMAKE=1 -DEGL_EGL_PROTOTYPES=0 -DGL_API="" -DGL_APICALL="" -DGL_GLES_PROTOTYPES=0 -DHAVE_CONFIG_H=1 -DLIBANGLE_IMPLEMENTATION -DNOCRYPT -DNOMINMAX -DPAS_BMALLOC=1 -DUNICODE -DWTF_PLATFORM_WIN_CAIRO=1 -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WINDOWS -D_WINSOCKAPI_="" -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\include -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\include\KHR -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\src -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\src\common\third_party\base -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\third_party\zlib\google -IC:\home\webkit\gb\WebKitBuild\Debug\Source\ThirdParty\ANGLE\include -external:IC:\home\webkit\gb\WebKitLibraries\win\include -external:W0 /W4 /DWIN32 /D_WINDOWS /GR- /EHs- /EHc- /MD /Zi /Ob0 /Od /RTC1 /wd4018 /wd4060 /wd4068 /wd4100 /wd4127 /wd4146 /wd4189 /wd4201 /wd4244 /wd4245 /wd4251 /wd4275 /wd4267 /wd4305 /wd4309 /wd4312 /wd4324 /wd4389 /wd4456 /wd4457 /wd4458 /wd4459 /wd4505 /wd4611 /wd4646 /wd4701 /wd4702 /wd4706 /wd4715 /wd4722 /wd4838 /wd4840 /wd4996 /wd5205 /wd5054 /wd5055 /Zi /GS /EHa- /EHc- /EHs- /fp:except- /analyze- /bigobj -D_ENABLE_EXTENDED_ALIGNED_STORAGE /utf-8 /validate-charset /Zc:lambda -std:c++20 /showIncludes /FoSource\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\validationEGL.cpp.obj /FdSource\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\ANGLE.pdb /FS -c C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2065: 'PRIxPTR': undeclared identifier C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2143: syntax error: missing ';' before 'string' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(271): error C2059: syntax error: ')' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2065: 'PRIxPTR': undeclared identifier C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2143: syntax error: missing ';' before 'string' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(1671): error C2059: syntax error: ')' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2065: 'PRIxPTR': undeclared identifier C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2143: syntax error: missing ';' before 'string' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2382): error C2065: 'PRIxPTR': undeclared identifier C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2383): error C2143: syntax error: missing ';' before 'string' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2385): error C2059: syntax error: ')' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2065: 'PRIxPTR': undeclared identifier C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2143: syntax error: missing ';' before 'string' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2392): error C2065: 'PRIxPTR': undeclared identifier C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2393): error C2143: syntax error: missing ';' before 'string' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(2395): error C2059: syntax error: ')' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051): error C2065: 'PRIxPTR': undeclared identifier C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3051): error C2059: syntax error: ')' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2065: 'PRIxPTR': undeclared identifier C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2143: syntax error: missing ';' before 'string' C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp(3427): error C2059: syntax error: ')' [1944/5974] Generating ../../../ANGLE/Headers/ANGLE/entry_points_egl_ext_autogen.h AppleWin's WebKitSupportLibrary.zip contains WebKitSupportLibrary/win/include/inttypes.h. This header file is hiding the system's inttypes.h (In reply to Fujii Hironori from comment #6) > I can't see the page > > > 401 - Uh-oh, you do not have access. > > The request requires authentication. > > 4/12/2022 8:47:57 PM (UTC) > > 2985bfb1-8a02-4e17-87ff-bf0ccc68c376 > > What is the known assertion bug? When I build AppleWin and WinCairo separately, WinCairo also has the same Assertion bug as AppleWin: F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): Assertion failed: templateId->Binding(), file d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c, line 16057 [when compiling F:\gitP\WebKit\webkit\build_amd64_AppleWin\DerivedSources\JavaScriptCore\unified-sources\UnifiedSource-f0a787a9-3.cpp] c1xx!assertfe()+0x106 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\debug.c Line 333 c1xx!TemplateUtil::LookupTemplateId()+0x8a8 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c Line 16058 c1xx!ParseTree::Utility::LookupTemplateId()+0x2c3 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\ParseTree.cpp Line 7710 c1xx!IsDependentVisitor::Visit()+0x11c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1042 c1xx!IsDependentVisitor::Visit()+0x127 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1993 c1xx!ParseTree::Node::Accept<IsDependentVisitor>()+0x436 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\kind.dat Line 71 c1xx!ParseTree::VisitDispatchHelper::VisitTemplateArgument<IsDependentVisitor>()+0x42 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\generic_visitor.h Line 118 c1xx!IsDependentVisitor::Visit()+0x37 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 996 c1xx!IsDependentVisitor::Visit()+0x74 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1018 c1xx!IsDependentVisitor::Visit()+0x144 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 2033 c1xx!IsDependentVisitor::Visit()+0x5c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 403 c1xx!IsDependentVisitor::Visit()+0x17c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 772 c1xx!ParseTree::Utility::IsDependent()+0x64 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 3290 c1xx!Parser::CxxParser::ExpressionTail()+0x984 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 963 c1xx!Parser::CxxParser::Expression()+0x5d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 711 c1xx!Parser::CxxParser::AssignInitializerClause()+0x15d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 2266 c1xx!Parser::CxxParser::InitializerOpt()+0x109 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15495 c1xx!Parser::CxxParser::Initializer()+0xe d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15408 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Initializer const *,`Parser::CxxParser::DeclarationCondition'::`2'::<lambda_3> >()+0x21c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::DeclarationCondition()+0x1b4 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13177 c1xx!Parser::CxxParser::Condition()+0x10f d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13127 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Condition const *,`Parser::CxxParser::IfStatement'::`2'::<lambda_1> >()+0x202 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::WhileStatement()+0x10d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13485 c1xx!Parser::CxxParser::parse_wrap<ParseTree::WhileStatement const *,`Parser::CxxParser::Statement'::`4'::<lambda_18> >()+0x9d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::Statement()+0x4a4 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 12894 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Statement const *,`Parser::CxxParser::IfStatement'::`18'::<lambda_3> >()+0x202 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::StatementSeq()+0x159 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13235 c1xx!Parser::CxxParser::parse_wrap<ParseTree::StatementSeq const *,`Parser::CxxParser::CompoundStatement'::`5'::<lambda_1> >()+0x202 d:\aUnifiedSource-bfc896e1-1.cpp 01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::CompoundStatement()+0xb7 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13259 c1xx!Parser::CxxParser::FunctionBody()+0x162 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 6690 c1xx!`Parser::ParseDeferredSyntax'::`2'::DeferredBitsVisitor::Rewrite()+0x28b d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 18264 UnifiedSource-bfc896e1-2.cpp F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): Assertion failed: templateId->Binding(), file d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c, line 16057 [when compiling F:\gitP\WebKit\webkit\build_amd64_AppleWin\DerivedSources\JavaScriptCore\unified-sources\UnifiedSource-f0a787a9-2.cpp] UnifiedSource-bfc896e1-3.cpp c1xx!assertfe()+0x106 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\debug.c Line 333 c1xx!TemplateUtil::LookupTemplateId()+0x8a8 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c Line 16058 c1xx!ParseTree::Utility::LookupTemplateId()+0x2c3 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\ParseTree.cpp Line 7710 c1xx!IsDependentVisitor::Visit()+0x11c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1042 c1xx!IsDependentVisitor::Visit()+0x127 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1993 c1xx!ParseTree::Node::Accept<IsDependentVisitor>()+0x436 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\kind.dat Line 71 c1xx!ParseTree::VisitDispatchHelper::VisitTemplateArgument<IsDependentVisitor>()+0x42 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\generic_visitor.h Line 118 c1xx!IsDependentVisitor::Visit()+0x37 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 996 c1xx!IsDependentVisitor::Visit()+0x74 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1018 c1xx!IsDependentVisitor::Visit()+0x144 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 2033 c1xx!IsDependentVisitor::Visit()+0x5c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 403 c1xx!IsDependentVisitor::Visit()+0x17c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 772 c1xx!ParseTree::Utility::IsDependent()+0x64 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 3290 c1xx!Parser::CxxParser::ExpressionTail()+0x984 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 963 c1xx!Parser::CxxParser::Expression()+0x5d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 711 c1xx!Parser::CxxParser::AssignInitializerClause()+0x15d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 2266 c1xx!Parser::CxxParser::InitializerOpt()+0x109 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15495 c1xx!Parser::CxxParser::Initializer()+0xe d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15408 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Initializer const *,`Parser::CxxParser::DeclarationCondition'::`2'::<lambda_3> >()+0x21c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::DeclarationCondition()+0x1b4 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13177 c1xx!Parser::CxxParser::Condition()+0x10f d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13127 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Condition const *,`Parser::CxxParser::IfStatement'::`2'::<lambda_1> >()+0x202 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::WhileStatement()+0x10d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13485 c1xx!Parser::CxxParser::parse_wrap<ParseTree::WhileStatement const *,`Parser::CxxParser::Statement'::`4'::<lambda_18> >()+0x9d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::Statement()+0x4a4 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 12894 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Statement const *,`Parser::CxxParser::IfStatement'::`18'::<lambda_3> >()+0x202 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::StatementSeq()+0x159 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13235 c1xx!Parser::CxxParser::parse_wrap<ParseTree::StatementSeq const *,`Parser::CxxParser::CompoundStatement'::`5'::<lambda_1> >()+0x202 d:\aUnifiedSource-bfc896e1-4.cpp 01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::CompoundStatement()+0xb7 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13259 c1xx!Parser::CxxParser::FunctionBody()+0x162 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 6690 c1xx!`Parser::ParseDeferredSyntax'::`2'::DeferredBitsVisitor::Rewrite()+0x28b d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 18264 UnifiedSource-bfc896e1-5.cpp F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): Assertion failed: templateId->Binding(), file d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c, line 16057 [when compiling F:\gitP\WebKit\webkit\build_amd64_AppleWin\DerivedSources\JavaScriptCore\unified-sources\UnifiedSource-f0a787a9-7.cpp] c1xx!assertfe()+0x106 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\debug.c Line 333 c1xx!TemplateUtil::LookupTemplateId()+0x8a8 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0gettok.c Line 16058 c1xx!ParseTree::Utility::LookupTemplateId()+0x2c3 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\c\ParseTree.cpp Line 7710 c1xx!IsDependentVisitor::Visit()+0x11c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1042 c1xx!IsDependentVisitor::Visit()+0x127 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1993 c1xx!ParseTree::Node::Accept<IsDependentVisitor>()+0x436 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\kind.dat Line 71 c1xx!ParseTree::VisitDispatchHelper::VisitTemplateArgument<IsDependentVisitor>()+0x42 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\generic_visitor.h Line 118 c1xx!IsDependentVisitor::Visit()+0x37 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 996 c1xx!IsDependentVisitor::Visit()+0x74 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 1018 c1xx!IsDependentVisitor::Visit()+0x144 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 2033 c1xx!IsDependentVisitor::Visit()+0x5c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 403 c1xx!IsDependentVisitor::Visit()+0x17c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 772 c1xx!ParseTree::Utility::IsDependent()+0x64 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\is_dependent.cpp Line 3290 c1xx!Parser::CxxParser::ExpressionTail()+0x984 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 963 c1xx!Parser::CxxParser::Expression()+0x5d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 711 c1xx!Parser::CxxParser::AssignInitializerClause()+0x15d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 2266 c1xx!Parser::CxxParser::InitializerOpt()+0x109 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15495 c1xx!Parser::CxxParser::Initializer()+0xe d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 15408 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Initializer const *,`Parser::CxxParser::DeclarationCondition'::`2'::<lambda_3> >()+0x21c d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::DeclarationCondition()+0x1b4 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13177 c1xx!Parser::CxxParser::Condition()+0x10f d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13127 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Condition const *,`Parser::CxxParser::IfStatement'::`2'::<lambda_1> >()+0x202 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::WhileStatement()+0x10d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13485 c1xx!Parser::CxxParser::parse_wrap<ParseTree::WhileStatement const *,`Parser::CxxParser::Statement'::`4'::<lambda_18> >()+0x9d d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::Statement()+0x4a4 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 12894 c1xx!Parser::CxxParser::parse_wrap<ParseTree::Statement const *,`Parser::CxxParser::IfStatement'::`18'::<lambda_3> >()+0x202 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::StatementSeq()+0x159 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13235 c1xx!Parser::CxxParser::parse_wrap<ParseTree::StatementSeq const *,`Parser::CxxParser::CompoundStatement'::`5'::<lambda_1> >()+0x202 d:\aUnifiedSource-bfc896e1-6.cpp 01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\rdparser.h Line 382 c1xx!Parser::CxxParser::CompoundStatement()+0xb7 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 13259 c1xx!Parser::CxxParser::FunctionBody()+0x162 d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 6690 c1xx!`Parser::ParseDeferredSyntax'::`2'::DeferredBitsVisitor::Rewrite()+0x28b d:\a01\_work\2\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\RDParser.cpp Line 18264 DFGSpeculativeJIT.cpp DFGSpeculativeJIT32_64.cpp DFGSpeculativeJIT64.cpp UnifiedSource-bfc896e1-7.cpp UnifiedSource-bfc896e1-8.cpp UnifiedSource-bfc896e1-9.cpp UnifiedSource-3c3e0d8c-1.cpp UnifiedSource-48793971-1.cpp UnifiedSource-02aa2997-1.cpp FTLLowerDFGToB3.cpp UnifiedSource-02aa2997-2.cpp UnifiedSource-02aa2997-3.cpp UnifiedSource-ee8a7a7a-1.cpp UnifiedSource-ee8a7a7a-2.cpp UnifiedSource-ee8a7a7a-3.cpp UnifiedSource-ee8a7a7a-4.cpp UnifiedSource-ee8a7a7a-5.cpp (In reply to Fujii Hironori from comment #7) > I can reproduce the compilation error of comment#0 by building WinCairo > after building AppleWin without wiping out WebKitLibraries/win directory. > You need to wipe out the directory before building WinCairo. > > git clean -dfx WebKitLibraries/win > > [1943/5974] Building CXX object > Source\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\validationEGL.cpp. > obj > FAILED: > Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/validationEGL.cpp. > obj > C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1431~1. > 311\bin\Hostx64\x64\cl.exe /nologo /TP -DANGLE_ENABLE_D3D11 > -DANGLE_ENABLE_D3D9 -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL > -DANGLE_ENABLE_HLSL -DBUILDING_WITH_CMAKE=1 -DEGL_EGL_PROTOTYPES=0 > -DGL_API="" -DGL_APICALL="" -DGL_GLES_PROTOTYPES=0 -DHAVE_CONFIG_H=1 > -DLIBANGLE_IMPLEMENTATION -DNOCRYPT -DNOMINMAX -DPAS_BMALLOC=1 -DUNICODE > -DWTF_PLATFORM_WIN_CAIRO=1 -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 > -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WINDOWS > -D_WINSOCKAPI_="" -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\include > -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\include\KHR > -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\src > -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\src\common\third_party\base > -IC:\home\webkit\gb\Source\ThirdParty\ANGLE\third_party\zlib\google > -IC:\home\webkit\gb\WebKitBuild\Debug\Source\ThirdParty\ANGLE\include > -external:IC:\home\webkit\gb\WebKitLibraries\win\include -external:W0 /W4 > /DWIN32 /D_WINDOWS /GR- /EHs- /EHc- /MD /Zi /Ob0 /Od /RTC1 /wd4018 /wd4060 > /wd4068 /wd4100 /wd4127 /wd4146 /wd4189 /wd4201 /wd4244 /wd4245 /wd4251 > /wd4275 /wd4267 /wd4305 /wd4309 /wd4312 /wd4324 /wd4389 /wd4456 /wd4457 > /wd4458 /wd4459 /wd4505 /wd4611 /wd4646 /wd4701 /wd4702 /wd4706 /wd4715 > /wd4722 /wd4838 /wd4840 /wd4996 /wd5205 /wd5054 /wd5055 /Zi /GS /EHa- /EHc- > /EHs- /fp:except- /analyze- /bigobj -D_ENABLE_EXTENDED_ALIGNED_STORAGE > /utf-8 /validate-charset /Zc:lambda -std:c++20 /showIncludes > /FoSource\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\validationEGL. > cpp.obj /FdSource\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\ANGLE.pdb /FS -c > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL.cpp > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(271): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(271): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(271): error C2065: 'PRIxPTR': undeclared identifier > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(271): error C2143: syntax error: missing ';' before 'string' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(271): error C2059: syntax error: ')' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(1671): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(1671): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(1671): error C2065: 'PRIxPTR': undeclared identifier > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(1671): error C2143: syntax error: missing ';' before 'string' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(1671): error C2059: syntax error: ')' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2382): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2382): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2382): error C2065: 'PRIxPTR': undeclared identifier > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2382): error C2143: syntax error: missing ';' before 'string' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2382): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2382): error C2065: 'PRIxPTR': undeclared identifier > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2383): error C2143: syntax error: missing ';' before 'string' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2385): error C2059: syntax error: ')' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2392): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2392): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2392): error C2065: 'PRIxPTR': undeclared identifier > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2392): error C2143: syntax error: missing ';' before 'string' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2392): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2392): error C2065: 'PRIxPTR': undeclared identifier > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2393): error C2143: syntax error: missing ';' before 'string' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(2395): error C2059: syntax error: ')' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3051): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3051): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3051): error C2065: 'PRIxPTR': undeclared identifier > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3051): error C2059: syntax error: ')' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3427): error C2146: syntax error: missing ')' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3427): error C2146: syntax error: missing ';' before identifier 'PRIxPTR' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3427): error C2065: 'PRIxPTR': undeclared identifier > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3427): error C2143: syntax error: missing ';' before 'string' > C:\home\webkit\gb\Source\ThirdParty\ANGLE\src\libANGLE\validationEGL. > cpp(3427): error C2059: syntax error: ')' > [1944/5974] Generating > ../../../ANGLE/Headers/ANGLE/entry_points_egl_ext_autogen.h I will try this. (In reply to April from comment #9) > When I build AppleWin and WinCairo separately, WinCairo also has the same > Assertion bug as AppleWin: > F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): > Assertion failed: templateId->Binding(), file This is a MSVC bug, not a WebKit bug. Report it to MSVC team. (In reply to Fujii Hironori from comment #11) > (In reply to April from comment #9) > > When I build AppleWin and WinCairo separately, WinCairo also has the same > > Assertion bug as AppleWin: > > F:\gitP\WebKit\webkit\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): > > Assertion failed: templateId->Binding(), file > > This is a MSVC bug, not a WebKit bug. > Report it to MSVC team. OK, thanks. |