On tty7, instead of the sddm-greeter I only get a cursor on a black screen. Switching to tty2, manually launching sddm-greeter gives back the following: «Incompatible processor. This Qt build requires the following features: aes rdrand Aborted. Incompatible processor: missing feature 0x42000000 - aes. Aborted (core dumped)» Reproducible: Always Steps to Reproduce: 1. update system 2. reboot system 3. no more system CFLAGS="-march=ivybridge -O2 -pipe" CPU_FLAGS_X86="avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
Can you attach emerge --info support so we can see what cpu you have, among other things? Thanks
Unfortunately, I can not, as I cannot use my system in a graphical mode. My processor is an Intel i3-3110M at 2.4GHz, so Ivy Bridge. My profile is default/linux/amd64/17.0/no-multilib/hardened/selinux
I have a very similar i3-3220 cpu, and -march=ivybridge will produce some non-working binaries since these low-cost i3's are lacking aes and rdrnd. Qt is being really polite in giving you these messages rather than just crashing hard, but the solution will be to set like "-march=ivybridge -mno-aes -mno-rdrnd" or just "-march=native" (in addition to -O2 -pipe)
Well, like everyone else, I consulted the safe cflags section of the wiki which seemed to imply that the compiler can distinguish between Pentium and Intel Core and that it only required -noaes and -nordrand for Pentium. I will try your suggestion. Hope it'll work. Thanks for the prompt assist.
FWIW I was also surprised to learn that my i3 was missing "standard" feature flags, I also thought it was only the pentium/celeron lines which trimmed features like that. Live and learn. My desktop i3-3220 is missing features, mobile i5-3340 has them all.
You can compare two outputs to see if -march=native enables less thing than -march=ivybridge to getthe idea what is enabled but should not: $ gcc -Q --help=target -march=ivybridge $ gcc -Q --help=target -march=native
(In reply to Sergei Trofimovich from comment #6) > You can compare two outputs to see if -march=native enables less thing than > -march=ivybridge to getthe idea what is enabled but should not: > > $ gcc -Q --help=target -march=ivybridge > $ gcc -Q --help=target -march=native Odd thing is, both outputs list -maes and -mrdrnd as disabled, which for some reason this version of qt chooses to ignore. What I learned from this is that -march=native is in fact enabling more features than -march=ivybridge. So I'll give "-march=native -mtune=ivybridge" a try and see if that works without "-mno-aes -mno-rdrnd". It would be nice to know which component actually causes the problem so I don't have to rebuild the whole set each time. I was thinking qtcore, but I'm in no way sure. Any suggestion?
Why are you not just using "-O2 -pipe -march=native"?
(In reply to Ben Kohler from comment #8) > Why are you not just using "-O2 -pipe -march=native"? Given how -march=native enables -mtune=ivybridge on my processor I was thinking to include it along for the sake of other 'rogue' software out there that might choose to ignore the compiler.
native will give effectively "-march=ivybridge -mno-aes -mno-rdrnd", use native unless you specifically have a reason you cannot (like distcc)
I plan to.
I can confirm this bug. When booting my screen I get a black screen with a mousecursor, nothing else. Busy trying to get back to old qt. I'm using 17.0/desktop/plasma/systemd profile CFLAGS="-march=native -O2 -pipe" on a skylake.
That doesn't sound like the same issue.
(In reply to Mircea Sava from comment #7) > (In reply to Sergei Trofimovich from comment #6) > > You can compare two outputs to see if -march=native enables less thing than > > -march=ivybridge to getthe idea what is enabled but should not: > > > > $ gcc -Q --help=target -march=ivybridge > > $ gcc -Q --help=target -march=native > > Odd thing is, both outputs list -maes and -mrdrnd as disabled, which for > some reason this version of qt chooses to ignore. > > What I learned from this is that -march=native is in fact enabling more > features than -march=ivybridge. So I'll give "-march=native > -mtune=ivybridge" a try and see if that works without "-mno-aes -mno-rdrnd". > > It would be nice to know which component actually causes the problem so I > don't have to rebuild the whole set each time. I was thinking qtcore, but > I'm in no way sure. Any suggestion? It could be that ebuild or package strips "unknown" "-mno-" flags. If you still have logs from broken state please attach: - build.log of dev-qt/qtcore library (error message seems to be from http://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/tools/qsimd.cpp?id=fae33bfbe35f8d082b420ee09662ff60634cb355&h=5.4#n555 ) - emerge --info output
I can confirm that "-march=native -O2 -pipe" does work on this ivybridge.
(In reply to Sergei Trofimovich from comment #14) > (In reply to Mircea Sava from comment #7) > > (In reply to Sergei Trofimovich from comment #6) > > > You can compare two outputs to see if -march=native enables less thing than > > > -march=ivybridge to getthe idea what is enabled but should not: > > > > > > $ gcc -Q --help=target -march=ivybridge > > > $ gcc -Q --help=target -march=native > > > > Odd thing is, both outputs list -maes and -mrdrnd as disabled, which for > > some reason this version of qt chooses to ignore. > > > > What I learned from this is that -march=native is in fact enabling more > > features than -march=ivybridge. So I'll give "-march=native > > -mtune=ivybridge" a try and see if that works without "-mno-aes -mno-rdrnd". > > > > It would be nice to know which component actually causes the problem so I > > don't have to rebuild the whole set each time. I was thinking qtcore, but > > I'm in no way sure. Any suggestion? > > It could be that ebuild or package strips "unknown" "-mno-" flags. > > If you still have logs from broken state please attach: > - build.log of dev-qt/qtcore library (error message seems to be from > http://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/tools/qsimd. > cpp?id=fae33bfbe35f8d082b420ee09662ff60634cb355&h=5.4#n555 ) > - emerge --info output That's just it. It would've been easier if the build failed at the point of conflict. Instead, it went through w.o. issues as did all of the subsequent ones.
Somewhat late, but here it is: Portage 2.3.24 (python 2.7.14-final-0, default/linux/amd64/17.0/no-multilib/hardened/selinux, gcc-6.4.0, glibc-2.25-r10, 4.14.29-ck-gnu x86_64) ================================================================= System uname: Linux-4.14.29-ck-gnu-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.4.1 KiB Mem: 16296556 total, 9805476 free KiB Swap: 2097148 total, 2097148 free Timestamp of repository gentoo: Tue, 27 Mar 2018 00:45:01 +0000 Head commit of repository bitcoin: 083d186ed41b0006ff8e67b3902c9cf6cc9ac1ca Head commit of repository kde: f73d21cbe6317ec0baa2858a4ce4ead72dc7b832 Head commit of repository pentoo: 48a004a1fc0a6ed5058aaee62baedce3b32589b0 Head commit of repository science: edf1cd8c7acd0369e94308ab5cdbcfea6c81e50b sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.24.3::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 6.4.0-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r10::gentoo Repositories: gentoo location: /usr/portage sync-type: webrsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 local location: /usr/local/portage masters: gentoo bitcoin location: /var/lib/overlays/bitcoin sync-type: git sync-uri: https://gitlab.com/bitcoin/gentoo.git masters: gentoo priority: 50 kde location: /var/lib/overlays/kde sync-type: git sync-uri: https://anongit.gentoo.org/git/proj/kde.git masters: gentoo priority: 50 pentoo location: /var/lib/overlays/pentoo sync-type: git sync-uri: https://github.com/pentoo/pentoo-overlay.git masters: gentoo priority: 50 science location: /var/lib/overlays/science sync-type: git sync-uri: https://anongit.gentoo.org/git/proj/sci.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/" LANG="en_US.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aalib accessibility acl acpi alsa amd64 audiofile audit avahi bash-completion bindist blas branding bzip2 cairo cdda cddb cdparanoia cdr clamav consolekit crypt css cups curl cxx dbus deblob djvu dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg fftw flac fontconfig geoip geolocation gif gimp git gnuplot gphoto2 gpm gps graphviz gsl gstreamer hardened hddtemp hdf5 iconv icu idn imlib inotify ipv6 jack jbig jemalloc jpeg jpeg2k kde kerberos ladspa lapack lash latex lcms ldap libnotify libsamplerate lm_sensors lzma mad matroska memcached memlimit mime mms mng modplug mozilla mp3 mp4 mpeg mplayer musepack musicbrainz mysql mysqli ncurses netcdf networkmanager nls nntp nptl offensive ofx ogg openexr opengl openmp pam pcre pdf php pie plasma plotutils png policykit posix postgres postscript ppds python qml qt5 quicktime raw readline rss sasl scanner sctp sdl seccomp selinux semantic-desktop slp smartcard smp sndfile snmp sockets socks5 sound sox speex spell sqlite ssl ssp startup-notification svg sybase syslog szip taglib theora threads tiff truetype udev udisks unicode upower usb utils v4l vaapi vcd vdpau vhosts vim-syntax vnc vorbis wavpack wayland webp wifi wmf wxwidgets x264 xattr xcb xcomposite xface xft xml xmlrpc xmp xmpp xpm xtpax xv xvid yaz zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" NGINX_MODULES_HTTP="access auth_basic auth_pam autoindex browser cache_purge charset empty_gif fancyindex fastcgi geo gzip limit_conn limit_req map memcached metrics proxy realip referer rewrite scgi secure_link security split_clients ssi stub_status upload_progress upstream_check upstream_ip_hash userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="aarch64 mips ppc64 x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="i965 intel qxl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
From the arch wiki "Applications using QML crash or don't work with Qt 5.8 Starting with Qt 5.8, applications that rely on QML (such as SDDM or some KDE programs) may crash or fail to function correctly if they do not have execution privileges under /home or /var (e.g. if these are separate filesystems mounted as 'noexec'). This is a result of the qmlcache feature, which relies on being able to write files out to .cache directories and then execute them. See also BBS thread 222486: sddm-helper crashes. If you do not want to -- or cannot -- allow such execution privileges, a workaround is to set the following as appropriate in your environment variables: QML_DISABLE_DISK_CACHE=1" This will be solved with Qt 5.11.