Attempting to build u-boot/TFA and crust with GCC 13 for pinebook OG fails with the following error due to fatal-warnings linker flag:
CC build/scp/drivers/regulator/regulator.o
CC build/scp/drivers/regulator/axp20x.o
CC build/scp/drivers/regulator/axp803.o
CC build/scp/drivers/watchdog/watchdog.o
CC build/scp/drivers/watchdog/sun6i-a31-wdt.o
CC build/scp/lib/bitfield.o
AR build/scp/lib.a
LD build/scp/scp.elf
/usr/libexec/gcc/or1k-linux-musl/ld: warning: build/scp/arch/or1k/start.o: missing .note.GNU-stack section implies executable stack
/usr/libexec/gcc/or1k-linux-musl/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
collect2: error: ld returned 1 exit status
make: *** [Makefile:201: build/scp/scp.elf] Error 1
Attempting to build u-boot/TFA and crust with GCC 13 for pinebook OG fails with the following error due to fatal-warnings linker flag:
Versions:
ade7ad3
v2.9
v2023.04