[Buildroot] [PATCH v1 1/1] board/zynqmp: fix atf build failure

Luca Ceresoli luca.ceresoli at bootlin.com
Mon Jul 31 12:11:20 UTC 2023


Hi Neal,

On Mon, 31 Jul 2023 07:11:13 +0100
Neal Frager <neal.frager at amd.com> wrote:

> Binutils 2.39 now warns when a segment has RXW permissions[1]:
> 
> aarch64-buildroot-linux-gnu-ld: bl31.elf has a LOAD segment with RWX
> permissions
> 
> There is a ticket filed upstream[2], so until that is resolved just
> disable the warning
> 
> [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
> [2] https://developer.trustedfirmware.org/T996
> 
> Fixes: https://developer.trustedfirmware.org/T996
> Signed-off-by: Neal Frager <neal.frager at amd.com>

Despite being a warning, it does actually break the build.

[Build-tested on zynqmp_kria_kv260_defconfig]
Tested-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli at bootlin.com>

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list