This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Update autotools version for gdb and binutils


On Mon, May 07, 2018 at 10:28:08AM -0400, Simon Marchi wrote:
> On 2018-05-07 02:15, Alan Modra wrote:
> > On Fri, May 04, 2018 at 02:42:17PM -0400, Simon Marchi wrote:
> > > ChangeLog:
> > > 
> > > 	* ar-lib: New file.
> > > 
> > > gdb/ChangeLog:
> > > 
> > > 	* update-gnulib.sh (AUTOCONF_VERSION): Bump to 2.69.
> > > 	(AUTOMAKE_VERSION): Bump to 1.16.1.
> > > 	* configure.ac: Modernize usage of AM_INIT_AUTOMAKE.
> > > 	(AC_PREREQ): Bump to 2.69.
> > > 	* import/Makefile.in: Re-generate.
> > > 	* aclocal.m4: Re-generate.
> > > 	* config.in: Re-generate.
> > > 	* configure: Re-generate.
> > 
> > If this goes in you'll need two versions of autotools for gdb, the new
> > one for gdb and the old one for bfd, opcodes, and other dirs.  I'm not
> > against the patch BTW, just that it would make sense to update all of
> > binutils-gdb.
> 
> Ah, I thought that we already needed two different versions for GDB, because
> of this line in gdb/configure.ac:
> 
>   AC_PREREQ(2.59)

That's just a minimum version.

> But the real requirement is 2.64, and seems to come from config/override.m4
> (not sure how it's invoked though).

AC_INIT

>  This applies to all projects under
> binutils-gdb, but also in the gcc source repository, doesn't it?  So we
> would need to change all of binutils-gdb and gcc at the same time, in sync?

I wasn't saying you must change all of binutils-gdb, let alone gcc,
just that it would be nice.  binutils-gdb config/* is copied from gcc
but files in config can diverge.  Changing just binutils-gdb
config/override.m4 (*) seems OK to me in the short term.  If you care
to bump autoconf to 2.69 and automake to either 1.16.1 or 1.15.1 I'll
support that for binutils, ie. I'll approve patches and deal with any
followup.  (The choice between automake 1.15.1 and 1.16.1 boils down
to convenience for developers in having 1.15.1 more available in
distros versus wanting the bug fixes in 1.16.1.  I'd be inclined to go
with 1.15.1 myself.)

If other maintainers disagree, speak up now!

*) The reason binutils-gdb and gcc share a top level dir, config, and
most include files is to support combined tree builds.  I don't know
how many people try to do that nowadays, and a combined tree build
with --enable-maintainer-mode running autotools seems a little
insane to me.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]