Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Nov 2022 12:49:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267593] devel/qt6-base: fails to build with -march=bdver2
Message-ID:  <bug-267593-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267593

            Bug ID: 267593
           Summary: devel/qt6-base: fails to build with -march=3Dbdver2
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

src/corelib/global/qsimd_p.h has the following check:
    214 #  define ARCH_HASWELL_MACROS       (__AVX2__ + __BMI__ + __BMI2__ +
__F16C__ + __FMA__ + __LZCNT__)
    215 #  if ARCH_HASWELL_MACROS !=3D 0
    216 #    if ARCH_HASWELL_MACROS !=3D 6
    217 #      error "Please enable all x86-64-v3 extensions; you probably =
want
to use -march=3Dhaswell or -march=3Dx86-64-v3 instead of -mavx2"
    218 #    endif

On bdver2 chips, __BMI__, __F16C__, __FMA__ and __LZCNT__ are defined. __AV=
X2__
and __BMI2__ are not. This causes the build with -march=3Dbdver2 to fail.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267593-7788>