Files
kernel-agent/patches/arch/arm64
claude-noether 989b8842fb patches/arch/arm64/xor-neon-...: append git-format-patch trailer
The SCS-build-fix patch was missing the standard '-- \n2.54.0\n'
trailer that git format-patch emits between patches. Without it,
BSD-flavour patch(1) in makepkg's prepare() reads the trailing context
line of the @@ hunk as the start of a new patch header and dies with
'malformed patch at line N'. Affects builds where ka-promote
concatenates this series with any others. Reproduced 2026-05-18 on
the first attempted ohm pkgrel=4 build.

Cumulative b2sum changes accordingly:
  a807297b25be... -> bd42cd39106298879eeb...
(size 157446 -> 157458; 12 bytes for the trailer)
2026-05-18 16:52:46 +02:00
..

patches/arch/arm64/

Cross-cutting patches that touch arch/arm64/Kconfig or other non-board-specific arch-level files. Apply only where explicitly manifested.

Patches

0006-arm64-Kconfig-do-not-select-HAVE_GCC_PLUGINS.patch

Local-build workaround that makes arch/arm64 not select HAVE_GCC_PLUGINS. NOT for upstream — it papers over a missing host-side GCC plugin dependency at build time rather than fixing the makepkg/distro packaging that should provide gcc-plugin-devel (or equivalent) when needed.

Used on ampere when building the kernel from a clean Arch ARM userspace that doesn't have the gcc plugins development headers installed. The proper fix is to install the headers; this patch is a fallback for when the user wants a working kernel without touching the userspace package set.

Source: github.com/marfrit/misc_patches/genbook/kernel/0006 Author: Markus Fritsche