Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2019 16:10:41 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        Mark Linimon <linimon@lonesome.com>, Piotr Kubaj <pkubaj@anongoth.pl>, Cy Schubert <Cy.Schubert@cschubert.com>, "Jason W. Bacon" <jwb@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: USE_GCC=any -> USE_GCC=yes (was: svn commit: r504198 - head/Mk)
Message-ID:  <20190705161041.GA84307@FreeBSD.org>
In-Reply-To: <alpine.LSU.2.21.1907042302300.4639@anthias.pfeifer.com>
References:  <F69E23F2-E526-4B3F-95EB-1786222C2D61@cschubert.com> <20190614165425.GA42674@FreeBSD.org> <8BDC3B40-7FEA-46EA-AE7C-A3C266F6978F@cschubert.com> <20190614175822.GA3336@FreeBSD.org> <20190615061345.GA20346@lonesome.com> <alpine.LSU.2.21.1906151028570.3441@anthias.pfeifer.com> <20190615084354.GA33091@ThinkPad-X200.g.anongoth.pl> <alpine.LSU.2.21.1906151058350.3441@anthias.pfeifer.com> <20190704203112.GA6138@lonesome.com> <alpine.LSU.2.21.1907042302300.4639@anthias.pfeifer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 04, 2019 at 11:16:53PM +0200, Gerald Pfeifer wrote:
> On Thu, 4 Jul 2019, Mark Linimon wrote:
> > But ... what I understand is that "any" means "it's ok to use base
> > gcc".  That was always the intended difference to "yes" which means
> > "you *must* use a recent gcc" [e.g. from ports].
> > 
> > I don't really see why we need to add the dependency on a newer gcc
> > if the version in base suffices.  What am I missing here?
> 
> I think we agree that nearly all FreeBSD users and developers are on
> amd64 (or i386).

Well... :-)

> When a port maintainer or committer sets USE_GCC=any she and (nearly)
> everyone else therefore uses GCC 8 as of today.
> 
> When that port is then built on powerpc64, USE_GCC=any implies the age
> old GCC 4.2 in base, and thus the build is attempted with a compiler
> very, very different from what the original maintainer/committer/testers
> and users had.

I'd have to agree with Mark here: the literal reading of "any" means
"it's OK to use base GCC" if it's available.  While I understand that
it's aged and on x86 it's the same as USE_GCC=yes, it's still a bad
idea to change the meaning of words.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190705161041.GA84307>