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

qt6-declarative: possible build-time race condition around qmlcachegen

    XMLWordPrintable

Details

    • Linux/X11
    • 3b01f90fa (dev), 4920a7f76 (6.7), f34022486 (dev), 123068ed8 (6.6), ec543f184 (6.7), 0662300f7 (6.6), 985910708 (dev), b116d89a1 (6.7), 20aaab899 (6.6)

    Description

      While working on reproducible builds for openSUSE, I found that
      our qt6-virtualkeyboard and qt6-declarative packages vary between builds, unless both builds were done in VMs with the same number of cores.
       
      There is even a 10% difference in the size of the resulting /usr/lib64/qt6/qml/QtQuick/VirtualKeyboard/Components/libqtvkbcomponentsplugin.so
       
      The underlying issue is probably that there is a number of generated files such as qtvirtualkeyboard-everywhere-src-6.6.1/build/src/components/.rcc/qmlcache/qtvkbcomponentsplugin_SymbolModeKey_qml.cpp that vary in their

       extern const QQmlPrivate::AOTCompiledFunction aotBuiltFunctions[] = {
       
      entries. This file is generated by qmlcachegen, so there is likely some race happening around that generation.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              bmwiedemann Bernhard M. Wiedemann
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: