Bug#1013341: /usr/bin/ld.bfd: warning: /usr/lib/crt0-efi-x86_64.o: missing .note.GNU-stack section implies executable stack
Michael Biebl
biebl at debian.org
Wed Jun 22 11:47:34 BST 2022
Am 22.06.22 um 11:49 schrieb Julien Cristau:
> On Wed, Jun 22, 2022 at 10:50:48AM +0200, Michael Biebl wrote:
>> Marking as RC, as it causes a FTBFS
>>
> Not using -Wl,--fatal-warnings might be a workaround for systemd until
> gnu-efi fixes this?
Yeah, I'll probably add a workaround like
diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build
index 52e2a71a7c..18311ede25 100644
--- a/src/boot/efi/meson.build
+++ b/src/boot/efi/meson.build
@@ -251,6 +251,8 @@ efi_ldflags = [
'-L', efi_libdir,
'-nostdlib',
'-T', efi_lds,
+ '-Wl,--no-warn-execstack',
+ '-Wl,--no-warn-rwx-segments',
'-Wl,--build-id=sha1',
'-Wl,--fatal-warnings',
'-Wl,--no-undefined',
to systemd for the time being.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220622/096e90f3/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list