Hi Mathieu,
Thanks for the report.
I’ve checked the failure. It’s another musl-specific issue with the new AArch64 GCS support in GDB 17.1.
struct user_gcs is now provided by musl via <asm/ptrace.h>, while GDB still has its own fallback definition
in aarch64-gcs-linux.h, which causes the duplicate definition error.
in aarch64-gcs-linux.h, which causes the duplicate definition error.
GDB has guards around the fallback definition, but they don’t work correctly with musl’s header layout.
This does not happen with glibc due to different header inclusion behavior.
This does not happen with glibc due to different header inclusion behavior.
I’m working on a fix and will send an updated patch shortly.
Thanks,
Sunil
Sunil