Summary: | [qt-overlay] Applications won't run with Qt-5.6_beta: Incompatible processor: missing feature 0x2000000 - aes. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Franz Trischberger <franz.trischberger> |
Component: | [OLD] Library | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | franz.trischberger |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Franz Trischberger
2016-01-27 14:31:57 UTC
Just to be clear, this affects only third-party apps? i.e. qt tools such as moc or uic or qdbus are _not_ affected? Also attach /usr/lib64/qt5/mkspecs/qmodule.pri and /proc/cpuinfo please. It seems only gui applications are affected: tested with uic and qdbusviewer ❯ uic --help Usage: /usr/lib64/qt5/bin/uic [options] [uifile] Qt User Interface Compiler version 5.6.0 Options: -h, --help Displays this help. -v, --version Displays version information. -d, --dependencies Display the dependencies. -o, --output <file> Place the output into <file> -p, --no-protection Disable header protection. -n, --no-implicit-includes Disable generation of #include-directives. --postfix <postfix> Postfix to add to all generated classnames. --tr, --translate <function> Use <function> for i18n. --include <include-file> Add #include <include-file> to <file>. -g, --generator <java|cpp> Select generator. Arguments: [uifile] Input file (*.ui), otherwise stdin. ~ ❯ qdbusviewer --help Incompatible processor. This Qt build requires the following features: aes Aborted. Incompatible processor: missing feature 0x2000000 - aes. [1] 26007 abort qdbusviewer --hel Seems like aes is neither in my CPU_FLAGS_X86 nor my cpuinfo, but in qmodule.pri =========== qmodule.pri =========== CONFIG += journald qpa largefile nostrip use_gold_linker enable_new_dtags sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 QT_BUILD_PARTS += libs tools QT_NO_DEFINES = ALSA CUPS DBUS EGL EGLFS EGL_X11 EVDEV FONTCONFIG FREETYPE HARFBUZZ IMAGEFORMAT_JPEG IMAGEFORMAT_PNG LIBPROXY MITSHM OPENGL OPENSSL OPENVG PULSEAUDIO SHAPE SSL STYLE_GTK TSLIB XCURSOR XFIXES XKB XRANDR XRENDER XSYNC ZLIB QT_QCONFIG_PATH = host_build { QT_CPU_FEATURES.x86_64 = aes avx cx16 mmx pclmul popcnt sse sse2 sse3 ssse3 sse4.1 sse4.2 sse4 } else { QT_CPU_FEATURES.x86_64 = aes avx cx16 mmx pclmul popcnt sse sse2 sse3 ssse3 sse4.1 sse4.2 sse4 } QT_COORD_TYPE = double QT_LFLAGS_ODBC = -lodbc QMAKE_AR = x86_64-pc-linux-gnu-ar cqs QMAKE_RANLIB = x86_64-pc-linux-gnu-ranlib QMAKE_STRIP = x86_64-pc-linux-gnu-strip QMAKE_OBJDUMP = x86_64-pc-linux-gnu-objdump QMAKE_LINK = clang++ QMAKE_CC = clang QMAKE_CXX = clang++ QMAKE_CFLAGS = -march=corei7-avx -O2 -pipe -ggdb QMAKE_CXXFLAGS = -march=corei7-avx -O2 -pipe -ggdb QMAKE_LFLAGS = -Wl,-O1 -Wl,--as-needed styles += mac fusion windows DEFINES += QT_NO_MTDEV QT_CFLAGS_GLIB = -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include QT_LIBS_GLIB = -lgthread-2.0 -pthread -lglib-2.0 QMAKE_INCDIR_LIBUDEV = QMAKE_LIBS_LIBUDEV = -ludev DEFINES += QT_NO_EVDEV DEFINES += QT_NO_TSLIB DEFINES += QT_NO_LIBINPUT sql-drivers = sql-plugins = ============= /proc/cpuinfo ============= processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz stepping : 7 microcode : 0x1b cpu MHz : 2300.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt bugs : bogomips : 4589.77 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz stepping : 7 microcode : 0x1b cpu MHz : 2300.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt bugs : bogomips : 4589.77 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz stepping : 7 microcode : 0x1b cpu MHz : 2300.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt bugs : bogomips : 4589.77 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz stepping : 7 microcode : 0x1b cpu MHz : 2299.910 cache size : 3072 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt bugs : bogomips : 4589.77 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: Indeed, as confirmed here http://ark.intel.com/products/53438/Intel-Core-i3-2350M-Processor-3M-Cache-2_30-GHz your CPU does not seem to support AES-NI. However you're using -march=corei7-avx, which AFAICS *does* enable AES-NI (-maes). Looks like your C(XX)FLAGS are wrong... That is DEFINITELY weird! This means they changed the meaning of the march. When I set this machine up I ran the commands suggested in the safe cflags wiki. It clearly said "corei7-avx". I know back then this was the suggested flag for sandybridges. Running this now tells me "-march=sandybridge". WTF :( I also need to disable maes with sandybridge. This was not needed back then when I set this machine up. MEH! I can't run march=native, because I need distcc... |