[PATCH v2] kselftest/arm64: Fix build failure with GCC-15

Mark Brown broonie at kernel.org
Fri Apr 24 10:09:01 PDT 2026


On Fri, Apr 24, 2026 at 05:44:16PM +0100, Catalin Marinas wrote:

> OK, so it does look like it picks the kernel uapi/asm/ptrace.h. It
> builds fine on Debian stable (no GCS anywhere) with including
> asm/ptrace.h and removing struct user_gcs.

> But I think we should include asm/ptrace.h in libc-gcs.h and not the
> gcs-util.h header (for NT_ARM_GCS it's fine to keep in gcs-util.h).

It's not glibc specific so it seems reasonable to keep it in gcs-util.h,
even though we don't currently have any nolibc stuff that uses ptrace.
That said this isn't particularly strongly held opinion so I don't
*really* mind either way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260424/bf69409d/attachment-0001.sig>


More information about the linux-arm-kernel mailing list