Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932789 - sys-devel/gcc-13.2.1_p20240210 bootstrap comparison failure after profile switch
Summary: sys-devel/gcc-13.2.1_p20240210 bootstrap comparison failure after profile switch
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-26 12:53 UTC by Michael South
Modified: 2024-05-29 02:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (gcc-build-logs.tar.xz,261.79 KB, application/x-xz)
2024-05-26 13:16 UTC, Michael South
Details
stage2-gcc/insn-recog.o (insn-recog.o.xz,583.10 KB, application/x-xz)
2024-05-26 13:33 UTC, Michael South
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael South 2024-05-26 12:53:44 UTC
17.1 -> 23.0. Still split-usr. No binhost. Following update instructions closely. Binutils step completed sucessfully.

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"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-26 13:14:50 UTC
Please include the log tarball too which the ebuild makes. We'll also need some more files but I can't say which until I see that. Thank you!
Comment 2 Michael South 2024-05-26 13:16:56 UTC
Created attachment 894441 [details]
Build log

Complaining stage2/3-gcc/insn-recog.o differ.
Comment 3 Michael South 2024-05-26 13:24:08 UTC
Single bit flip--diff of hexdump of the two files:

$ diff stage2-gcc/*.hex stage3-gcc/*.hex
33521c33521
< 00082f00  00 00 04 75 04 48 8b 7f  08 e8 00 00 00 00 85 c0  |...u.H..........|
---
> 00082f00  00 00 04 75 04 48 8b 7f  08 e8 40 00 00 00 85 c0  |...u.H....@.....|
Comment 4 Michael South 2024-05-26 13:33:04 UTC
Created attachment 894443 [details]
stage2-gcc/insn-recog.o
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-26 13:39:36 UTC
Oh dear. Consider a memtest?
Comment 6 Michael South 2024-05-26 15:10:20 UTC
Yeah, I was just about to add a comment "don't work too hard on this one". No ECC in the build machine. Thx.