public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Build failure on x32 (gdb 11.1)
@ 2021-11-21 19:45 Jan Palus
  0 siblings, 0 replies; only message in thread
From: Jan Palus @ 2021-11-21 19:45 UTC (permalink / raw)
  To: gdb

gdb 11.1 fails during compilation on x32 ABI:

../.././gdbserver/../gdb/nat/amd64-linux-siginfo.c:280:42: error: 'struct compat_x32_siginfo_t::<unnamed union>::<unnamed>' has no member named 'si_addr_bnd'
280 | #define cpt_si_lower _sifields._sigfault.si_addr_bnd._lower
| ^~~~~~~~~~~
../.././gdbserver/../gdb/nat/amd64-linux-siginfo.c:337:38: note: in expansion of macro 'cpt_si_lower'
337 | to->cpt_si_lower = from_ptrace.cpt_si_lower;
| ^~~~~~~~~~~~
../.././gdbserver/../gdb/nat/amd64-linux-siginfo.c:281:42: error: 'struct compat_x32_siginfo_t::<unnamed union>::<unnamed>' has no member named 'si_addr_bnd'
281 | #define cpt_si_upper _sifields._sigfault.si_addr_bnd._upper
| ^~~~~~~~~~~
../.././gdbserver/../gdb/nat/amd64-linux-siginfo.c:338:38: note: in expansion of macro 'cpt_si_upper'
338 | to->cpt_si_upper = from_ptrace.cpt_si_upper;
| ^~~~~~~~~~~~

I believe it is caused by https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=d3d7d1b

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-21 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-21 19:45 Build failure on x32 (gdb 11.1) Jan Palus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).