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

tst_dom doesn't link on gcc 11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • 6.5
    • 6.3.0 Feature Freeze
    • QML: Tooling
    • None

    Description

      [1/1664] Linking CXX executable qtdeclarative/tests/auto/qmldom/combined/tst_dom_all
      FAILED: qtdeclarative/tests/auto/qmldom/combined/tst_dom_all 
      : && /usr/lib/ccache/bin/c++ -g -Wl,--enable-new-dtags qtdeclarative/tests/auto/qmldom/combined/CMakeFiles/tst_dom_all.dir/tst_dom_all_autogen/mocs_compilation.cpp.o qtdeclarative/tests/auto/qmldom/combined/CMakeFiles/tst_dom_all.dir/tst_dom_all.cpp.o qtdeclarative/tests/auto/qmldom/combined/CMakeFiles/tst_dom_all.dir/__/errormessage/tst_qmldomerrormessage.cpp.o -o qtdeclarative/tests/auto/qmldom/combined/tst_dom_all  -Wl,-rpath,/home/rutledge/dev/qt6-dbg/qtbase/lib  qtbase/lib/libQt6QmlDom.a  qtbase/lib/libQt6Test.so.6.2.0  qtbase/lib/libQt6QmlCompiler.a  qtbase/lib/libQt6Qml.so.6.2.0  qtbase/lib/libQt6Network.so.6.2.0  qtbase/lib/libQt6Core.so.6.2.0  -pthread && :
      /usr/bin/ld: qtdeclarative/tests/auto/qmldom/combined/CMakeFiles/tst_dom_all.dir/tst_dom_all_autogen/mocs_compilation.cpp.o: in function `QQmlJS::Dom::TestDomItem::testLoadDep()':
      /home/rutledge/dev/qt6-dbg/qtdeclarative/tests/auto/qmldom/combined/tst_dom_all_autogen/YYN7A66ZIK/../../../../../../../../qt6/qtdeclarative/tests/auto/qmldom/domitem/tst_qmldomitem.h:444: undefined reference to `QQmlJS::Dom::DomItem::loadFile(QString, QString, std::function<void (QQmlJS::Dom::Path, QQmlJS::Dom::DomItem&, QQmlJS::Dom::DomItem&)>, QFlags<QQmlJS::Dom::LoadOption>)'
      /usr/bin/ld: /home/rutledge/dev/qt6-dbg/qtdeclarative/tests/auto/qmldom/combined/tst_dom_all_autogen/YYN7A66ZIK/../../../../../../../../qt6/qtdeclarative/tests/auto/qmldom/domitem/tst_qmldomitem.h:448: undefined reference to `QQmlJS::Dom::DomItem::loadFile(QString, QString, std::function<void (QQmlJS::Dom::Path, QQmlJS::Dom::DomItem&, QQmlJS::Dom::DomItem&)>, QFlags<QQmlJS::Dom::LoadOption>)'
      /usr/bin/ld: qtdeclarative/tests/auto/qmldom/combined/CMakeFiles/tst_dom_all.dir/tst_dom_all_autogen/mocs_compilation.cpp.o: in function `QQmlJS::Dom::TestDomItem::testDeepCopy()':
      /home/rutledge/dev/qt6-dbg/qtdeclarative/tests/auto/qmldom/combined/tst_dom_all_autogen/YYN7A66ZIK/../../../../../../../../qt6/qtdeclarative/tests/auto/qmldom/domitem/tst_qmldomitem.h:521: undefined reference to `QQmlJS::Dom::DomItem::loadFile(QString, QString, std::function<void (QQmlJS::Dom::Path, QQmlJS::Dom::DomItem&, QQmlJS::Dom::DomItem&)>, QFlags<QQmlJS::Dom::LoadOption>)'
      /usr/bin/ld: qtdeclarative/tests/auto/qmldom/combined/CMakeFiles/tst_dom_all.dir/tst_dom_all_autogen/mocs_compilation.cpp.o: in function `QQmlJS::Dom::TestDomMerging::initTestCase()':
      /home/rutledge/dev/qt6-dbg/qtdeclarative/tests/auto/qmldom/combined/tst_dom_all_autogen/UTRFAM2X7O/../../../../../../../../qt6/qtdeclarative/tests/auto/qmldom/merging/tst_dommerging.h:79: undefined reference to `QQmlJS::Dom::DomItem::loadFile(QString, QString, std::function<void (QQmlJS::Dom::Path, QQmlJS::Dom::DomItem&, QQmlJS::Dom::DomItem&)>, QFlags<QQmlJS::Dom::LoadOption>)'
      /usr/bin/ld: /home/rutledge/dev/qt6-dbg/qtdeclarative/tests/auto/qmldom/combined/tst_dom_all_autogen/UTRFAM2X7O/../../../../../../../../qt6/qtdeclarative/tests/auto/qmldom/merging/tst_dommerging.h:83: undefined reference to `QQmlJS::Dom::DomItem::loadFile(QString, QString, std::function<void (QQmlJS::Dom::Path, QQmlJS::Dom::DomItem&, QQmlJS::Dom::DomItem&)>, QFlags<QQmlJS::Dom::LoadOption>)'
      /usr/bin/ld: qtdeclarative/tests/auto/qmldom/combined/CMakeFiles/tst_dom_all.dir/tst_dom_all_autogen/mocs_compilation.cpp.o:/home/rutledge/dev/qt6-dbg/qtdeclarative/tests/auto/qmldom/combined/tst_dom_all_autogen/PH4MCXZAW5/../../../../../../../../qt6/qtdeclarative/tests/auto/qmldom/reformatter/tst_reformatter.h:115: more undefined references to `QQmlJS::Dom::DomItem::loadFile(QString, QString, std::function<void (QQmlJS::Dom::Path, QQmlJS::Dom::DomItem&, QQmlJS::Dom::DomItem&)>, QFlags<QQmlJS::Dom::LoadOption>)' follow
      collect2: error: ld returned 1 exit status
      

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes