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

Multiple compiler segfaults when compiling qtdeclarative

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 6.2
    • Build System: CMake
    • None
    • CMake 3.20.2
      Ubuntu 20.04
      GCC 9.3.0

    Description

      A number of compiler errors are regularly happening on 6.2 where not seen on dev in the same build host. Full build log attached. Traces are a bit large to post in the ticket description.

      In file included from /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/qnamespace.h:45,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/qobjectdefs.h:48,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/qobject.h:46,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/qabstractanimation.h:43,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/QtCore:6,
                       from include/QtQuick/QtQuickDepends:3,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/qtdeclarative/include/QtQuick/QtQuick:3,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/qtdeclarative/src/quicktemplates2/CMakeFiles/QuickTemplates2.dir/cmake_pch.hxx:5,
                       from <command-line>:
      include/QtQuick/6.2.1/QtQuick/private/../../../../../src/quick/items/qquicktextinput_p.h:64:5: internal compiler error: Segmentation fault
         64 |     Q_OBJECT
            |     ^~~~~~~~
      
      
      
      In file included from /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/qobject.h:54,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/qabstractanimation.h:43,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/QtCore:6,
                       from include/QtQuick/QtQuickDepends:3,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/qtdeclarative/include/QtQuick/QtQuick:3,
                       from /home/qt/jenkins/workspace/qmlbench_6.2/135/qtdeclarative/src/quicktemplates2/CMakeFiles/QuickTemplates2.dir/cmake_pch.hxx:5,
                       from <command-line>:
      /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/qmetatype.h: In instantiation of ‘int qRegisterNormalizedMetaType(const QByteArray&) [with T = QQuickItemLayer*]’:
      include/QtQuick/6.2.1/QtQuick/private/../../../../../src/quick/items/qquickitem_p.h:1041:1:   required from here
      /home/qt/jenkins/workspace/qmlbench_6.2/135/install/include/QtCore/qmetatype.h:1239:1: internal compiler error: Segmentation fault
       1239 | }
            | ^
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes