Re: [PATCH 0/9] kbuild: uapi: remove usage of toolchain headers

From: Arnd Bergmann

Date: Fri Feb 27 2026 - 04:23:45 EST


On Fri, Feb 27, 2026, at 07:37, Thomas Weißschuh wrote:
> Currently the test compilation of some UAPI headers requires a toolchain
> libc headers. Remove that dependency.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

Nice work!

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

I had toyed around with a similar series, using a slightly different
approach of always using the in-kernel nolibc headers, and making
those compile across all architectures (using empty stubs for those
that are missing syscall entry functions).

I don't care much which way we do this as long as we can build test
the headers, but I wonder what your reason was for picking this
approach over the other.

Arnd