config / NOTES "profile 2" and main -> stable/13 fails universe for me?
Date: Sun, 27 Mar 2022 19:00:49 UTC
Hi, I am building on a stable/13 machine (updated a few days ago but I had that before in the last months). I have git clone and am mostly working on main or main-derived branches. Once in a while I switch in-place (not a worktree) to a stable branch, e.g., git checkout stable/13 based on freebsd/stable/13 for MFCs. When I do that and start to build an amd64-only universe my kernel builds immediately fail with a dubious error message from a top-level Makefile: # nice make -s -j30 tinderbox TARGETS=amd64 [..] make[2]: ".../freebsd-src/Makefile" line 731: "Target architecture for amd64/conf/LINT unknown. config(8) likely too old." I tracked it down to the profile 2 line sys/amd64/conf/NOTES which makes config fail apparently. When I apply the below change things work flawlessly. I do not fully understand where the problem comes from, but given I haven't seen other reports I wonder what it is that I am doing that makes things go wrong here? Anyone an idea? Lots of health, /bz -- 8< 8< 8< ------------------------------------------------------------ diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES index 229a63bd23b9..22850cfbf8cb 100644 --- a/sys/amd64/conf/NOTES +++ b/sys/amd64/conf/NOTES @@ -9,7 +9,7 @@ # # We want LINT to cover profiling as well. -profile 2 +#profile 2 # # Enable the kernel DTrace hooks which are required to load the DTrace -- 8< 8< 8< ------------------------------------------------------------ -- Bjoern A. Zeeb r15:7