Re: Two observations using GDB 13 snapshot

Andreas Schwab
2023-01-07T19:26:28Z

On Jan 07 2023, Eli Zaretskii wrote:

>> From: Andreas Schwab <schwab@linux-m68k.org>
>> Cc: ssbssa@yahoo.de, gdb-patches@sourceware.org
>> Date: Sat, 07 Jan 2023 19:26:57 +0100
>>
>> On Jan 07 2023, Eli Zaretskii wrote:
>>
>> >> From: Andreas Schwab <schwab@linux-m68k.org>
>> >> Cc: Eli Zaretskii <eliz@gnu.org>, "gdb-patches@sourceware.org"
>> >> <gdb-patches@sourceware.org>
>> >> Date: Sat, 07 Jan 2023 18:39:57 +0100
>> >>
>> >> On Jan 07 2023, Hannes Domani wrote:
>> >>
>> >> > Isn't --enable-shared the default?
>> >>
>> >> No.
>> >
>> > gdb/libtool thinks shared libraries should be built:
>>
>> bfd/libtool and opcodes/libtool don't.
>
> But the issue at hand is about what happens in gdb/, not in bfd or
> opcodes.

Only bfd and opcodes build possibly shared libraries, and only that will
have an affect on the necessity to build a gdb libtool wrapper.

>> As you already discovered, gdb/libtool is not used for building
>> libraries at all.
>
> So you are saying it's a bug in gdb/configure?

No.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."