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

Sergio Durigan Junior
2025-09-08T18:36:43Z

On Monday, September 08 2025, Tom Tromey wrote:

>>>>>> "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.

Thanks, Tom! Pushed.

> Approved-By: Tom Tromey <tom@tromey.com>

Oh shoot, I forgot to add this. Hope it's fine.