https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122145
Bug ID: 122145
Summary: Internal compiler error (ICE) while building for
armv7/cortex-a15 target.
Product: gcc
Version: 14.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sundeep.kokkonda at gmail dot com
Target Milestone: ---
Created attachment 62488
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62488&action=edit
ICE errors
ICE occurs during cross-compilation in Yocto-based environment when building
the following packages.
Error1 - lftp package error:
{standard input}: Assembler messages:
{standard input}:10081: Warning: end of file not at end of a line; newline
inserted
{standard input}:10455: Error: unknown pseudo-op: `.'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc
directive
<<...>>>
during GIMPLE pass: waccess
./lftp-4.9.2/src/FileCopy.cc: In member function 'void
FileCopy::LineBuffered(int)':
./lftp-4.9.2/src/FileCopy.cc:503:6: internal compiler error: Segmentation fault
503 | void FileCopy::LineBuffered(int s)
| ^~~~~~~~
arm-wrs-linux-gnueabi-g++: internal compiler error: Segmentation fault signal
terminated program cc1plus
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Error2 - gstreamer package error:
{standard input}: Assembler messages:
{standard input}:351499: Internal error in frag_new at ././gas/frags.c:165.
Please report this bug.
Error3 - lxc package error:
during RTL pass: dse1
../git/src/lxc/string_utils.c: In function 'lxc_char_left_gc':
../git/src/lxc/string_utils.c:969:1: internal compiler error: Segmentation
fault
969 | }
| ^
0x1984a98 internal_error(char const*, ...)
???:0
0x79dd39 bitmap_set_bit(bitmap_head*, int)
???:0
0x82fa81 df_analyze_problem(dataflow*, bitmap_head*, int*, int)
???:0
GCC Version used - arm-wrs-linux-gnueabi-gcc (GCC) 14.3.0 & Cross-compiled for
targets armv7at2hf-neon-wrs-linux-gnueabi, cortexa15t2hf-neon-wrs-linux-gnueabi
ICEs occur in a Yocto-based cross compilation setup and full build logs are
attached.
We've seen above listed 3 ICE errors and unable to reproduce them to produce
full bug with -freport-bug option. And so we've shared the failure logs
available so far.