Do not fail EFI build with newer binutils
authorMichael Biebl <biebl@debian.org>
Wed, 22 Jun 2022 11:11:13 +0000 (13:11 +0200)
committerMichael Biebl <biebl@debian.org>
Wed, 13 Jul 2022 21:05:40 +0000 (22:05 +0100)
commitd199407459892d8f2c8d1173b390f7e7b948e112
treeebb441da60bdf864b08023067aea6d2e708ff133
parent9e72d96e479c5c01254fa4f39151401254681c7d
Do not fail EFI build with newer binutils

Newer binutils versions currently trigger the following warnings due to
a bug in gnu-efi

on arm64:
/usr/bin/ld.bfd: warning: src/boot/efi/systemd-bootaa64.elf has a LOAD segment with RWX permissions

on amd64:
/usr/bin/ld.bfd: warning: /usr/lib/crt0-efi-x86_64.o: missing .note.GNU-stack section implies executable stack

This results in a build failure due to --fatal-warnings.
Work around this issue by suppressing those warnings until gnu-efi has
been fixed.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013341

Gbp-Pq: Topic debian
Gbp-Pq: Name Do-not-fail-EFI-build-with-newer-binutils.patch
src/boot/efi/meson.build