Summary: | dev-qt/qtgui: emake failed: Illegal instruction (RDRND detected on CPUs with no support) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | agrigo2001, antonsp5, asturm, erhard_f, iangeorgeau, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://invent.kde.org/qt/qt/qtbase/-/merge_requests/297 | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=648004 https://bugs.gentoo.org/show_bug.cgi?id=777480 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Build Log build.log.xz (amd64 musl/clang, 5.15.12) emerge --info (amd64 musl/clang) |
Description
Thomas Deutschmann (RETIRED)
2020-01-30 18:54:42 UTC
Supportstdin by root NewAboutYoursAPIHelp 5.7 KB, Plain text Soft wrap Raw text Duplicate 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 Portage 2.3.84 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo x86_64) ================================================================= System uname: Linux-4.19.86-gentoo-x86_64-Intel-R-_Core-TM-_i3-3240_CPU_@_3.40GHz-with-gentoo-2.6 KiB Mem: 8029164 total, 2706700 free KiB Swap: 524284 total, 524284 free Timestamp of repository gentoo: Thu, 30 Jan 2020 15:30:01 +0000 Head commit of repository gentoo: 9d9f35e0060b6a62d8d32feddba7b8e76bf0fca2 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 4.4_p23-r1::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo dev-util/cmake: 3.14.6::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=ivybridge -mno-rdrnd" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=ivybridge -mno-rdrnd" DISTDIR="/var/cache/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="https://mirrors.evowise.com/gentoo/ https://mirrors.lug.mtu.edu/gentoo/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/var/cache/binpkgs" 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 acl acpi alsa amd64 asnl bash-completion berkdb bindist branding bzip2 cairo calendar cdda cdinstall cdr cli colord consolekit crypt css cups curl cxx dbi dbus djvu dri dts dv dvd dvdr emboss encode exif fam fastcgi fbcon ffmpeg flac fortran ftpgif gdbm gif gimp git glut gmp gnome gnome-keyring gnutls gpm graphviz gstreamer gtk gzip hddtemp iconv icu ios ipv6 jack javascriptjpeg jpeg jpeg2k lame lcms ldap libnotify libtirpc lm-sensors lzo mad mng mp3 mp4 mpeg mplayer mtp multilib musepack ncurses nls nptl nsplugin ogg opengl openmp pam pango pcmcia pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg symlink syslog systemdszip tcpd tiff truetype trust udev udisks unicode upower usb v4lvdpau vorbis wxwidgets x264 xattr xcb xcomposite xml xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 pypy" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Pasted 35 seconds ago — Expires in 7 days I asked for some tips at freenode/qt-labs, and for now, building with '-no-feature-rdrnd' might work as a quick workaround. To further help them help us, we need the command-line that was used for compiling the 'qrandom.cpp' file (it should be in the 'qtcore' build log). *** Bug 708792 has been marked as a duplicate of this bug. *** Created attachment 641986 [details]
Build Log
Built with -no-feature-rdrnd
lw3 /etc/portage # emerge --info Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-9.2.0, glibc-2.30-r8, 5.4.38-gentoo x86_64) ================================================================= System uname: Linux-5.4.38-gentoo-x86_64-Intel-R-_Core-TM-_i3-3240_CPU_@_3.40GHz-with-gentoo-2.6 KiB Mem: 8029668 total, 4214828 free KiB Swap: 4718584 total, 4718584 free Timestamp of repository gentoo: Tue, 26 May 2020 01:00:01 +0000 Head commit of repository gentoo: 9db1a647c1f77224b2191d858075c6d7c970c0b7 Head commit of repository brother-overlay: 9ccba5d7c9fde9fdcb08e17695d25c3737089b71 sh bash 5.0_p17 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] app-shells/bash: 5.0_p17::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo dev-util/cmake: 3.16.5::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo, 9.3.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 IansOverlay location: /usr/local/portage masters: gentoo localrepo location: /var/db/repos/localrepo masters: gentoo crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 mv location: /var/lib/layman/mv masters: gentoo priority: 50 brother-overlay location: /usr/local/portage/brother-overlay sync-type: git sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git masters: gentoo priority: 9999 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=ivybridge -O2 -pipe -mno-rdrnd -mno-aes" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" 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.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=ivybridge -O2 -pipe -mno-rdrnd -mno-aes" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox use rsync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo" LANG="en_AU.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" 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 --e xclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds emboss encode evo exif flac fortran gdbm gif gnome gnome-key ring gnome-online-accounts gpm gstreamer gtk iconv icu introspection ipv6 jpeg lcms ldap libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl o gg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 vh ost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 avx f16c pclmul popcnt sse3 sse4_1 s se4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 r tcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 m txorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SI NGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan lengt h2 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Okay, this did build in the end with '-no-feature-rdrnd'added to src_config and then: emerge -1 qtcore qtgui -a >>> Installing (2 of 2) dev-qt/qtgui-5.14.2-r1::localrepo * Regenerating gentoo-qconfig.h * Updating QT_CONFIG in qconfig.pri * Updating QT.global_private in qmodule.pri >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. So the reason why this is happening is interesting. Qt has its own internal code to determine CPU capabilities of the Qt compiler and the system. These CPU capability checks are sort of a parallel implementation of what is done by the kernel and what populates /proc/cpuinfo. Qt is determining that your system has the rdrand instruction, so it is using it. However, your CPU is not advertising rdrand support in /proc/cpuinfo. This confirms my suspicion that Qt's detection of CPU features isn't as reliable or thorough as what is in the Linux kernel. We are running into a similar issue in Funtoo with AMD excavator CPUs -- which are also not advertising rdrand -- but it's sort of the reverse problem -- rdrand instruction *is* available but not 'advertised' by the kernel due to a hardware bug mitigation in the kernel. If you are interested in following that wild goose chase, the Funtoo bug is https://bugs.funtoo.org/browse/FL-8598 . A good fix for this is probably to directly check for the CPU feature rdrand in CPU_FLAGS_X86 -- and if it's not enabled there -- then explicitly set '-no-feature-rdrnd' to explicitly disable rdrand. This probably also indicates that some investigation should be paid to Qt's discovery of CPU features and whether they align with CPU_FLAGS_* in Gentoo/Funtoo -- as if the kernel/distro/qt are getting different interpretations of settings or reading from different places -- in particular looking at the *current CPU* rather than *what CPU features Portage is telling Qt to use* then this can easily result in other bad bugs. It's also interesting that you are explicitly specifying -mno-rdrnd in CXXFLAGS and qt is still using this instruction that you are trying to tell the compiler to explicitly not use. I think this is because Qt has its own preprocessor and compiler and mechanism to determine CPU features, and direct CXXFLAGS may never propagate to the actual build, at the very least those related to CPU features. This raises additional concern about Qt not respecting /proc/cpuinfo or CPU_FLAGS_* variables. have you tried gcc-11? I think we should probably handle this like bug 648004 (at the same time) - add CPU_FLAGS_RDRND to IUSE, if it's off, pass -no-feature-*. It's not ideal given the flag will get added to some packages which might not(?) use it but it is what it is. Same problem. As said in comment: (In reply to Daniel Robbins from comment #7) Problem with detected -march because CFLAGS, CXXFLAGS or LDFLAGS was lost. Here is my make.conf: - COMMON_FLAGS="-O2 -pipe -march=ivybridge" gcc -v . 2>&1 | grep mar: - COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64' '-dumpdir' 'a.' Maybe problem is here? grep -Rin CXX /var/tmp/portage/dev-qt/qtgui-5.15.2-r16 | grep -v temp/build.log: - temp/environment:2521: : ${BUILD_CXXFLAGS:=-O1 -pipe}; - temp/environment:2526: : ${BUILD_CXXFLAGS:=${CXXFLAGS}}; - temp/environment:2530: export BUILD_{C,CXX,CPP,LD}FLAGS; make.conf: - CPU_FLAGS_X86="avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" Build.log: - test config.qtbase_gui.libraries.x11sm succeeded - Done running configuration tests. - - Configure summary: - - Build type: linux-g++ (x86_64, CPU features: avx cx16 f16c fsgsbase mmx pclmul - popcnt rdrnd sse sse2 sse3 ssse3 sse4.1 sse4.2 sse4) - Compiler: gcc 11.2. Solved with: I add to /etc/portage/make.conf: - COMMON_FLAGS="-O2 -pipe -mno-rdrdnd -mno-aes -march=ivybridge" emerge --ask --oneshot qtcore qtgui Please test the changes in my linked upstream MR and report back. (the patch is for dev-qt/qtcore) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=64901fffffb2e1c54e908e6fd4bec693796a9d2c commit 64901fffffb2e1c54e908e6fd4bec693796a9d2c Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-01-01 18:36:37 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-01-01 18:44:50 +0000 qt5-build.eclass: qtbase: Bump _QT5_GENTOOPATCHSET_REV=5 for 5.15.12 New patches since _QT5_GENTOOPATCHSET_REV=4: Allan Sandfeld Jensen (3): Match deadcode elimination with cpu feature check Sync qt_scale_image_argb32_on_argb32_sse2 and qt_scale_image_32bit Avoid SSE2 punning Thiago Macieira (1): qsimd: Don't force RDRND on if __AVX2__ Ulf Hermann (1): Gui: Always declare qt_memfill{32|64} as function pointers on x86 See also: https://invent.kde.org/qt/qt/qtbase/-/merge_requests/295 https://invent.kde.org/qt/qt/qtbase/-/merge_requests/297 https://invent.kde.org/qt/qt/qtbase/-/merge_requests/298 Bug: https://bugs.gentoo.org/704392 Bug: https://bugs.gentoo.org/707390 Bug: https://bugs.gentoo.org/777480 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtconcurrent/Manifest | 2 +- dev-qt/qtcore/Manifest | 2 +- dev-qt/qtdbus/Manifest | 2 +- dev-qt/qtgui/Manifest | 2 +- dev-qt/qtnetwork/Manifest | 2 +- dev-qt/qtopengl/Manifest | 2 +- dev-qt/qtprintsupport/Manifest | 2 +- dev-qt/qtsql/Manifest | 2 +- dev-qt/qttest/Manifest | 2 +- dev-qt/qtwidgets/Manifest | 2 +- dev-qt/qtxml/Manifest | 2 +- eclass/qt5-build.eclass | 6 +++--- 12 files changed, 14 insertions(+), 14 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d44f11ea9871c91e111047e4ad5e2d00151e1fb9 commit d44f11ea9871c91e111047e4ad5e2d00151e1fb9 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-01-01 18:36:37 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-01-01 21:01:17 +0000 qt5-build.eclass: qtbase: Bump _QT5_GENTOOPATCHSET_REV=5 for 5.15.12 New patches since _QT5_GENTOOPATCHSET_REV=4: Allan Sandfeld Jensen (3): Match deadcode elimination with cpu feature check Sync qt_scale_image_argb32_on_argb32_sse2 and qt_scale_image_32bit Avoid SSE2 punning Thiago Macieira (1): qsimd: Don't force RDRND on if __AVX2__ Ulf Hermann (1): Gui: Always declare qt_memfill{32|64} as function pointers on x86 See also: https://invent.kde.org/qt/qt/qtbase/-/merge_requests/295 https://invent.kde.org/qt/qt/qtbase/-/merge_requests/297 https://invent.kde.org/qt/qt/qtbase/-/merge_requests/298 Bug: https://bugs.gentoo.org/704392 Bug: https://bugs.gentoo.org/707390 Bug: https://bugs.gentoo.org/777480 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/qt5-build.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Created attachment 883879 [details]
build.log.xz (amd64 musl/clang, 5.15.12)
My ThinkPad A275 (AMD PRO A12-8830B) is still affected (musl/clang system).
Build fails with "-Os -march=bdver4 -pipe", builds ok with "-Os -march=bdver3 -pipe".
bdver4 encompasses AVX2 whereas bdver3 does not. Both cpu architectures got no rdrand instruction.
# 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
BIOS Vendor ID: AMD
Model name: AMD PRO A12-8830B R7, 10 COMPUTE CORES 4C+6G
BIOS Model name: AMD PRO A12-8830B R7, 10 COMPUTE CORES 4C+6G CPU @ 2.5GHz
BIOS CPU family: 72
CPU family: 21
Model: 101
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Stepping: 1
Frequency boost: enabled
CPU(s) scaling MHz: 86%
CPU max MHz: 2500.0000
CPU min MHz: 1300.0000
BogoMIPS: 4992.59
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr ss
e sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl
nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_
2 movbe popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misal
ignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_co
re perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd ibpb vmmcall fsgsbase bmi1 avx2 smep bmi
2 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists
pausefilter pfthreshold avic vgif overflow_recov
Virtualization features:
Virtualization: AMD-V
Caches (sum of all):
L1d: 128 KiB (4 instances)
L1i: 192 KiB (2 instances)
L2: 2 MiB (2 instances)
Vulnerabilities:
Gather data sampling: Not affected
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 rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines, IBPB conditional, STIBP disabled, RSB filling, PBRSB-eIBRS Not affe
cted
Srbds: Not affected
Tsx async abort: Not affected
Created attachment 883880 [details]
emerge --info (amd64 musl/clang)
|