public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: newlib@sourceware.org, "Frager, Neal" <neal.frager@amd.com>,
	"jjohnstn@redhat.com" <jjohnstn@redhat.com>,
	"thomas.petazzoni@bootlin.com" <thomas.petazzoni@bootlin.com>,
	"cjwfirmware@vxmdesign.com" <cjwfirmware@vxmdesign.com>
Subject: Re: [PATCH v2 1/1] configure.ac: configurable tooldir install path
Date: Wed, 10 Jan 2024 10:03:34 -0500	[thread overview]
Message-ID: <ZZ6xxqDlpbXBuqmQ@vapier> (raw)
In-Reply-To: <ZZ5pDIrC-dOkoMu3@calimero.vinschen.de>

[-- Attachment #1: Type: text/plain, Size: 2779 bytes --]

On 10 Jan 2024 10:53, Corinna Vinschen wrote:
> Maybe we should switch newlib/cygwin to 2.71 as well, eventually?
> 
> We're in the process of preparing the next Cygwin release which should
> be due end of this month.  After that I don't see any reason that we
> can't bumb the configury to the latest autotools.

i'm not a fan of diverging from the rest of the source projects.  i want
the rest of gcc/binutils/gdb move to autoconf-2.71 & automake-1.16, but
i don't have the cycles to drive that.  i'm also not sure what their
preference is when it comes to release timings.
	autoconf-2.69:   Apr 2012
	         2.70:   Dec 2020
	         2.71:   Jan 2021
	automake-1.15:   Dec 2014
	         1.15.1: Jun 2017
	         1.16:   Feb 2018
	         1.16.5: Oct 2021
personally i think 2 years is enough for the dev population who actually
work on these projects, but who knows.

gcc is currently on autoconf-2.69.  it enforces this:
config/override.m4:
	dnl Ensure exactly this Autoconf version is used
	m4_ifndef([_GCC_AUTOCONF_VERSION],
	  [m4_define([_GCC_AUTOCONF_VERSION], [2.69])])
	dnl Test for the exact version when AC_INIT is expanded.

$ autoconf-2.71
...
configure.ac:4: error: Please use exactly Autoconf 2.69 instead of 2.71.
../config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from...
configure.ac:4: the top level
autom4te-2.71: error: /usr/bin/m4 failed with exit status: 1

now, override.m4 does have an override, but it's meant for testing purposes,
and it doesn't mean anything else in the config/ macro tree has been tested.
	dnl This allows to update the tree in steps (for testing)
	dnl by putting
	dnl   m4_define([_GCC_AUTOCONF_VERSION], [X.Y])
	dnl in configure.ac before AC_INIT,
	dnl without rewriting this file.

which we can see:
$ cd newlib
$ sed -i '1im4_define([_GCC_AUTOCONF_VERSION], [2.71])' configure.ac
$ autoreconf -f
configure.ac:317: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:317: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
../config/multi.m4:14: AM_ENABLE_MULTILIB is expanded from...
configure.ac:317: the top level
configure.ac:317: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:317: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
../config/multi.m4:14: AM_ENABLE_MULTILIB is expanded from...
configure.ac:317: the top level
configure.ac:317: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:317: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
../config/multi.m4:14: AM_ENABLE_MULTILIB is expanded from...
configure.ac:317: the top level
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-01-10 15:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-09 10:39 Neal Frager
2024-01-09 14:18 ` Frager, Neal
2024-01-09 15:35   ` Frager, Neal
2024-01-10  9:53   ` Corinna Vinschen
2024-01-10 15:03     ` Mike Frysinger [this message]
2024-01-10 16:21       ` Corinna Vinschen
2024-01-10 20:44         ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZZ6xxqDlpbXBuqmQ@vapier \
    --to=vapier@gentoo.org \
    --cc=cjwfirmware@vxmdesign.com \
    --cc=jjohnstn@redhat.com \
    --cc=neal.frager@amd.com \
    --cc=newlib@sourceware.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).