[Bug 257616] WITH_META_MODE=yes, toolchain is rebuilt each make buildworld

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 04 Aug 2021 21:09:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257616

--- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #5)

Actually, my wording has in general made a presumption
about prior activity that need not be the case.

A sequence that avoids the presumption is:

# cd /usr/src/
# env WITH_META_MODE=yes make buildworld
# env WITH_META_MODE=yes make installworld
# env WITH_META_MODE=yes make buildworld
## no more rebuilds below?
# env WITH_META_MODE=yes make buildworld
# env WITH_META_MODE=yes make buildworld

The installworld establishes the updated compiler
version is in place, so also matching /usr/src
for the version number and such.

The first buildworld after that may have the
usual issues with some rebuilding based on changes
to dependencies from the installworld activity.

After that the version should match /usr/src and the
dependencies should no longer cause rebuild/relink
activity.

-- 
You are receiving this mail because:
You are the assignee for the bug.