Bug 2341963

Summary: ICE on aarch64 in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276
Product: [Fedora] Fedora Reporter: Stepan Broz <sbroz>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmalcolm, fweimer, jakub, jlaw, josmyers, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: gcc-15.0.1-0.5.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-01 13:34:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2340072    

Description Stepan Broz 2025-01-24 16:24:29 UTC
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.

Comment 1 Dave Malcolm 2025-01-24 16:34:08 UTC
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.

Comment 2 Stepan Broz 2025-01-24 17:00:08 UTC
Issue is aarch64 specific, all other arches build fine:

https://koji.fedoraproject.org/koji/taskinfo?taskID=128432865