Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Problems building GC 18.1 on CentOS 7
@ 2026-10-03 19:18 Tom Kacvinsky via Gdb
  2026-10-03 20:47 ` Tom Kacvinsky via Gdb
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tom Kacvinsky via Gdb @ 2026-10-03 19:18 UTC (permalink / raw)
  To: GDB

Hi,

I found a few issues with building GDB 18.1 on CentOS 7, using
GCC 16.1.0 (which I had built from source)  They are two fold

1. An issue with ./gdb/tui/tui-io.c using macro define(s) that the
system curses headers don't provide.

2. An issue with ptrace macro define(s) that are provided in glibc
2.18 or later, but not on CentOS 7, which is glibc 2.17 based.

I used Claude Opus 5 to generate a patch and manually inspected it.
I am not sure what the GDB policy is for AI assisted patches.

I will get the exact compilation failures and the patch to the list on
Monday.  To be honest, when it comes to the patch, I think I need to
be mindful that I am building on Linux (via __linux__), using GCC
(via __GNU__) and the glibc version is less than 2.18 using
__GLIBC_PREREQ from features.h

Regards,

Tom

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

end of thread, other threads:[~2026-10-05 11:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-03 19:18 Problems building GC 18.1 on CentOS 7 Tom Kacvinsky via Gdb
2026-10-03 20:47 ` Tom Kacvinsky via Gdb
2026-10-03 22:05 ` Simon Marchi via Gdb
2026-10-03 22:25   ` Tom Kacvinsky via Gdb
2026-10-04  1:55     ` Tom Kacvinsky via Gdb
2026-10-05 11:28 ` Guinevere Larsen via Gdb
2026-10-05 11:58   ` Tom Kacvinsky via Gdb

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