Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 14:32:47 -0800
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Warner Losh <imp@bsdimp.com>, Mateusz Guzik <mjguzik@gmail.com>, Shawn Webb <shawn.webb@hardenedbsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r367692 - head/sys/sys
Message-ID:  <202011172232.0AHMWl7L074816@slippy.cwsent.com>
In-Reply-To: <0015bc22-4568-93cc-5c77-e97c4f5e215c@FreeBSD.org>
References:  <202011141920.0AEJKbpO050396@repo.freebsd.org>  <20201114205036.tnxvwarsddmu4shz@mutt-hbsd> <CAGudoHGSxyVZAF%2BFF=LFR0pDkSbYd78Vo1xRYQnKo_hUPVhxgA@mail.gmail.com> <20201114205355.j2ejnhouipjr6yhk@mutt-hbsd> <CAGudoHEbHzJS3JBoqjX%2BXLeLotgKnxH2Mk-s9vxeC=B%2B3SEkqg@mail.gmail.com> <CANCZdfoDZ1g%2BETja5j4zf5gj_3_y9aD_%2BuPdhuJ=jfwNZmxuvA@mail.gmail.com> <0015bc22-4568-93cc-5c77-e97c4f5e215c@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <0015bc22-4568-93cc-5c77-e97c4f5e215c@FreeBSD.org>, John Baldwin 
wri
tes:
> On 11/14/20 2:34 PM, Warner Losh wrote:
> > true, but a version bump forces that and versions are cheap enough...
>
> Strictly speaking, version bumps don't force anything to recompile, they
> just ensure that newer modules won't load on older kernels.  In this case,
> the change to sys/ucred.h will result in sys/ucred.h's mtime changing so
> that any kernel modules being built via NO_CLEAN=yes will rebuild ok.
>
> I'm not quite sure where this mantra that version bumps force rebuilds
> came from, but they don't.  It's true that since it lives in <sys/param.h>
> and most things include that, it mostly forces a rebuild, but that's
> mostly a side effect, not due to explicit magic around __FreeBSD_version.

Any update to sys/param.h causes the rebuild of any object that depends on 
the header file. It also causes any poudriere jail built on -CURRENT to 
delete all its packages and restart from scratch.

Poudriere assumes it means ABI or API changes whereas version bumps could 
simply be markers of notable change that may not affect the ABI. In which 
case poudriere package rebuilds are gratuitous.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

	The need of the many outweighs the greed of the few.







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