Re: [ANNOUNCEMENT] GDB 11 release branch created!

Joel Brobecker
2021-07-04T17:57:53Z

[switching to gdb-patches]

> > The prerelease snapshots will be available at:
> >
> > ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.xz
>
> The tarball contains the file gdb/doc/GDBvn.texi which is a generated
> file depending on the configuration. This breaks building with
> --with-system-readline.

Thanks for the heads up, Andreas.

In skimming through the commits, I think the following change is
responsible for this change of behavior:

commit ab954e4a53cab8c33728e6708695abc1616c90b1
Author: Bernd Edlinger <bernd.edlinger@hotmail.de>
Date: Wed Nov 25 18:52:49 2020 +0100
Subject: Fix building gdb release from tar file without makeinfo

Add GDBvn.texi and version.subst to the release tar file,
so the gdb.info does not need makeinfo.

This avoids the need for makeinfo to be available.

2020-12-04 Bernd Edlinger <bernd.edlinger@hotmail.de>

* Makefile.in: Delete GDBvn.texi and version.subst only in
the maintainer-clean target.

I don't understand how this has an impact on building GDB, though.

So, I tried configuring GDB with --with-system-readline, did a "make"
and "make install". It worked with both in-tree and out-of-tree builds.

--
Joel