Re: [PATCH] gdb: Add svr4-tls-tdep.o to list of objects of i*86 targets

Tom Tromey
2025-09-08T13:49:39Z

>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@sergiodj.net> writes:

Sergio> GDB currently fails to build from source on i386 if compiled with
Sergio> --enable-64-bit-bfd. This is happening because svr4-tls-tdep.o is
Sergio> missing from the gdb_target_obs variable, while amd64-linux-tdep.o is
Sergio> obviously there.

Sergio> Fix the problem by adding svr4-tls-tdep.o to the object list, but only
Sergio> when --enable-64-bit-bfd is provided.

Sergio> Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
Sergio> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33399

Ok, thank you.
Approved-By: Tom Tromey <tom@tromey.com>

Tom