Re: Migration guide?

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Fri, 06 Nov 2026 15:35:33 UTC
Garrett Wollman <wollman@bimajority.org> writes:
> With the 15.2 release cycle starting, I'm looking at starting to
> migrate from 14.5 to 15.2 this winter.  Has anyone written a good
> guide to changes between 14 and 15 that would be helpful?  I'm
> particularly interested in features and non-default build options that
> may have changed or been removed between the two branches.

The most noticeable change in terms of build options is that CLEAN now
defaults to off, meaning incremental builds are the default.  PROFILE,
which was default-off in 14, is no longer supported.  The logic that let
you use the old NO_FOO names for certain build options (including CLEAN
and PROFILE) has been removed, so only WITHOUT_FOO is now supported.
LLVM_BINUTILS now defaults to on, which means we now default to the LLVM
versions of tools such as ar(1), nm(1), ranlib(1), strip(1) etc.  GH_BC
has been dropped, so you no longer have the option of using OpenBSD's
bc(1) / dc(1) instead of Gavin Howard's.  INIT_ALL_PATTERN and
INIT_ALL_ZERO have been merged into INIT_ALL which can be set to “none”
(the default), “pattern”, or “zero”.

In terms of features, it's really hard to answer.  Most prominently,
packaged base has graduated from “experimental” to “technology preview”,
which means it works and is close to its final form but is still missing
some polish and tooling.  You still don't have to switch if you don't
want to (and since you asked about build options, I assume you're
building from source, so it does not really affect you).  We no longer
ship ftpd, so if you were using that you'll have to pick one from ports.
If you're using Kerberos, we've switched from an outdated Heimdal to a
recent MIT.  A lot of work has gone into hardware support, particularly
wifi and graphics, but presumably your kit is already supported.

Hope this helps,

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org