Index: kernel/meson.build
===================================================================
--- kernel/meson.build	(revision 851b842dc20694831c19601ed4e12cc15dbd8d4a)
+++ kernel/meson.build	(revision 9fc58e32af670fae014980651086ee4bccd4836b)
@@ -87,4 +87,7 @@
 kernel_link_args = arch_kernel_link_args + [
 	'-Wl,--nmagic',
+	# The kernel is built as ELF but then copied as a blob of bytes and
+	# the permissions are not relevant anyway (needed for binutils 2.39+).
+	'-Wl,--no-warn-rwx-segments',
 	'-T', meson.current_build_dir() / '_link.ld',
 ]
