https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012
--- Comment #20 from Levi Zim <rsworktech at outlook dot com> --- I have minified it to the following commands: git -C gcc checkout 1cd744a6828f6ab9179906d16434ea40b6404737 mkdir gcc-build && cd $_ export CFLAGS="-march=rv64gc -mabi=lp64d -O2 -Wp,-D_FORTIFY_SOURCE=3 -g -ffile-prefix-map=/build/gcc/src=/usr/src/debug/gcc" export CXXFLAGS="$CFLAGS" ../gcc/configure --prefix=/usr --enable-bootstrap \ --with-build-config=bootstrap-lto \ --enable-languages=c,c++,lto,rust \ --enable-checking=release --enable-lto \ --disable-multilib --enable-plugin \ --enable-shared --disable-libssp \ --disable-libstdcxx-pch make -O STAGE1_CFLAGS="-O2" BOOT_CFLAGS="$CFLAGS" bootstrap But still, I cannot reproduce it outside of packaging chroot. I am still trying to figure out what difference plays a role in it.