Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.9.3
-
None
-
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/qt-everywhere-opensource-src-5.9.3 $ uname -a
Linux clr-449e9b2a44f8458bb4885604dc172a1c 4.13.16-460.native #2 SMP Fri Nov 24 16:27:00 UTC 2017 x86_64 GNU/Linux
Description
As it seen cpu doesn't have 'aes' cpu feature but ./configure says:
CPU features: aes cx16 mmx pclmul popcnt sse sse2 sse3 ssse3 sse4.1 sse4.2 sse4
I have set the flags like that:
export CFLAGS="-O2 -pipe -march=native"
export CXXFLAGS="${CFLAGS}"
export QMAKE_CXXFLAGS_RELEASE="${CFLAGS}"
export QMAKE_CXXFLAGS_DEBUG="${CFLAGS}"
export QMAKE_CXXFLAGS="${CFLAGS}"
export QMAKE_CFLAGS_RELEASE="${CFLAGS}"
export QMAKE_CFLAGS_DEBUG="${CFLAGS}"
export QMAKE_CFLAGS="${CFLAGS}"
export CMAKE_C_FLAGS="${CFLAGS}"
export CMAKE_CXX_FLAGS="${CFLAGS}"
I don't know if its enough
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/qt-everywhere-opensource-src-5.9.3 $ gcc -mtune=native -march=native -E -v - </dev/null 2>&1 Using built-in specs. COLLECT_GCC=/usr/bin/gcc Target: x86_64-generic-linux Configured with: ../gcc-7.2.0/configure --prefix=/usr --with-pkgversion='Clear Linux OS for Intel Architecture' --libdir=/usr/lib64 --enable-libstdcxx-pch --libexecdir=/usr/lib64 --with-system-zlib --enable-shared --enable-gnu-indirect-function --disable-vtable-verify --enable-threads=posix --enable-__cxa_atexit --enable-plugin --enable-ld=default --enable-clocale=gnu --disable-multiarch --enable-multilib --enable-lto --enable-linker-build-id --build=x86_64-generic-linux --target=x86_64-generic-linux --enable-languages=c,c++,fortran,go --enable-bootstrap --with-ppl=yes --with-isl --includedir=/usr/include --with-gxx-include-dir=/usr/include/c++/ --exec-prefix=/usr --with-glibc-version=2.19 --disable-libunwind-exceptions --with-gnu-ld --with-tune=haswell --with-arch=westmere --disable-libmpx Thread model: posix gcc version 7.2.1 20170910 (Clear Linux OS for Intel Architecture) COLLECT_GCC_OPTIONS='-mtune=native' '-march=native' '-E' '-v' /usr/lib64/gcc/x86_64-generic-linux/7.2.1/cc1 -E -quiet -v - -march=westmere -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=westmere ignoring nonexistent directory "/usr/lib64/gcc/x86_64-generic-linux/7.2.1/../../../../x86_64-generic-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib64/gcc/x86_64-generic-linux/7.2.1/include /usr/local/include /usr/lib64/gcc/x86_64-generic-linux/7.2.1/include-fixed /usr/include End of search list. # 1 "<stdin>" # 1 "<built-in>" # 1 "<command-line>" # 31 "<command-line>" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "<command-line>" 2 # 1 "<stdin>" COMPILER_PATH=/usr/lib64/gcc/x86_64-generic-linux/7.2.1/:/usr/lib64/gcc/x86_64-generic-linux/7.2.1/:/usr/lib64/gcc/x86_64-generic-linux/:/usr/lib64/gcc/x86_64-generic-linux/7.2.1/:/usr/lib64/gcc/x86_64-generic-linux/ LIBRARY_PATH=/usr/lib64/gcc/x86_64-generic-linux/7.2.1/:/usr/lib64/gcc/x86_64-generic-linux/7.2.1/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib64/gcc/x86_64-generic-linux/7.2.1/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-mtune=native' '-march=native' '-E' '-v'
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/qt-everywhere-opensource-src-5.9.3 $ ./configure -nomake examples -skip qtwebengine -confirm-license -opensource -shared + cd qtbase + /home/utku/Programlar/qt-everywhere-opensource-src-5.9.3/qtbase/configure -top-level -nomake examples -skip qtwebengine -confirm-license -opensource -shared Creating qmake... .Done. This is the Qt Open Source Edition. You have already accepted the terms of the Open Source license. Running configuration tests... Done running configuration tests. Configure summary: Build type: linux-g++ (x86_64, CPU features: aes cx16 mmx pclmul popcnt sse sse2 sse3 ssse3 sse4.1 sse4.2 sse4) Configuration: use_gold_linker sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples enable_new_dtags f16c largefile precompile_header shared rpath release c++11 c++14 c++1z concurrent dbus reduce_exports reduce_relocations stl Build options: Mode ................................... release Optimize release build for size ........ no Building shared libraries .............. yes Using C++ standard ..................... C++1z Using ccache ........................... no Using gold linker ...................... yes Using new DTAGS ........................ yes Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. AVX AVX2 F16C AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI Build parts ............................ libs tools Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... yes Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... yes QML debugging .......................... yes udev ................................... yes Using system zlib ...................... yes Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ yes GLib ................................... yes iconv .................................. no ICU .................................... yes Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE2 ..................... no Qt Network: getaddrinfo() .......................... yes getifaddrs() ........................... yes IPv6 ifname ............................ yes libproxy ............................... no OpenSSL ................................ yes Qt directly linked to OpenSSL ........ no SCTP ................................... no Use system proxies ..................... yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ yes HarfBuzz ............................... yes Using system HarfBuzz ................ yes Fontconfig ............................. yes Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... yes PNG .................................. yes Using system libpng ................ yes EGL .................................... yes OpenVG ................................. no OpenGL: Desktop OpenGL ....................... yes OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no Session Management ..................... yes Features used by QPA backends: evdev .................................. yes libinput ............................... yes INTEGRITY HID .......................... no mtdev .................................. yes tslib .................................. no xkbcommon-evdev ........................ yes QPA backends: DirectFB ............................... no EGLFS .................................. yes EGLFS details: EGLFS i.Mx6 .......................... no EGLFS i.Mx6 Wayland .................. no EGLFS EGLDevice ...................... yes EGLFS GBM ............................ yes EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGL on X11 ........................... yes LinuxFB ................................ yes VNC .................................... yes Mir client ............................. no X11: Using system-provided XCB libraries .. no EGL on X11 ........................... yes Xinput2 .............................. yes XCB XKB .............................. yes XLib ................................. yes XCB render ........................... yes XCB GLX .............................. yes XCB Xlib ............................. yes Using system-provided xkbcommon ...... yes Qt Widgets: GTK+ ................................... yes Styles ................................. Fusion Windows Qt PrintSupport: CUPS ................................... yes Qt Sql: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... no PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt SerialBus: Socket CAN ............................. yes Socket CAN FD .......................... yes QtXmlPatterns: XML schema support ..................... yes Qt QML: QML interpreter ........................ yes QML network support .................... yes Qt Quick: Direct3D 12 ............................ no AnimatedImage item ..................... yes Canvas item ............................ yes Support for Qt Quick Designer .......... yes Flipable item .......................... yes GridView item .......................... yes ListView item .......................... yes Path support ........................... yes PathView item .......................... yes Positioner items ....................... yes ShaderEffect item ...................... yes Sprite item ............................ yes Qt Gamepad: SDL2 ................................... yes Qt 3D: Assimp ................................. yes System Assimp .......................... no Output Qt3D Job traces ................. no Output Qt3D GL traces .................. no Qt 3D GeometryLoaders: Autodesk FBX ........................... no Qt Wayland Drivers: EGL .................................... yes Raspberry Pi ........................... no XComposite EGL ......................... yes XComposite GLX ......................... yes DRM EGL ................................ yes libhybris EGL .......................... no Qt Wayland Client ........................ yes Qt Wayland Compositor .................... yes Qt Bluetooth: BlueZ .................................. yes BlueZ Low Energy ....................... yes Linux Crypto API ....................... yes Qt Sensors: sensorfw ............................... no Qt Quick Controls 2: Styles ................................. Default Material Universal Qt Quick Templates 2: Hover support .......................... yes Multi-touch support .................... yes Qt Positioning: Gypsy GPS Daemon ....................... no WinRT Geolocation API .................. no Qt Location: Geoservice plugins: OpenStreetMap ........................ yes HERE ................................. yes Esri ................................. yes Mapbox ............................... yes MapboxGL ............................. yes Itemsoverlay ......................... yes Qt Multimedia: ALSA ................................... yes GStreamer 1.0 .......................... yes GStreamer 0.10 ......................... no Video for Linux ........................ yes OpenAL ................................. yes PulseAudio ............................. yes Resource Policy (libresourceqt5) ....... no Windows Audio Services ................. no DirectShow ............................. no Windows Media Foundation ............... no Note: Also available for Linux: linux-clang linux-icc Note: Dropped compiler flags '-pthread' when detecting library 'glib'. Note: Dropped compiler flags '-pthread' when detecting library 'gtk3'. Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'. Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'. Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into '/usr/local/Qt-5.9.3'. Prior to reconfiguration, make sure you remove any leftovers from the previous build.