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

QtWebEngine version 6.7.2 do not link under Linux arm64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.7.2, 6.8.0 RC
    • WebEngine
    • MacOS Silicon M1 computer running UTM VM with Ubuntu 24.04 arm64
    • Linux/X11

    Description

      I try to compile Qt 6.7.2 under a VM Linux Ubuntu 24.04 running under MacOS Somona 14.6.2 Silicon. The linking stage at end fail with missing ia32 symbols (Intel ?) The plateform is arm64: why?

      QtWebEngine 6.6.2 compile and link fine on the same computer.

      [7351/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineprofile.cpp.o
      [7352/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginesettings.cpp.o
      [7353/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinterceptor.cpp.o
      [7354/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o
      [7355/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescriptcollection.cpp.o
      [7356/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestjob.cpp.o
      [7357/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinfo.cpp.o
      [7358/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o
      [7359/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineglobalsettings.cpp.o
      [7360/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginewebauthuxrequest.cpp.o
      [7361/7499] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginepage.cpp.o
      In file included from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/include/QtCore/qmetatype.h:1,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/kernel/qvariant.h:9,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/include/QtCore/qvariant.h:1,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/text/qlocale.h:7,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/include/QtCore/qlocale.h:1,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/time/qcalendar.h:10,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/include/QtCore/qcalendar.h:1,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/time/qdatetime.h:8,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/include/QtCore/qdatetime.h:1,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/network/ssl/qsslcertificate.h:16,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/include/QtNetwork/qsslcertificate.h:1,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/api/qwebengineclientcertificateselection.h:11,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/include/QtWebEngineCore/qwebengineclientcertificateselection.h:1,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/api/qwebenginepage.h:8,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/api/qwebenginepage.cpp:4:
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/kernel/qmetatype.h: In instantiation of ‘static constexpr void (* QtPrivate::QMetaTypeForType<S>::getDefaultCtr())(const QtPrivate::QMetaTypeInterface*, void*) [with S = QWebEngineQuotaRequest; QtPrivate::QMetaTypeInterface::DefaultCtrFn = void (*)(const QtPrivate::QMetaTypeInterface*, void*)]’:
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/kernel/qmetatype.h:2483:60:   required from ‘QtPrivate::QMetaTypeInterfaceWrapper<QWebEngineQuotaRequest>::InterfaceType QtPrivate::QMetaTypeInterfaceWrapper<QWebEngineQuotaRequest>::metaType’
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/kernel/qmetatype.h:2585:12:   required from ‘constexpr const QtPrivate::QMetaTypeInterface* QtPrivate::qMetaTypeInterfaceForType() [with T = QWebEngineQuotaRequest]’
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/kernel/qmetatype.h:2618:61:   required from ‘static constexpr QMetaType QMetaType::fromType() [with T = QWebEngineQuotaRequest]’
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/kernel/qmetatype.h:1392:38:   required from ‘constexpr int qMetaTypeId() [with T = QWebEngineQuotaRequest]’
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/kernel/qmetatype.h:1399:28:   required from ‘constexpr int qRegisterMetaType() [with T = QWebEngineQuotaRequest]’
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/api/qwebenginepage.cpp:112:46:   required from here
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/src/corelib/kernel/qmetatype.h:2409:65: warning: ‘QWebEngineQuotaRequest::QWebEngineQuotaRequest()’ is deprecated: Requesting host quota is no longer supported. [-Wdeprecated-declarations]
       2409 |             return [](const QMetaTypeInterface *, void *addr) \{ new (addr) S(); };
            |                                                                 ^~~~~~~~~~~~~~
      In file included from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/include/QtWebEngineCore/qwebenginequotarequest.h:1,
                       from /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/api/qwebenginepage.h:10:
      /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/api/qwebenginequotarequest.h:22:5: note: declared here
         22 |     QWebEngineQuotaRequest() {}
            |     ^~~~~~~~~~~~~~~~~~~~~~
      [7362/7499] Linking CXX shared library qtbase/lib/libQt6WebEngineCore.so.6.7.2
      FAILED: qtbase/lib/libQt6WebEngineCore.so.6.7.2 
      : && /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/linker_ulimit.sh /usr/bin/c++ {-}fPIC -DNDEBUG -O2  -Wl,{-}{-}no-undefined -Wl,{-}{-}version-script,/mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/api/WebEngineCore.version @/mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/Release/aarch64/QtWebEngineCore_objects.rsp -Wl,{-}{-}gc-sections -Wl,{-}{-}enable-new-dtags -shared -Wl,-soname,libQt6WebEngineCore.so.6 -o qtbase/lib/libQt6WebEngineCore.so.6.7.2 qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qtwebenginecoreglobal.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedesktopmediarequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefindtextresult.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefullscreenrequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehistory.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehttprequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineloadinginfo.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginemessagepumpscheduler.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenavigationrequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenewwindowrequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenotification.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginepage.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineprofile.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineregisterprotocolhandlerrequest.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescript.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescriptcollection.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginesettings.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinfo.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinterceptor.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestjob.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineglobalsettings.cpp.o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginewebauthuxrequest.cpp.o  -Wl,-rpath,/mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/lib:  qtbase/lib/libQt6WebChannel.so.6.7.2  -Wl,{-}{-}start-group @/mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/Release/aarch64/QtWebEngineCore_archives.rsp -Wl,{-}{-}end-group  -Wl,{-}{-}no-fatal-warnings @/mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/Release/aarch64/QtWebEngineCore_ldir.rsp @/mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/Release/aarch64/QtWebEngineCore_libs.rsp -Wl,{-}-no-fatal-warnings  qtbase/lib/libQt6Quick.so.6.7.2  qtbase/lib/libQt6OpenGL.so.6.7.2  qtbase/lib/libQt6Gui.so.6.7.2  /usr/lib/aarch64-linux-gnu/libGLX.so  /usr/lib/aarch64-linux-gnu/libOpenGL.so  /usr/lib/aarch64-linux-gnu/libxkbcommon.so  qtbase/lib/libQt6QmlModels.so.6.7.2  qtbase/lib/libQt6Qml.so.6.7.2  qtbase/lib/libQt6Network.so.6.7.2  qtbase/lib/libQt6QmlBuiltins.a  qtbase/lib/libQt6Core.so.6.7.2  -Wl,-rpath-link,/mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtbase/lib && :
      /usr/bin/ld: /mnt/data/build.qt6/ext_qt6/ext_qt6-prefix/src/ext_qt6/qtwebengine/src/core/Release/aarch64/obj/third_party/minigbm/minigbm/i915.o: in function `i915_bo_flush':
      i915.c:(.text.i915_bo_flush+0x44): undefined reference to `__builtin_ia32_mfence'
      /usr/bin/ld: i915.c:(.text.i915_bo_flush+0x58): undefined reference to `__builtin_ia32_clflush'
      collect2: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed.
      gmake[3]: *** [ext_qt6/CMakeFiles/ext_qt6.dir/build.make:86: ext_qt6/ext_qt6-prefix/src/ext_qt6-stamp/ext_qt6-build] Error 1
      gmake[2]: *** [CMakeFiles/Makefile2:396: ext_qt6/CMakeFiles/ext_qt6.dir/all] Error 2
      gmake[1]: *** [CMakeFiles/Makefile2:403: ext_qt6/CMakeFiles/ext_qt6.dir/rule] Error 2
      gmake: *** [Makefile:163: ext_qt6] Error 2
      

      Attachments

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              humandynamo Gilles Caulier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes