Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.0
-
None
-
linux-5.19.12
gcc-12.2.0
AMD A10-5800K
-
-
a98cf15ed1 (qt/qtbase/dev) 727de65816 (qt/qtbase/6.4) 727de65816 (qt/tqtc-qtbase/6.4) a98cf15ed1 (qt/tqtc-qtbase/dev) 6b5eac4697 (qt/qtbase/6.4) 6b5eac4697 (qt/tqtc-qtbase/6.4) 29d3938aa5 (qt/tqtc-qtbase/dev), 39d3af0c2 (dev), cd8667cb1 (6.6)
Description
-- Configure summary: Building for: linux-g++ (x86_64, CPU features: abm aes avx bmi cx16 f16c fma fma4 lwp lzcnt mmx pclmul popcnt prfchw sse sse2 sse3 ssse3 sse4a sse4.1 sse4.2 sse4 tbm xop) Compiler: gcc 12.2.0
FAILED: src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/global/qfloat16.cpp.o /var/lib/sorcery/build/c++ -DHAVE_CONFIG_H -DQT_BOOTSTRAPPED -DQT_NO_CAST_FROM_ASCII -DQT_N O_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWIN G_CONVERSIONS_IN_CONNECT -DQT_TYPESAFE_FLAGS -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 - DQT_VERSION_MINOR=4 -DQT_VERSION_PATCH=0 -DQT_VERSION_STR=\"6.4.0\" -D_LARGEFILE64_SOURCE - D_LARGEFILE_SOURCE -I/usr/src/qtbase-everywhere-src-6.4.0/build/src/corelib/Core_autogen/in clude -I/usr/src/qtbase-everywhere-src-6.4.0/build/include -I/usr/src/qtbase-everywhere-src -6.4.0/build/include/QtCore -I/usr/src/qtbase-everywhere-src-6.4.0/src/corelib -I/usr/src/q tbase-everywhere-src-6.4.0/build/src/corelib -I/usr/src/qtbase-everywhere-src-6.4.0/build/s rc/corelib/global -I/usr/src/qtbase-everywhere-src-6.4.0/build/src/corelib/kernel -I/usr/sr c/qtbase-everywhere-src-6.4.0/src/corelib/../3rdparty/tinycbor/src -I/usr/src/qtbase-everyw here-src-6.4.0/build/include/QtCore/6.4.0 -I/usr/src/qtbase-everywhere-src-6.4.0/build/incl ude/QtCore/6.4.0/QtCore -I/usr/src/qtbase-everywhere-src-6.4.0/src/corelib/../3rdparty/fork fd -I/usr/src/qtbase-everywhere-src-6.4.0/build/src/corelib/.rcc -I/usr/src/qtbase-everywhe re-src-6.4.0/mkspecs/linux-g++ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/s rc/qtbase-everywhere-src-6.4.0/src/tools/bootstrap/.. -I/usr/src/qtbase-everywhere-src-6.4. 0/src/tools/bootstrap/../../3rdparty/tinycbor/src -march=native -mtune=native -m64 -pipe -O 3 -march=native -mtune=native -m64 -pipe -O2 -fPIC -fvisibility=hidden -fvisibility-inlines -hidden -Wall -Wextra -ffunction-sections -fdata-sections -Wsuggest-override -std=gnu++17 - MD -MT src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/global/qfloat16.cpp.o -MF src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/global/qfloat16.cpp.o.d -o src/ tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/global/qfloat16.cpp.o -c /usr/src/qt base-everywhere-src-6.4.0/src/corelib/global/qfloat16.cpp In file included from /usr/src/qtbase-everywhere-src-6.4.0/build/include/QtCore/6.4.0/QtCor e/private/qsimd_p.h:1, from /usr/src/qtbase-everywhere-src-6.4.0/src/corelib/global/qfloat16.cpp: 6: /usr/src/qtbase-everywhere-src-6.4.0/build/include/QtCore/6.4.0/QtCore/private/../../../../ ../../src/corelib/global/qsimd_p.h:217:8: error: #error "Please enable all x86-64-v3 extens ions; you probably want to use -march=haswell or -march=x86-64-v3 instead of -mavx2" 217 | # error "Please enable all x86-64-v3 extensions; you probably want to use -mar ch=haswell or -march=x86-64-v3 instead of -mavx2" | ^~~~~ /usr/src/qtbase-everywhere-src-6.4.0/build/include/QtCore/6.4.0/QtCore/private/../../../../ ../../src/corelib/global/qsimd_p.h:214:38: error: '__AVX2__' was not declared in this scope 214 | # define ARCH_HASWELL_MACROS (__AVX2__ + __BMI__ + __BMI2__ + __F16C__ + __F MA__ + __LZCNT__) | ^~~~~~~~ /usr/src/qtbase-everywhere-src-6.4.0/build/include/QtCore/6.4.0/QtCore/private/../../../../ ../../src/corelib/global/qsimd_p.h:219:15: note: in expansion of macro 'ARCH_HASWELL_MACROS ' 219 | static_assert(ARCH_HASWELL_MACROS, "Undeclared identifiers indicate which features are missing."); | ^~~~~~~~~~~~~~~~~~~ /usr/src/qtbase-everywhere-src-6.4.0/build/include/QtCore/6.4.0/QtCore/private/../../../../ ../../src/corelib/global/qsimd_p.h:214:59: error: '__BMI2__' was not declared in this scope 214 | # define ARCH_HASWELL_MACROS (__AVX2__ + __BMI__ + __BMI2__ + __F16C__ + __F MA__ + __LZCNT__) | ^~~~~~~~ /usr/src/qtbase-everywhere-src-6.4.0/build/include/QtCore/6.4.0/QtCore/private/../../../../ ../../src/corelib/global/qsimd_p.h:219:15: note: in expansion of macro 'ARCH_HASWELL_MACROS ' 219 | static_assert(ARCH_HASWELL_MACROS, "Undeclared identifiers indicate which features are missing."); | ^~~~~~~~~~~~~~~~~~~
Hardware does not support avx2
$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: AuthenticAMD Model name: AMD A10-5800K APU with Radeon(tm) HD Graphics CPU family: 21 Model: 16 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 Stepping: 1 BogoMIPS: 7580.15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe 1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_ap icid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_lega cy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb hw_ps tate ssbd vmmcall bmi1 arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold Virtualization features: Virtualization: AMD-V Caches (sum of all): L1d: 64 KiB (4 instances) L1i: 128 KiB (2 instances) L2: 4 MiB (2 instances) Vulnerabilities: Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Mmio stale data: Not affected Retbleed: Mitigation; untrained return thunk; SMT vulnerable Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitizati on Spectre v2: Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS N ot affected Srbds: Not affected Tsx async abort: Not affected
qt-6.3.2 builds correctly on this system