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

"Arnd Bergmann" <[email protected]> Fri, 27 Feb 2026 10:18:41 +0100
Newsgroups org.kernel.vger.linux-hexagon,org.kernel.vger.linux-kbuild,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]>

Nice work!

Acked-by: Arnd Bergmann <[email protected]>

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