[Bug 267593] devel/qt6-base: fails to build with -march=bdver2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 6 12:49:49 GMT 2022
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267593
Bug ID: 267593
Summary: devel/qt6-base: fails to build with -march=bdver2
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: kde at FreeBSD.org
Reporter: pkubaj at FreeBSD.org
Assignee: kde at FreeBSD.org
Flags: maintainer-feedback?(kde at 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 != 0
216 # if ARCH_HASWELL_MACROS != 6
217 # error "Please enable all x86-64-v3 extensions; you probably want
to use -march=haswell or -march=x86-64-v3 instead of -mavx2"
218 # endif
On bdver2 chips, __BMI__, __F16C__, __FMA__ and __LZCNT__ are defined. __AVX2__
and __BMI2__ are not. This causes the build with -march=bdver2 to fail.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list