2026-03-05 1:20 AM - edited 2026-03-05 2:03 AM
Hi ST team,
I am using X-CUBE-SBSFU V2.8.0, project:
Problem
However , Then i shifted to 13.3 tool chain , then everything works fine for me.
Please confirm whether this is a known GCC 14.3 compatibility issue for SBSFU v2.8.0 key generation. If yes, could you share an official patch for prebuild.sh / key assembly generation so generated key symbols are fully compatible with newer GNU/binutils?
2026-03-09 3:57 PM
Hello @Vinay_Shirol ,
I can reproduce your issue with latest STM32CubeIDE 2.1.0 pulling GCC 14.3
I could find a temporary workaround:
1) disable the prebuild adding a # in front of the prebuild.sh in build steps
2) Edit se_keys.s
Replace
.section .SE_Key_Data,"a",%progbits
by
.section .SE_Key_Data,"ax",%progbits
replace
.global SE_ReadKey_1
SE_ReadKey_1:
by
.global SE_ReadKey_1
.thumb_func
SE_ReadKey_1:
and same for SE_ReadKey_1_Pub:
As least link is ok. But didn't check more
Best would be to fix prepareimage.py
Will ask for this fix.
Best regards
Jocelyn
2026-03-10 9:11 PM - edited 2026-03-10 11:17 PM
Thanks @Jocelyn RICARD ,
I will try these changes and update here.