Every build newer than 2.32.0 breaks Reproducible: Always Steps to Reproduce: 1. Emerge any git version newer than 2.32.0 2. Try to pull any repository Actual Results: Action: sync for repo: gentoo, returned code = 2816 or error: fetch died of signal 11 Expected Results: Succesfull pull GieltjE2 ~ # emerge --sync >>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'... /usr/bin/git fetch origin !!! git fetch error in /var/db/repos/gentoo Action: sync for repo: gentoo, returned code = 2816 GieltjE2 ~ # cd /var/db/repos/gentoo GieltjE2 /var/db/repos/gentoo # git pull error: fetch died of signal 11 GieltjE2 /var/db/repos/gentoo # cd GieltjE2 ~ # git clone git://github.com/gentoo/gentoo.git Cloning into 'gentoo'... remote: Enumerating objects: 3182710, done. remote: Counting objects: 100% (25/25), done. remote: Compressing objects: 100% (18/18), done. remote: Total 3182710 (delta 7), reused 25 (delta 7), pack-reused 3182685 Receiving objects: 100% (3182710/3182710), 1.16 GiB | 5.71 MiB/s, done. Resolving deltas: 100% (1934468/1934468), done. Updating files: 100% (86327/86327), done. GieltjE2 ~ # cd gentoo/ GieltjE2 ~/gentoo # git pull error: fetch died of signal 11 Portage 3.0.22 (python 3.9.6-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-11.2.0, glibc-2.33-r7, 5.13.11-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-5.13.11-gentoo-x86_64-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-glibc2.33 KiB Mem: 16338228 total, 10112304 free KiB Swap: 0 total, 0 free Head commit of repository gentoo: 3dabba831c4f4ffe807b2731de0930f69facccec sh bash 5.1_p8 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p8::gentoo dev-lang/perl: 5.34.0-r2::gentoo dev-lang/python: 3.8.11::gentoo, 3.9.6_p1::gentoo, 3.10.0_rc1_p1::gentoo dev-lang/rust: 1.54.0::gentoo dev-util/cmake: 3.21.1::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.69-r5::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.35.2::gentoo, 2.36.1-r2::gentoo, 2.37_p1::gentoo sys-devel/gcc: 11.2.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: git://github.com/gentoo/gentoo.git priority: -1000 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -flto=auto -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-nest-optimize -fgraphite-identity -ftree-vectorize -fuse-linker-plugin -fipa-pta -fno-semantic-interposition -fdevirtualize-at-ltrans" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -flto=auto -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-nest-optimize -fgraphite-identity -ftree-vectorize -fuse-linker-plugin -fipa-pta -fno-semantic-interposition -fdevirtualize-at-ltrans" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-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 usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-march=native -O2 -pipe -flto=auto -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-nest-optimize -fgraphite-identity -ftree-vectorize -fuse-linker-plugin -fipa-pta -fno-semantic-interposition -fdevirtualize-at-ltrans -fuse-linker-plugin" LINGUAS="en" 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="3dnow 3dnowext 64bit aio amd64 apache2 archive bash-completion bcmath boost btrfs bzip2 cli clipboard cpio cpudetection crypt csc ctype curl cxx dec_av dec_av2 declarative dedicated deflate dlz evdev exif extras fat filter fortran fpm ftp gd gdu git glib gmp graphite grub gudev gzip hardened hash hddtemp hsts http2 hwdb iconv icu idn igbinary imagemagick innodb iproute2 iptables ipv6 jemalloc json jumbo-build libglvnd libsysfs libtirpc libtrigger libwww lpsol lto lzma lzo mdadm mhash mime minizip mmap multiuser mysql mysqli ncurses nftables nls nptl nptlonly numpy ogm opcache openmp openssl pam pcre pcre16 pcre32 pdo perl php pie python qos qt5 rar readline redis regex rencode resolvconf samba sasl sctp seccomp server simplexml smbsharemodes sockets sound split-usr sql sqlite ssl ssp stream symlink sync-plugin-portage systemd sysv-utils taglib tcpd threads tls-heartbeat truetype udev unicode unzip upnp urandom vhosts vlm vncviewer webinterface webkit x509 xattr xcb xinetd xml xtables xtpax zip zlib zstd" 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="unixd http2 dir proxy proxy_wstunnel proxy_fcgi cache_disk proxy proxy_http unixd cgid actions alias auth_digest authn_anon authn_core authn_default authn_file authz_core authz_default authz_groupfile authz_host authz_owner authz_user cache deflate disk_cache env expires ext_filter file_cache filter headers ident include info log_config logio mem_cache negotiation rewrite setenvif so socache_shmcb status unique_id vhost_alias" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 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="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_8 python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Maybe caused by -fipa-pta? Known to break build of another package: https://bugs.gentoo.org/show_bug.cgi?id=789069
Ah, already reported to GCC Bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949
(Will fix rest of bug metadata at desktop.)
removing -fipa-pta fixes the bug so it's most likely the mentioned upstream issue.
(In reply to Michiel Hazelhof from comment #4) > removing -fipa-pta fixes the bug so it's most likely the mentioned upstream > issue. Please don't close bugs like this because we'll need to backport the GCC patch when it's available. It's also easier for folks to find it while open.
Sorry most projects don't like open upstream tickets.
(In reply to Michiel Hazelhof from comment #6) > Sorry most projects don't like open upstream tickets. No worries! Really appreciate you bringing this to our attention. We definitely need folks to let us know about bugs (especially for critical/core stuff) like this so we can keep an eye on the upstream bugs and bring the fixes to Gentoo users.