While compiling a source file from the dhcp project the compiler crashes with ICE: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -fcommon -I../includes -I/builddir/build/BUILD/dhcp-4.4.3-build/dhcp-4.4.3-P1/bind/include -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o svtest test.o libomapi.a /builddir/build/BUILD/dhcp-4.4.3-build/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/irs/libirs.a /builddir/build/BUILD/dhcp-4.4.3-build/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/libdns.a /builddir/build/BUILD/dhcp-4.4.3-build/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isccfg/libisccfg.a /builddir/build/BUILD/dhcp-4.4.3-build/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/libisc.a -lsystemd *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotations PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbols during RTL pass: ldp_fusion ../bind/bind-9.11.36/lib/dns/db.c: In function ‘dns_db_find’: ../bind/bind-9.11.36/lib/dns/db.c:562:1: internal compiler error: in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276 562 | } | ^ Please submit a full bug report, with preprocessed source. See <http://bugzilla.redhat.com/bugzilla> for instructions. koji scratch: https://koji.fedoraproject.org/koji/taskinfo?taskID=128430118 Reproducible: Always Does not reproduce in mockbuild on f40.
The error message matches this upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118429 though I don't know if it's the same issue as seen there.
Issue is aarch64 specific, all other arches build fine: https://koji.fedoraproject.org/koji/taskinfo?taskID=128432865