binutils 2.44 and GCC 15.1.0 - dangerous relocation: unsupported relocation error when trying to build U-Boot

Hello Community!

I have freshly built the new version from GCC (15.1.0) and binutils (2.44) for arm-none-eabi targets. Have tried to build U-Boot for STM32H743 (ARMv7-m), but running into an issue when linking U-Boot:

Fullscreen
1
2
3
4
5
6
7
8
9
10
[...]
LD u-boot
arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm-none-eabi-ld.bfd: arch/arm/cpu/armv7m/start.o(c_runtime_cpu_setup): Unknown destination type (ARM/Thumb) in arch/arm/lib/crt0.o
arch/arm/lib/crt0.o: in function `_main':
/home/jk/Projects/U-Boot/src/arch/arm/lib/crt0.S:170:(.text+0x44): dangerous relocation: unsupported relocation
make[1]: *** [/home/jk/Projects/U-Boot/src/Makefile:1824: u-boot] Error 1
make[1]: Leaving directory '/home/jk/Projects/U-Boot/build'
make: *** [Makefile:177: sub-make] Error 2
$
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

By the way, with GCC 14.2.1 and binutils 2.43.1 the compilation is successful.

Has somebody noticed the same issue?

0