Bug 2341963 - ICE on aarch64 in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276
Summary: ICE on aarch64 in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2340072
TreeView+ depends on / blocked
 
Reported: 2025-01-24 16:24 UTC by Stepan Broz
Modified: 2025-02-01 13:34 UTC (History)
13 users (show)

Fixed In Version: gcc-15.0.1-0.5.fc42
Clone Of:
Environment:
Last Closed: 2025-02-01 13:34:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 118429 0 P1 NEW [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276) s... 2025-01-24 16:34:08 UTC

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


Note You need to log in before you can comment on or make changes to this bug.