Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2024 10:07:18 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        david@catwhisker.org, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Should changes in src/usr.sbin/bhyve/ trigger an llvm rebuild?
Message-ID:  <F087E5CB-36F3-4FD4-B173-E6D59153BA4B@yahoo.com>
In-Reply-To: <418237252dc000bc1cc21a7f9220a2e5@Leidinger.net>
References:  <EAD76C2C-065E-4EFA-901F-1C0FD13FFC65.ref@yahoo.com> <EAD76C2C-065E-4EFA-901F-1C0FD13FFC65@yahoo.com> <ZbZ2u9FlUhvb1orU@albert.catwhisker.org> <5BCB8F1A-B5D5-4506-87E1-8B26E713C6F5@yahoo.com> <ZbbPyYNtF6prkdtd@albert.catwhisker.org> <B1231700-D7A1-4190-AA2A-495CEA954535@yahoo.com> <8A79DE24-403E-4E73-82B6-0E5CF4F27604@yahoo.com> <418237252dc000bc1cc21a7f9220a2e5@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 29, 2024, at 01:50, Alexander Leidinger <Alexander@leidinger.net> =
wrote:

> Am 2024-01-29 00:00, schrieb Mark Millard:
>=20
>> I would have to see make -dM output from (D) to
>> find the specific timing relationships that lead
>> to that. There is way to much to analyze the
>> specifics manually, especially because dependency
>> chains have to be considered.
>=20
> Not -stable, but -current

Sequence going back to where a commit change was involved and
installed/booted? That older commit was what? The newer one?
The content of that change contributes to what range of "is
newer than" stuff shows up in the first buildworld after the
first installworld-then-reboot to the newer commit.

A limiting case is doing a buildworld into an empty /usr/obj/
like area so that its later install has everything freshly
built (new timestamps) compared to the prior context. Then
doing a installworld buildworld sequence may have more "is
newer than" notices. (Some cases of updates approximate
such a "largely rebuilt" status, others do not.)

The list is illustrative as is, just possibly not definitive.

> (no change to src, buildworld after installworld to a new BE and =
booting this new BE):
> # grep newer buildworld_debug.log | grep -E =
'amd64.amd64/tmp/(usr|legacy)/' | cut -d : -f 3 | sort -u
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/inc=
lude/roken.h' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/asn1_compile' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/awk' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/basename' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/cap_mkdb' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/cat' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/clang-tblgen' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/compile_et' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/cp' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/crunchgen' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/crunchide' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/dd' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/env' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/file2c' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/gencat' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/grep' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/gzip' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/jot' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/lex' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/lldb-tblgen' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/llvm-min-tblgen' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/llvm-tblgen' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/ln' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/m4' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/make-roken' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/mkcsmapper' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/mkesdb' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/mv' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/rm' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/sed' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/sh' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/touch' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/truncate' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/uudecode' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/legacy/usr/sbi=
n/uuencode' is newer than the target...
> file =
'/space/system/usr_obj/space/system/usr_src/amd64.amd64/tmp/usr/bin/objcop=
y' is newer than the target...
>=20
> There is no dependency to outside the obj tree.
>=20
> Would it make sense to exclude the tmp/legacy/usr/sbin/... =
dependencies? Or a subset? The tmp/usr/bin/objcopy is probably in the =
middle of a rebuild, but the name legacy gives the impression that not a =
lot of features are needed from those (basics to build our own =
version?).
>=20
> Note, grep for "newer" gives >12000 hits.

For awk, basename, cat, dd, env, grep, gzip, lex, ln, m4, mv, rm,
sed, sh, touch, truncate, uudecode, and uuenncode (for example):

The "is newer than" status is both real and highly likely to be
irrelevant. META_MODE is based on just the "real" status of "is
newer than".

There are other items in the list that I'd be less sure of if
they are likely to always be irrelevant. Possibly.

As I remember, I did get example "is newer than" notices that
were not from /usr/obj/ like areas, not that I remember the
details any more. (So I could be misremembering.)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F087E5CB-36F3-4FD4-B173-E6D59153BA4B>