public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mike Stump <mikestump@comcast.net>
To: Jeff Law <law@redhat.com>
Cc: Gabriel Dos Reis <gdr@microsoft.com>,
	Andrew Dean <Andrew.Dean@microsoft.com>,
	David Malcolm <dmalcolm@redhat.com>,
	"gcc@gcc.gnu.org" <gcc@gcc.gnu.org>,
	"ro@CeBiTec.Uni-Bielefeld.DE" <ro@CeBiTec.Uni-Bielefeld.DE>,
	Jason Merrill <jason@redhat.com>,
	Jonathan Wakely <cxx@kayari.org>
Subject: Re: GCC selftest improvements
Date: Fri, 14 Feb 2020 20:50:00 -0000	[thread overview]
Message-ID: <2B0B79B1-A56F-43CE-92E9-F4AAC48D7117@comcast.net> (raw)
In-Reply-To: <acbd13b7-8869-3b52-1590-27ec4dc894cb@redhat.com>

On Oct 28, 2019, at 12:40 PM, Jeff Law <law@redhat.com> wrote:
> I'd really like to see us move to C++11 or beyond.  Sadly, I don't think
> we have any good mechanism for making this kind of technical decision
> when there isn't consensus.

I'll just point out that we do have good mechanisms in place.  Consensus building is a nice way of doing things, but, when that fails, we can punt to a well established reviewer to just make a decision, because sometimes a made decision is better than failing to make a decision, which, itself, is a decision.  It that should fail for any reason, anyone should feel free to punt to the SC.  Generally we don't use them this way, but, I think it's reasonable to do this if all the maintainers are shy about this or need guidance.

For example, the current policy is to pick the minimum gcc version of all the current LTS release of all the distributions/OSes.  I could propose this be the policy to the SC, then they could, if they wanted to, agree with the policy, then we can document the policy, and then a reviewer can approve a doc patch to say that gcc X or newer is required, whenever the new X is the oldest among the then current set of distributions/OSes.  The policy drives expectations, and drives approvals to bump.  Now, that's just a recommendation.  A reviewer might have a reason to not bump the tools, and that's ok as well.  No reviewer should feel bad, approving a bump when that bump follows the policy however.

If I apply the current policy, [  checking around ] My 18.04 has 7.4 in it.  Centos 8 has 8.2.  It would seem that a bump to 7.4 should be fine, now.  I didn't look at other distributions, but we can go through the list, and on the basis of what version is in the current LTS/OS, contemplate the bump the the minimum of all of them.  That's basically the status quo policy.

Now, people do like to hold onto old OSes and old machines.  And we cater to them by having old releases that can drop onto their system and just run.  For example, I have a 14.04 machine, that's still awaiting 20.04 to upgrade to, but thats because I want to cater even to very old releases (all LTS releases that are not EOL), cause doing this is very cheap.  I manage this by dropping a gcc 9 onto the box so that I have a known, not that old compiler.  Presto, all my software can now use gcc 9 features and not worry about it.

So, I'd propose bumping the minimum to 7.4 if people want to update.  People can comment what release fedora, arch, SUSE and so on have.  Since 7.4 has c++17 in it (non-default), accepting patches that turn on c++17 in that compiler isn't unreasonable, but that's orthogonal to the version bump.  My old Apple has c++17 on it.  Don't have a windows box, but google seems to suggest that their tools support c++17.

I think we should pick not on the basis something unspecific, rather, I'd list the 3 5 or 9 systems we check against, and then pick the minimum of them.  Above I picked 7.4 because it's on 18.04.  I think this  makes for a better policy as it's predicable, stable, and in 100 years, I don't think I see the need to change the policy.

      parent reply	other threads:[~2020-02-14 20:50 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24 20:50 Andrew Dean via gcc
2019-10-24 21:09 ` Jonathan Wakely
2019-10-25  6:17 ` David Malcolm
2019-10-25 22:38   ` Andrew Dean via gcc
2019-10-26  0:01     ` Gabriel Dos Reis via gcc
2019-10-26 22:46       ` Eric Gallager
2019-10-31 15:56         ` Pedro Alves
2019-12-02  2:50           ` Eric Gallager
2020-02-13  0:49             ` [EXTERNAL] " Modi Mo via gcc
2020-02-13  1:53               ` David Malcolm
2020-02-13  2:28                 ` Nicholas Krause
2020-02-13 22:18                   ` Modi Mo via gcc
2020-02-14 14:55                     ` C++11 bootstrap (was: GCC selftest improvements) Jason Merrill
2020-02-14 23:10                     ` [EXTERNAL] Re: GCC selftest improvements Segher Boessenkool
2020-02-15 16:14                     ` Jeff Law
2020-02-25 19:58                       ` Modi Mo via gcc
2020-02-25 22:11                         ` David Malcolm
2020-02-25 22:13                           ` Gabriel Dos Reis via gcc
2020-03-02 22:19                           ` Modi Mo via gcc
2019-10-28 19:40       ` Jeff Law
2019-10-28 19:42         ` Richard Biener
2019-10-28 19:44           ` Jeff Law
2019-10-28 19:46             ` Gabriel Dos Reis via gcc
2019-10-28 20:27         ` Segher Boessenkool
2019-10-28 21:41           ` Jeff Law
2019-10-28 21:47             ` Jakub Jelinek
2019-10-28 21:52               ` Andrew Pinski
2019-10-28 22:02                 ` Jeff Law
2019-10-28 22:03                 ` Gabriel Dos Reis via gcc
2019-10-29  8:41               ` Richard Biener
2019-10-31 16:09                 ` Pedro Alves
2019-10-28 21:50             ` Iain Sandoe
2019-10-28 22:12             ` Segher Boessenkool
2019-10-29  8:45               ` Richard Biener
2019-11-22 21:02                 ` Andrew Dean via gcc
2019-11-22 22:02                   ` Segher Boessenkool
2019-11-22 22:36                     ` Jakub Jelinek
2019-11-22 23:41                       ` Segher Boessenkool
2019-11-23 16:33                         ` Jeff Law
2019-11-23 23:03                           ` Nicholas Krause
2020-02-14 20:50         ` Mike Stump [this message]

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=2B0B79B1-A56F-43CE-92E9-F4AAC48D7117@comcast.net \
    --to=mikestump@comcast.net \
    --cc=Andrew.Dean@microsoft.com \
    --cc=cxx@kayari.org \
    --cc=dmalcolm@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdr@microsoft.com \
    --cc=jason@redhat.com \
    --cc=law@redhat.com \
    --cc=ro@CeBiTec.Uni-Bielefeld.DE \
    /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).