Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2021 12:13:17 +0100
From:      Mathieu Arnold <mat@freebsd.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        Mathieu Arnold <mat@freebsd.org>, Piotr Kubaj <pkubaj@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r568012 - head/net/tightvnc
Message-ID:  <20210317111317.vlp7f7kqxwhwlsjd@aching.in.mat.cc>
In-Reply-To: <6fc69b3c-6b86-ffd9-9784-524868a8d951@pfeifer.com>
References:  <202103101603.12AG371X067963@repo.freebsd.org> <13e0fa6a-7ea4-d321-c75e-474eeb415ee9@pfeifer.com> <20210315112025.ij4l2oiegzkq2hhu@aching.in.mat.cc> <6fc69b3c-6b86-ffd9-9784-524868a8d951@pfeifer.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--h7nstw2hk5gg2u65
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 17, 2021 at 09:51:00AM +0100, Gerald Pfeifer wrote:
> On Mon, 15 Mar 2021, Mathieu Arnold wrote:
> >> Do you intentionally focus on USE_GCC=3Dany?  On riscv64 this is always
> >> equivalent to USE_GCC=3Dyes, and even on powerpc - do we want to use t=
he
> >> the age old GCC 4.2 in base *and*, more importantly, use different
> >> compilers on 11.x and 13.x?
> > When I saw that commit, I wondered if USE_GCC=3Dany should not be=20
> > retired, it probably serves no purpose nowadays.
>=20
> Yes, please.
>=20
> I'd be happy to get rid of it (and note that I had not added or
> promoted it, though I understand the original rationale).
>=20
> How do we go about that?

Well, the easiest is to change gcc.mk to make USE_GCC=3Dany work like
USE_GCC=3Dyes, and add a bit to sanity.mk saying `any` use is deprecated
and should be using `yes` (and when all ports have been converted, or
only a few remain, move them to yes and garbage collecte the any->yes
and make it invalid.

The less easy way, but probably better, is to make it invalid directly
and change the 50 something ports using it to USE_GCC=3Dyes (or nothing,
or using USE_CSTD or whatever else works.)

First step could probably be to make a patch for `any` mean `yes`,
build stuff and look at the size of the explosion from afar.

--=20
Mathieu Arnold

--h7nstw2hk5gg2u65
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAmBR5EhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2
MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd
fgITWxAAht9IUjEAaU1llcg/Ke9kEh+BjZ7F32fTElmyKngRbxvaD2jvnE/gukdN
ReclnoKMa9oSddDuuCP9PEOrVN9TswvJi0e1miq1aNsII+oCJt7tpB5weqiK9Jhq
7kRh3AQ2QHnEF44ZyyAbvAhck+AQ3nanCSQmaUs+H6S6CobSyHTXb/Ab1X60Nm6c
ASdzqbqQdQh1dB19TVhU60DEXL7Pjo5H5AuFbk5006+Q3gWfIVrFBexEyPEWA1bk
6JXwLs5Wm/1mLYO9EJYtHwhcAFb+io0YYZLvUchEF+T7dBNpLC+JtlePywftSCnD
iiyNFp/g0n1lQYs9MZB51WO9mn/OESGWoXJTZAZapVkSTmg7azpC6JxAP3EVgcdr
vqTQBwU8FN0mt8kBeGkC2A15Rbn9jocDHsB7Vw7L9kpmd3rz9P0l0SGdDHd4sxGf
NaAUsXsaRuBuYWxyZgirmXwLkDhQBf14py1MecoRF+K4MSDnxLmZ7HHTgKo6glDP
9v5xRmjhvZhXOvN2UCNwpePMSZVu82+yFgldueRWRXJEMRRjXJtdzIf+5kV/vprs
rHtp4QsP911rwslBPfkfxo0ETHJOgU4cjaf54Zr1hMdYEMYF+6UQFv5GXbW/zMVb
EXvhxDeLWwzVKn4UsjDxurJwVwi6CU3RJoZJvzPcIT+IWuS1CTQ=
=r0/r
-----END PGP SIGNATURE-----

--h7nstw2hk5gg2u65--



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