Bug 248155 - graphics/qt5-3d: fails to build with CPUTYPE>=haswell (anything with AVX2 I guess)
Summary: graphics/qt5-3d: fails to build with CPUTYPE>=haswell (anything with AVX2 I g...
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-21 22:16 UTC by Greg V
Modified: 2020-07-29 13:29 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg V 2020-07-21 22:16:08 UTC
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;
                                                                         ^
Comment 1 Tobias C. Berner freebsd_committer 2020-07-25 08:39:09 UTC
Moin moin 


Indeed, it also fails when I set it to znver1 here.


mfg Tobias
Comment 2 Tobias C. Berner freebsd_committer 2020-07-25 09:16:32 UTC
Could you verify that you also get 

  Use SSE2 instructions .................. yes
  Use AVX2 instructions .................. no

in the configure output?
Comment 3 Greg V 2020-07-29 13:29:56 UTC
(In reply to Tobias C. Berner from comment #2)
Yes