Skip to content

chore: update to xpack arm-none-eabi-gcc v15.2.1-1.1#2983

Closed
fpistm wants to merge 1 commit into
stm32duino:mainfrom
fpistm:xpack-gcc-15
Closed

chore: update to xpack arm-none-eabi-gcc v15.2.1-1.1#2983
fpistm wants to merge 1 commit into
stm32duino:mainfrom
fpistm:xpack-gcc-15

Conversation

@fpistm
Copy link
Copy Markdown
Member

@fpistm fpistm commented May 27, 2026

@fpistm fpistm added this to the 3.0.0 milestone May 27, 2026
@fpistm fpistm added the enhancement New feature or request label May 27, 2026
@fpistm fpistm added the fix 🩹 Bug fix label May 27, 2026
@fpistm
Copy link
Copy Markdown
Member Author

fpistm commented May 28, 2026

Seems this new version of gcc introduces a regression. gcc crash due to a segmentation fault.

|  7/462   | BLACKPILL_F303CC                           |   failed   | 23.89 s |
during RTL pass: ce1
In file included from /github/home/.arduino15/packages/STMicroelectronics/tools/CMSIS_DSP/1.17.0/Include/../Source/BasicMathFunctions/BasicMathFunctions.c:32,
                 from /github/home/.arduino15/packages/STMicroelectronics/hardware/stm32/3.0.0-dev/libraries/CMSIS_DSP/src/BasicMathFunctions/BasicMathFunctions.c:1:
/github/home/.arduino15/packages/STMicroelectronics/tools/CMSIS_DSP/1.17.0/Include/../Source/BasicMathFunctions/arm_abs_q31.c: In function 'arm_abs_q31':
/github/home/.arduino15/packages/STMicroelectronics/tools/CMSIS_DSP/1.17.0/Include/../Source/BasicMathFunctions/arm_abs_q31.c:206:1: internal compiler error: Segmentation fault
  206 | }
      | ^
0x1b8ae85 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)
	???:0
0x1b9ae9f internal_error(char const*, ...)
	???:0
0x929c10 copy_to_mode_reg(machine_mode, rtx_def*)
	???:0
0xbd3b86 maybe_legitimize_operands(insn_code, unsigned int, unsigned int, expand_operand*)
	???:0
0xbd0f19 maybe_gen_insn(insn_code, unsigned int, expand_operand*)
	???:0
0xbd3000 emit_conditional_move(rtx_def*, rtx_comparison, rtx_def*, rtx_def*, machine_mode, int)
	???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

So I will keep the current version and investigate later on this issue. It seems this error is already reported at gcc side.

@fpistm fpistm closed this May 28, 2026
@github-project-automation github-project-automation Bot moved this from In progress to Done in STM32 core based on ST HAL May 28, 2026
@fpistm fpistm added the abandoned No more work on this label May 28, 2026
@ilg-ul
Copy link
Copy Markdown

ilg-ul commented May 28, 2026

Unless you are pretty certain this is a known bug, I suggest you open a ticket to Arm GCC / GCC, to be sure the issue is addressed in future releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

abandoned No more work on this enhancement New feature or request fix 🩹 Bug fix

Projects

Development

Successfully merging this pull request may close these issues.

2 participants