https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118008
Bug ID: 118008 Summary: [14/15 regression] ICE when bootstrapping with Go on arm (gen_movdi, at config/arm/arm.md:6296) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- When bootstrapping with Go on arm, I see: ``` libtool: compile: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/build/./gcc/gccgo -B/var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/build/./gcc/ -B/usr/armv7a-unknown-linux-gnueabihf/bin/ -B/usr/armv7a-unknown-linux-gnueabihf/lib/ -isystem /usr/armv7a-unknown-linux-gnueabihf/include -isystem /usr/armv7a-unknown-linux-gnueabihf/sys-include -fchecking=1 -O2 -g -I . -c -fgo-pkgpath=runtime/pprof /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/elf.go /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/label.go /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/map.go /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/pprof.go /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/pprof_rusage.go /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/proto.go /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/protobuf.go /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/protomem.go /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/runtime.go -o runtime/pprof.o during RTL pass: reload /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/protobuf.go: In function ‘runtime/pprof.protobuf.uint64s’: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/libgo/go/runtime/pprof/protobuf.go:33:1: internal compiler error: in gen_movdi, at config/arm/arm.md:6296 33 | func (b *protobuf) uint64s(tag int, x []uint64) { | ^ Please submit a full bug report, with preprocessed source (by using -freport-bug). See <https://bugs.gentoo.org/> for instructions. make[4]: *** [Makefile:3053: runtime/pprof.lo] Error 1 ``` 11/12/13 seem fine, not tried 15 yet. It's a new setup so I don't know if it worked any time recently in this environment. I don't yet know if gccgo was miscompiled but I'll try figure that out next. Hints welcome. --- ``` $ /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/build/./gcc/gccgo -v Using built-in specs. COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/build/./gcc/gccgo Target: armv7a-unknown-linux-gnueabihf Configured with: /var/tmp/portage/sys-devel/gcc-14.2.1_p20241207/work/gcc-14-20241207/configure --host=armv7a-unknown-linux-gnueabihf --build=armv7a-unknown-linux-gnueabihf --prefix=/usr --bindir=/usr/armv7a-unknown-linux-gnueabihf/gcc-bin/14 --includedir=/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/14/include --datadir=/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/14 --mandir=/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/14/man --infodir=/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/14/info --with-gxx-include-dir=/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/armv7a-unknown-linux-gnueabihf/14/python --enable-objc-gc --enable-languages=c,c++,d,go,objc,obj-c++,fortran,rust --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=yes,extra,rtl --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 14.2.1_p20241207 p6' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --with-float=hard --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.2.1 20241207 (Gentoo 14.2.1_p20241207 p6) ```