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

qt3d does not build with -march=skylake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.0 Beta1
    • Qt3D
    • None

    Description

      [1427/5566] Building CXX object qt3d/src/render/CMakeFiles/3DRender.dir/jobs/abstractpickingjob.cpp.o
      FAILED: qt3d/src/render/CMakeFiles/3DRender.dir/jobs/abstractpickingjob.cpp.o 
      /usr/bin/ccache /usr/bin/clang++-15 -DBUILD_QT3D_MODULE -DQT_3DCORE_LIB -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_3DRENDER_LIB -DQT_CFLAGS_SSE2 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_OPENGL_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_3DRender_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/tim/dev/qt6/build_clang-6.5/qt3d/src/render/3DRender_autogen/include -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DRender -I/home/tim/dev/qt6/qt3d/src/render -I/home/tim/dev/qt6/build_clang-6.5/qt3d/src/render -I/home/tim/dev/qt6/qt3d/src/render/backend -I/home/tim/dev/qt6/qt3d/src/render/framegraph -I/home/tim/dev/qt6/qt3d/src/render/frontend -I/home/tim/dev/qt6/qt3d/src/render/geometry -I/home/tim/dev/qt6/qt3d/src/render/io -I/home/tim/dev/qt6/qt3d/src/render/jobs -I/home/tim/dev/qt6/qt3d/src/render/lights -I/home/tim/dev/qt6/qt3d/src/render/materialsystem -I/home/tim/dev/qt6/qt3d/src/render/picking -I/home/tim/dev/qt6/qt3d/src/render/raycasting -I/home/tim/dev/qt6/qt3d/src/render/renderstates -I/home/tim/dev/qt6/qt3d/src/render/services -I/home/tim/dev/qt6/qt3d/src/render/shadergraph -I/home/tim/dev/qt6/qt3d/src/render/surfaces -I/home/tim/dev/qt6/qt3d/src/render/texture -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DRender/6.5.0 -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DRender/6.5.0/Qt3DRender -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DCore -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtConcurrent -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtCore -I/home/tim/dev/qt6/qtbase/mkspecs/linux-clang -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtGui -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtNetwork -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtOpenGL -I/home/tim/dev/qt6/build_clang-6.5/qtbase/src/corelib -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtCore/6.5.0 -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtCore/6.5.0/QtCore -I/home/tim/dev/qt6/build_clang-6.5/qt3d/src/core -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DCore/6.5.0 -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DCore/6.5.0/Qt3DCore -I/home/tim/dev/qt6/build_clang-6.5/qtbase/src/gui -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtGui/6.5.0 -I/home/tim/dev/qt6/build_clang-6.5/qtbase/include/QtGui/6.5.0/QtGui -DNDEBUG -march=skylake -O3 -flto=thin -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -msse2 -std=c++20 -MD -MT qt3d/src/render/CMakeFiles/3DRender.dir/jobs/abstractpickingjob.cpp.o -MF qt3d/src/render/CMakeFiles/3DRender.dir/jobs/abstractpickingjob.cpp.o.d -o qt3d/src/render/CMakeFiles/3DRender.dir/jobs/abstractpickingjob.cpp.o -c /home/tim/dev/qt6/qt3d/src/render/jobs/abstractpickingjob.cpp
      /home/tim/dev/qt6/qt3d/src/render/jobs/abstractpickingjob.cpp:74:33: error: no viable conversion from 'const Matrix4x4' (aka 'const Qt3DCore::Matrix4x4_SSE') to incomplete type 'const Qt3DCore::Matrix4x4_AVX2'
          nearPos = nearPos.unproject(viewMatrix, projectionMatrix, viewport);
                                      ^~~~~~~~~~
      /home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DCore/6.5.0/Qt3DCore/private/../../../../../../../qt3d/src/core/transforms/vector3d_sse_p.h:33:7: note: forward declaration of 'Qt3DCore::Matrix4x4_AVX2'
      class Matrix4x4_AVX2;
            ^
      /home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DCore/6.5.0/Qt3DCore/private/../../../../../../../qt3d/src/core/transforms/vector3d_sse_p.h:148:89: note: passing argument to parameter 'modelView' here
          __attribute__((visibility("default"))) Vector3D_SSE unproject(const Matrix4x4_AVX2 &modelView, const Matrix4x4_AVX2 &projection, const QRect &viewport) const;
                                                                                              ^
      /home/tim/dev/qt6/qt3d/src/render/jobs/abstractpickingjob.cpp:76:31: error: no viable conversion from 'const Matrix4x4' (aka 'const Qt3DCore::Matrix4x4_SSE') to incomplete type 'const Qt3DCore::Matrix4x4_AVX2'
          farPos = farPos.unproject(viewMatrix, projectionMatrix, viewport);
                                    ^~~~~~~~~~
      /home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DCore/6.5.0/Qt3DCore/private/../../../../../../../qt3d/src/core/transforms/vector3d_sse_p.h:33:7: note: forward declaration of 'Qt3DCore::Matrix4x4_AVX2'
      class Matrix4x4_AVX2;
            ^
      /home/tim/dev/qt6/build_clang-6.5/qtbase/include/Qt3DCore/6.5.0/Qt3DCore/private/../../../../../../../qt3d/src/core/transforms/vector3d_sse_p.h:148:89: note: passing argument to parameter 'modelView' here
          __attribute__((visibility("default"))) Vector3D_SSE unproject(const Matrix4x4_AVX2 &modelView, const Matrix4x4_AVX2 &projection, const QRect &viewport) const;
                                                                                              ^
      2 errors generated.
      [1446/5566] Building CXX object qt3d/src/render/CMakeFiles/3DRender.dir/jobs/pickboundingvolumeutils.cpp.o
      ninja: build stopped: subcommand failed.
      

      somewhere `matrix4x4_avx2_p.h` needs to be included, but i'm not sure where

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes