<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools, branch releng/14.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-09-07T03:33:32Z</updated>
<entry>
<title>OptionalObsoleteFiles.inc: Add libprivate{cbor,fido2}_p.a</title>
<updated>2023-09-07T03:33:32Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-08-25T23:22:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=73e5df026288891134e9fa205ab30455abdd5c01'/>
<id>urn:sha1:73e5df026288891134e9fa205ab30455abdd5c01</id>
<content type='text'>
Two more profile libraries that should be removed by WITHOUT_PROFILE.
Found when upgrading a stable/13 VM to stable/14.

Approved by:	re (gjb)

(cherry picked from commit 023ef8015ee6c4e76b63db310800a0f2512fea72)
</content>
</entry>
<entry>
<title>tools/build/make.py: Make --with-default-sys-path mirror usr.bin/bmake</title>
<updated>2023-08-23T16:56:56Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2023-08-23T16:56:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=62f243acea24f52c6420720db615535045489c50'/>
<id>urn:sha1:62f243acea24f52c6420720db615535045489c50</id>
<content type='text'>
The top-level Makefile passes -m to its sub-makes in order to ensure
they use the in-tree mk files in share/mk, but the top-level make itself
has to rely on whatever environment the bmake used has. For FreeBSD, we
configure the system bmake with .../share/mk:/usr/share/mk, which means
it will pick up src's share/mk whenever run from within the src tree,
but currently for non-FreeBSD we configure our bootstrap bmake only with
bmake's own mk files. This is mostly compatible, with two exceptions:

1. "targets" runs at the top level, but needs TARGET_MACHINE_LIST and
   the corresponding MACHINE_ARCH_LIST_${target}, otherwise it will just
   print an empty list.

2. "universe" and "universe-toolchain", when run at the top level (i.e.
   not via the various wrappers around universe like tinderbox), end up
   failing in universe-toolchain itself with:

     bmake[1]: "/path/to/freebsd/share/mk/src.sys.obj.mk" line 112: Cannot use MAKEOBJDIR=
     Unset MAKEOBJDIR to get default:  MAKEOBJDIR='${.CURDIR:S,^${SRCTOP},${OBJTOP},}'

By including .../share/mk in the default sys path like FreeBSD's system
bmake we ensure that we get the in-tree mk files for the top-level make,
not just sub-makes, and avoid such issues.

Note that we cannot (yet) stop using the installed mk files, since the
MAKEOBJDIRPREFIX check in Makefile runs in the object directory and uses
env -i, thereby losing the MAKESYSPATH exported by src.sys.env.mk. Other
such issues may also exist, though are likely rare if so.

Reviewed by:	sjg
Differential Revision:	https://reviews.freebsd.org/D41544
</content>
</entry>
<entry>
<title>tools/build/make.py: Keep bootstrapped bmake binary up-to-date</title>
<updated>2023-08-23T16:56:50Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2023-08-23T16:56:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=69cfdc81ea7bdfe1e7300a7e1106419156aee434'/>
<id>urn:sha1:69cfdc81ea7bdfe1e7300a7e1106419156aee434</id>
<content type='text'>
We currently assume that any existing bootstrapped bmake binary will
work, but this means it never gets updated as contrib/bmake is, and
similarly we won't rebuild it as and when the configure arguments given
to boot-strap change. Whilst the former isn't necessarily a huge problem
given WANT_MAKE_VERSION rarely gets bumped in Makefile, having fewer
variables is a good thing, and so it's easiest if we just always keep it
up-to-date rather than trying to do something similar to what's already
in Makefile (which may or may not be accurate, given updating FreeBSD
gives you an updated bmake, but nothing does so for our bootstrapped
bmake on non-FreeBSD). The latter is more problematic, though, and the
next commit will be changing this configuration.

We thus now add in two checks. The first is to compare MAKE_VERSION
against _MAKE_VERSION from contrib/bmake/VERSION. The second is to
record at bootstrap time the exact configuration used, and compare that
against what we would bootstrap with.

Reviewed by:	arichardson, sjg
Differential Revision:	https://reviews.freebsd.org/D41556
</content>
</entry>
<entry>
<title>kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSD</title>
<updated>2023-08-22T20:00:28Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2023-08-22T20:00:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=968a3db7151644bda2036e1be8d4c536220b318f'/>
<id>urn:sha1:968a3db7151644bda2036e1be8d4c536220b318f</id>
<content type='text'>
Systems that predate 971bac5ace7a ("kbd: consolidate kb interfaces
(phase one)") cannot build kbdcontrol since kbdelays and kbrates moved
to sys/kbio.h. Moreover, on non-FreeBSD, it requires all kinds of ioctls
and sysctls that are highly FreeBSD-specific to build, but we use it as
a bootstrap tool to generate the keymaps used by some kernels (LINT ones
in particular). Thus, when bootstrapping kbdcontrol, disable everything
that's not needed for that singular use, and use the in-tree kbio.h to
get the definitions of the necessary structures.

This allows KBDMUX_DFLT_KEYMAP, UKBD_DFLT_KEYMAP and ATKBD_DFLT_KEYMAP
to be enabled when building on non-FreeBSD, and thus LINT kernels.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D41541
</content>
</entry>
<entry>
<title>tools/build/make.py: Grow the list of MI targets</title>
<updated>2023-08-22T17:53:13Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2023-08-22T17:53:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5157b451c65480deecbc0e7c223684830a4af7ce'/>
<id>urn:sha1:5157b451c65480deecbc0e7c223684830a4af7ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/build/make.py: Make flake8 clean</title>
<updated>2023-08-22T17:52:57Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2023-08-22T17:52:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3b4da25ead62c346d05199bc96cd6935e896849f'/>
<id>urn:sha1:3b4da25ead62c346d05199bc96cd6935e896849f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update freebsd-yeet for mfc</title>
<updated>2023-08-22T01:37:20Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:37:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b376ef36f569c85cbd135349b6e8b9737bba5d2a'/>
<id>urn:sha1:b376ef36f569c85cbd135349b6e8b9737bba5d2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stress2: No need to write to the console.  Add revision to log string</title>
<updated>2023-08-19T07:29:09Z</updated>
<author>
<name>Peter Holm</name>
<email>pho@FreeBSD.org</email>
</author>
<published>2023-08-19T07:29:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0d30f3afa62b4740810006476eb9de0c480619a1'/>
<id>urn:sha1:0d30f3afa62b4740810006476eb9de0c480619a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stress2: Added a syzkaller reproducer</title>
<updated>2023-08-19T07:28:10Z</updated>
<author>
<name>Peter Holm</name>
<email>pho@FreeBSD.org</email>
</author>
<published>2023-08-19T07:28:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f322816aafa759d618ff89da266c038d0694e189'/>
<id>urn:sha1:f322816aafa759d618ff89da266c038d0694e189</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix GoogleTest 1.14.0 import</title>
<updated>2023-08-19T02:33:58Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2023-08-18T11:28:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0c785f06020f3b02e34c97eb27fecd3af8eb2a7b'/>
<id>urn:sha1:0c785f06020f3b02e34c97eb27fecd3af8eb2a7b</id>
<content type='text'>
- Prune headers and tests no longer installed after the upgrade.
- Remove GoogleTest-related files when MK_GOOGLETEST == no.
- Disable `-Werror` with gcc to unbreak the gcc12 CI run with
  `lib/googletest`. Any issues found by g++ will be filed
  upstream and hopefully resolved in a future version.
- Remove clang -Werror issues which are resolved in version 1.14.0 to
  avoid masking valid issues.

MFC after:	1 week
MFC with:	28f6c2f292806bf31230a959bc4b19d7081669a7
</content>
</entry>
</feed>
