With errors like: jobs/abstractpickingjob.cpp:110: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); ^~~~~~~~~~ ../../include/Qt3DCore/5.15.0/Qt3DCore/private/../../../../../src/core/transforms/vector3d_sse_p.h:68:7: note: forward declaration of 'Qt3DCore::Matrix4x4_AVX2' class Matrix4x4_AVX2; ^ ../../include/Qt3DCore/5.15.0/Qt3DCore/private/../../../../../src/core/transforms/vector3d_sse_p.h:182:74: note: passing argument to parameter 'modelView' here Q_3DCORE_PRIVATE_EXPORT Vector3D_SSE unproject(const Matrix4x4_AVX2 &modelView, const Matrix4x4_AVX2 &projection, const QRect &viewport) const; ^
Moin moin Indeed, it also fails when I set it to znver1 here. mfg Tobias
Could you verify that you also get Use SSE2 instructions .................. yes Use AVX2 instructions .................. no in the configure output?
(In reply to Tobias C. Berner from comment #2) Yes
also hitting this bug on -current with cputype=znver1: # uname -a FreeBSD zenstation 13.0-CURRENT FreeBSD 13.0-CURRENT #1 494ba3d79-c119(master): Fri Oct 9 16:11:27 CDT 2020 root@zenstation:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64
Adding CPUTYPE= ivybridge # (Select the most recent CPU without AVX2 support) lets it build, but it would be nice to enable avx2 on local builds where it the instructions are supported.
(In reply to eborisch+FreeBSD from comment #5) Yeah, someone should invest some time in why the AVX2 detection fails. Patches, welcome :) mfg Tobias