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

Build QtWebEngine using VS2022 (since 17.1.0) fails with ICE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.2.3, 6.2.4, 6.3.0 Beta2, 6.3.0 Beta3, 6.3.0
    • WebEngine
    • None
    • Windows 11 10.0.22000
      Visual Studio 2022 17.1.1 / 17.1.2 / 17.1.3
    • Windows
    • 0ce5e91bdf (qt/qtwebengine-chromium/94-based) b56b6a9538 (qt/qtwebengine-chromium/90-based) 2bfa1c12b9 (qt/qtwebengine-chromium/87-based)

    Description

      Affects QtWebEngine 5.15.8 (With other components of Qt 5.15.3), QtWebEngine 5.15.9 (With other components of Qt 5.15.3), 6.2.3, 6.2.4, 6.3.0-beta2, 6.3.0-beta3, 6.3.0.

      Extracted build log:

      [10506/27361] CXX obj/media/midi/mojo/midi_service.mojom.obj
      FAILED: obj/media/midi/mojo/midi_service.mojom.obj 
      ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -DOFFICIAL_BUILD -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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=wchar_t -Igen -I../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium -I../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium/third_party/ced/src -I../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium/third_party/icu/source/common -I../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium/third_party/icu/source/i18n /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /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 /wd4068 /wd5051 /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /MD /TP /wd4577 /GR- /c gen/media/midi/midi_service.mojom.cc /Foobj/media/midi/mojo/midi_service.mojom.obj /Fd"obj/media/midi/mojo_cc.pdb"
      gen/media/midi/midi_service.mojom.cc(826): fatal error C1001: Internal compiler error.
      (compiler file 'msc1.cpp', line 1691)
       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
      ../../../../../../qt-src-6.2.3/qtwebengine/src/3rdparty/chromium\base/hash/md5_constexpr_internal.h(317): note: while evaluating constexpr function 'base::internal::MD5CE::Hash32'
      gen/media/midi/midi_service.mojom.cc(825): note: while evaluating constexpr function 'base::MD5Hash32Constexpr'
      INTERNAL COMPILER ERROR in 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\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
      

      Full build log attached.

      Note: There is also a bug report on Microsoft community .

      Attachments

        1. config.opt
          1 kB
        2. consoleText.txt
          2.01 MB
        For Gerrit Dashboard: QTBUG-101917
        # Subject Branch Project Status CR V

        Activity

          People

            pvarga Peter Varga
            fsu0413 Frank Su
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes