Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103617

Build QtWebEngine using VS2022 fails with internal compiler error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.15.9, 5.15.4
    • WebEngine
    • None
    • Windows 10, Visual Studio 17.2.1
    • Windows
    • 7857ff290a (qt/qtwebengine-chromium/87-based)

    Description

      Internal compiler error when build Qt 5.15.4 (latest open source)

      [83/31222] ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_HLSL -DANGLE_ENABLE_VULKAN -DUSE_AURA=1 -DTOOLKIT_QT -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_VB -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_IS_WIN -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/include -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/src -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/include -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/include /wd4718 /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /Od /Ob0 /GF /Zi /MDd /we4244 /we4312 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/src/compiler/translator/SymbolTable_autogen.cpp /Foobj/third_party/angle/translator/SymbolTable_autogen.obj /Fd"obj/third_party/angle/translator_cc.pdb"
      FAILED: obj/third_party/angle/translator/SymbolTable_autogen.obj
      ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_HLSL -DANGLE_ENABLE_VULKAN -DUSE_AURA=1 -DTOOLKIT_QT -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_VB -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_IS_WIN -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/include -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/src -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/include -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/include /wd4718 /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /Od /Ob0 /GF /Zi /MDd /we4244 /we4312 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/src/compiler/translator/SymbolTable_autogen.cpp /Foobj/third_party/angle/translator/SymbolTable_autogen.obj /Fd"obj/third_party/angle/translator_cc.pdb"
      D:\s\qtwebengine\src\3rdparty\chromium\third_party\angle\src\compiler/translator/StaticType.h(156): 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
      D:\s\qtwebengine\src\3rdparty\chromium\third_party\angle\src\compiler/translator/StaticType.h(108): note: while evaluating constexpr function 'sh::StaticType::Helpers::BuildStaticArrayMangledName'
      D:\s\qtwebengine\src\3rdparty\chromium\third_party\angle\src\compiler/translator/StaticType.h(156): note: see reference to variable template 'const sh::StaticType::Helpers::StaticArrayMangledName kMangledNameArrayInstance<3,0,1,2,1,&sh::StaticType::kArraySize4,1>' being compiled
      D:\s\qtwebengine\src\3rdparty\chromium\third_party\angle\src\compiler/translator/StaticType.h(203): note: see reference to variable template 'const sh::TType arrayInstance<3,0,1,2,1,&sh::StaticType::kArraySize4,1>' being compiled
      ../../../../../s/qtwebengine/src/3rdparty/chromium/third_party/angle/src/compiler/translator/SymbolTable_autogen.cpp(3332): note: see reference to function template instantiation 'const sh::TType *sh::StaticType::GetArray4<sh::EbtInt,sh::EbpUndefined,sh::EvqGlobal,2,1>(void)' being compiled
      INTERNAL COMPILER ERROR in 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\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
      

      Configure:

      -confirm-license
      -debug-and-release
      -developer-build
      -opensource
      -mp
      -force-debug-info
      -no-warnings-are-errors
      -c++std
      c++17
      -platform
      win32-msvc2022
      -prefix
      D:\Qt\Qt5.15.4\msvc2022_64
      -icu
      -I
      D:\icu\include
      -L
      D:\icu\lib64
      -openssl
      -I
      D:\openssl\output\x64\release\include
      -L
      D:\openssl\output\x64\release\lib
      -plugin-sql-psql
      -plugin-sql-odbc
      -plugin-sql-sqlite
      -I
      C:\Program Files\PostgreSQL\10\include
      -L
      C:\Program Files\PostgreSQL\10\lib
      -nomake
      examples
      -nomake
      tests
      -recheck-all
      

      Attachments

        For Gerrit Dashboard: QTBUG-103617
        # Subject Branch Project Status CR V

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            sargtlin Kozlov Ilya
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes