Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB 17 build failure with musl
@ 2026-01-26  6:29 Chris Packham via Gdb
  2026-01-26  6:55 ` Andrew Pinski via Gdb
  2026-02-03  3:10 ` Thiago Jung Bauermann via Gdb
  0 siblings, 2 replies; 7+ messages in thread
From: Chris Packham via Gdb @ 2026-01-26  6:29 UTC (permalink / raw)
  To: GDB Mailing list

Hi GDB,

I've just updated crosstool-ng to include gdb 17.1 and the aarch64
musl toolchain fails with

[ERROR]    /home/runner/work/crosstool-ng/crosstool-ng/.build/aarch64-unknown-linux-musl/src/gdb/gdbserver/../gdb/arch/aarch64-gcs-linux.h:35:8:
error: redefinition of 'struct user_gcs'
[ALL  ]       35 | struct user_gcs
[ALL  ]          |        ^~~~~~~~
[ALL  ]    In file included from
/home/runner/work/crosstool-ng/crosstool-ng/.build/aarch64-unknown-linux-musl/src/gdb/gdbserver/linux-aarch64-low.cc:35:
[ALL  ]    /home/runner/work/crosstool-ng/crosstool-ng/x-tools/aarch64-unknown-linux-musl/aarch64-unknown-linux-musl/sysroot/usr/include/asm/ptrace.h:329:8:
note: previous definition of 'struct user_gcs'
[ALL  ]      329 | struct user_gcs {
[ALL  ]          |        ^~~~~~~~

Does this ring any bells for anyone? Builds with gdb 16.3 are fine.

Thanks,
Chris

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-05  0:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-26  6:29 GDB 17 build failure with musl Chris Packham via Gdb
2026-01-26  6:55 ` Andrew Pinski via Gdb
2026-01-26  7:31   ` Chris Packham via Gdb
2026-02-03  3:10 ` Thiago Jung Bauermann via Gdb
2026-02-03 21:56   ` Chris Packham via Gdb
2026-02-04  4:11     ` Thiago Jung Bauermann via Gdb
2026-02-05  0:35       ` Chris Packham via Gdb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox