Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2018 01:47:02 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        rkoberman@gmail.com, ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   Re: Massive PORTREVSION bump for gcc8
Message-ID:  <137272D8-751E-40CD-8E40-9D2727C2993F@yahoo.com>

next in thread | raw e-mail | index | archive | help
Kevin Oberman rkoberman at gmail.com wrote on
Fri Dec 14 06:36:51 UTC 2018 :

> On Thu, Dec 13, 2018 at 1:36 AM Mathieu Arnold <mat at freebsd.org> =
wrote:
>=20
> > On Wed, Dec 12, 2018 at 10:29:59AM -0800, Kevin Oberman wrote:
> > > This morning the PORTREVISION on at least hundreds of ports was =
bumped
> > > because gcc8 was declared as the "canonical" version. As a result, =
I will
> > > have about 300 ports to rebuild which will take many hours.
> > > Why?
> >
> > Because they need to be rebuilt so that they use the new default of =
gcc8.
> >
>=20
> Why does this matter? They were already working fine with gcc7.


The run-time libraries for gcc7 and gcc8 normally must not be mixed
in one program, or the libraries the program uses, as I understand.
Thus any common library across multiple programs normally forces all
those programs (and the libraries they use) to be based on one gcc*
vintage, not some mix.

This leads to a very detailed dependency analysis to figure out what
can be left alone vs. what has to be updated for your specific set of
ports. This is not automatic via the normal makefile dependency rules
and such, as I understand.

With the PORTVERSION changes, when I update things will rebuild even
though I've been using gcc8 as my default for some time. But the
PORTVERSION change was not designed for my type of context and should
end up being an expensive noop for me. I know to expect this at such
points as the default gcc* is changed. (I sometimes experiment with
more modern tools for targeting powerpc families.)


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?137272D8-751E-40CD-8E40-9D2727C2993F>