https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119953
--- Comment #5 from Gabriel Marcano <gabemarcano at yahoo dot com> --- Oh, this may be relevant. This is the output of -v for the generated xgcc that reproduces the problem: # gcc/xgcc -v -B. -B gcc/ Reading specs from gcc/specs COLLECT_GCC=gcc/xgcc COLLECT_LTO_WRAPPER=gcc/lto-wrapper Target: msp430-none-elf Configured with: /var/tmp/portage/cross-msp430-none-elf/gcc-15.1.0/work/gcc-15.1.0/configure --host=x86_64-pc-linux-gnu --target=msp430-none-elf --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/msp430-none-elf/gcc-bin/15 --includedir=/usr/lib/gcc/msp430-none-elf/15/include --datadir=/usr/share/gcc-data/msp430-none-elf/15 --mandir=/usr/share/gcc-data/msp430-none-elf/15/man --infodir=/usr/share/gcc-data/msp430-none-elf/15/info --with-gxx-include-dir=/usr/lib/gcc/msp430-none-elf/15/include/g++-v15 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/msp430-none-elf/15/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 15.1.0 p1' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-poison-system-directories --disable-libstdcxx-time --with-sysroot=/usr/msp430-none-elf --disable-gcov --disable-bootstrap --with-newlib --enable-multilib --disable-fixed-point --disable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --without-isl --disable-libsanitizer --disable-default-pie --enable-host-pie --disable-host-bind-now --disable-default-ssp --disable-fixincludes --with-gxx-libcxx-include-dir=/usr/include/c++/v1 Thread model: single Supported LTO compression algorithms: zlib gcc version 15.1.0 (Gentoo 15.1.0 p1)