Created attachment 888741 [details] gcc-build-logs after runned merge-usr and switch to default/linux/amd64/23.0/desktop/plasma profile, sys-devel/gcc fail to build
emerge --info '=sys-devel/gcc-13.2.1_p20240210::gentoo Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.39-r2, 6.8.1-multi x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.8.1-multi-x86_64-13th_Gen_Intel-R-_Core-TM-_i9-13900H-with-glibc2.39 KiB Mem: 32495988 total, 19421468 free KiB Swap: 33554428 total, 33554428 free Timestamp of repository gentoo: Wed, 27 Mar 2024 00:15:00 +0000 Head commit of repository gentoo: f2059605a643678ff4c26bd8104140281360c47a Head commit of repository gentoo-multi: cc5cc506ca95ff6622ca319635cafa8231c5179c Timestamp of repository gentoo-zh: Tue, 26 Mar 2024 15:18:29 +0000 Head commit of repository gentoo-zh: a2aac22e26bb440713d9d45c174f1a03e63ef81c Timestamp of repository guru: Mon, 25 Mar 2024 23:33:26 +0000 Head commit of repository guru: d62fc7d95539bbd045f490eb818e55e6aa47090b sh bash 5.2_p26 ld GNU ld (Gentoo 2.42 p3) 2.42.0 ccache version 4.9.1 [enabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.29.0::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.0-r1::gentoo dev-lang/perl: 5.38.2-r2::gentoo dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo dev-lang/rust-bin: 1.76.0::gentoo dev-util/ccache: 4.9.1-r1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.53::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo, 18.1.2::gentoo sys-devel/gcc: 13.2.1_p20240210::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo, 18.1.2::gentoo sys-kernel/linux-headers: 6.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-max-age: 3 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: gentoo-multi location: /var/db/repos/gentoo-multi sync-type: git sync-uri: https://gitee.com/dawn-xu/gentoo-multi masters: gentoo volatile: False gentoo-zh location: /var/db/repos/gentoo-zh sync-type: git sync-uri: https://ghproxy.net/https://github.com/gentoo-mirror/gentoo-zh.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://ghproxy.net/https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" AR="llvm-ar" CBUILD="x86_64-pc-linux-gnu" CC="clang" CFLAGS="-O2 -pipe -march=native -mtune=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /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" CXX="clang++" CXXFLAGS="-O2 -pipe -march=native -mtune=native" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe -march=native -mtune=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -mtune=native" GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo" LANG="zh_CN.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS=" -j15" NM="llvm-nm" 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" RANLIB="llvm-ranlib" SHELL="/bin/zsh" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif fbcon flac flatpak gdbm gif gles2 gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="zh zh-CN en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= sys-devel/gcc-13.2.1_p20240210::gentoo was built with the following: USE="(cxx) fortran (multilib) nls openmp (pie) sanitize ssp -ada -cet (-custom-cflags) -d -debug (-default-stack-clash-protection) (-default-znow) -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv -zstd" ABI_X86="(64)" CFLAGS="-pipe -march=native -mtune=native -O2" CXXFLAGS="-pipe -march=native -mtune=native -O2" FEATURES="buildpkg-live binpkg-multi-instance usersync assume-digests config-protect-if-modified news binpkg-logs ccache xattr binpkg-dostrip usersandbox ipc-sandbox userpriv sandbox unmerge-logs unknown-features-warn binpkg-docompress pid-sandbox pkgdir-index-trusted distlocks merge-sync preserve-libs qa-unresolved-soname-deps userfetch fixlafiles ebuild-locks unmerge-orphans multilib-strict protect-owned parallel-fetch network-sandbox sfperms strict" LDFLAGS="-Wl,-O1 -Wl,--as-needed"
[Dup 909060, only different gcc patch (mine is same as this ticket).] Me Too. Switching from 17.1 to 23.0, only still split usr. No binhost. Also attaching diff'd files. (I'm adding here rather than 909060 since this bug rpt dscr is clearly not "unstable".) Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr, gcc-13, glibc-2.39-r6, 6.8.0-20240326a x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.8.0-20240326a-x86_64-Intel-R-_Core-TM-_i5-3570_CPU_@_3.40GHz-with-glibc2.39 KiB Mem: 16327572 total, 2820052 free KiB Swap: 15728636 total, 15728636 free Timestamp of repository gentoo: Sun, 26 May 2024 01:03:44 +0000 Head commit of repository gentoo: c300b8ce68856f4cbe078b5b56b1c220e329d6ab Timestamp of repository bitcoin: Fri, 24 May 2024 03:18:39 +0000 Head commit of repository bitcoin: c1b307d7679e5a494480f0f5b5f0b105e8a3d1d3 Timestamp of repository lisp: Tue, 09 Apr 2024 20:33:32 +0000 Head commit of repository lisp: fa9071a52fa0756b17e8e5c50915c436a33ee36f sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.0-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r3::gentoo dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo dev-lang/rust: 1.77.1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20240210::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False bitcoin location: /var/db/repos/bitcoin sync-type: git sync-uri: https://github.com/gentoo-mirror/bitcoin.git masters: gentoo volatile: False lisp location: /var/db/repos/lisp sync-type: git sync-uri: https://github.com/gentoo-mirror/lisp.git masters: gentoo volatile: False localrepo location: /usr/local/portage masters: gentoo volatile: True crossdev location: /var/db/repos/crossdev masters: gentoo priority: 10 volatile: False ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /var/bind" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://gentoo.osuosl.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j2" 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" SHELL="/bin/bash" USE="X acl aio amd64 bzip2 caps cet crypt dbus elogind evdev expat gdbm gssapi iconv icu idn introspection ipv6 jack kerberos libev libsamplerate libsndfile libtirpc lm_sensors lvm multilib ncurses nfsv3 nfsv4 nfsv41 ocaml ocamlopt openmp pam pcre readline rls sdl seccomp speex split-usr ssl test-rust threads udev unicode viden_cards_intel wayland xattr zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 aes avx f16c pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AArch64 AMDGPU ARM BPF WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy i915 i965 r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= sys-devel/gcc-13.2.1_p20240210::gentoo was built with the following: USE="(cxx) fortran jit (multilib) openmp (pie) sanitize ssp -ada -cet (-custom-cflags) -d -debug (-default-stack-clash-protection) (-default-znow) -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) (-libssp) -lto -modula2 -nls -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv -zstd" ABI_X86="(64)" CFLAGS="-pipe -O2" CXXFLAGS="-pipe -O2" FEATURES="protect-owned ebuild-locks binpkg-dostrip pkgdir-index-trusted binpkg-docompress news sandbox usersandbox fixlafiles merge-wait config-protect-if-modified qa-unresolved-soname-deps unmerge-logs unknown-features-warn network-sandbox strict sfperms binpkg-logs ipc-sandbox pid-sandbox merge-sync distlocks userpriv userfetch buildpkg-live preserve-libs multilib-strict buildpkg assume-digests parallel-fetch xattr unmerge-orphans usersync" LDFLAGS="-Wl,-O1 -Wl,--as-needed"
Created attachment 894439 [details] Build log
OP was/is on a hybrid Intel CPU which makes it a dupe of bug 904426. Please file your own bug with your logs because it's not just about version, these issues can happen for a range of reasons and it's easier to analyse individually. *** This bug has been marked as a duplicate of bug 904426 ***