Win Dev Kit 2023 (aarch64) booted with openSUSE Tumbleweed 20260802 can build FreeBSD main using the Tumbleweed llvm22 and clang22

Mark Millard <[email protected]> Tue, 4 Aug 2026 15:29:50 -0700
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
I have not tested the build kernel or world. This was just a build test.
The context also allows checking some more modern language standard
points where Tumbleweed may happen to have more in use (or whre it
allows more).

I had an old openSUSE Tumbleweed that was set up for booting a RPi4B and
updated it to modern 20260802 and installed dtb-qcom , copied the
sc8280xp-microsoft-blackrock.dtb to the /boot/efi/ (i.e., the msdosfs
EFI file system), and added a non-default grub2 menu item that
references the .dtb file. With that much in place, it can boot the
Windows Dev Kit 2023 as I have the USB3 media connected.

I use the media via a root login and some of the details below are tied
to that, as I understand.

git, python3, and clang22 were already present. (There is likely more
that was implicitly present.)

# sudo zypper in llvm lld libarchive-devel libopenssl-devel
# mkdir -p ~/freebsd-obj ~/freebsd-root
# git clone https://freebsd.org /root/freebsd-src # (or similar)
# cd ~/freebsd-src
# export MAKEOBJDIRPREFIX=/root/freebsd-obj

NOTE: I avoided --bootstrap-toolchain in my test --so the build took
      less time.

# XCC=/usr/bin/clang \
XCPP=/usr/bin/clang-cpp XLD=/usr/bin/ld.lld \
XCXX=/usr/bin/clang++ \
X_COMPILER_TYPE=clang \
python3 tools/build/make.py -j$(nproc) TARGET=amd64 TARGET_ARCH=amd64 \
buildworld WITHOUT_WERROR=yes
. . .
--------------------------------------------------------------
>>> World build completed on Tue Aug  4 13:01:45 PDT 2026
>>> World built in 4960 seconds, ncpu: 8, make -j8
--------------------------------------------------------------

# XCC=/usr/bin/clang \
XCPP=/usr/bin/clang-cpp XLD=/usr/bin/ld.lld \
XCXX=/usr/bin/clang++ \
X_COMPILER_TYPE=clang \
python3 tools/build/make.py -j$(nproc) TARGET=amd64 TARGET_ARCH=amd64 \
buildkernel WITHOUT_WERROR=yes
. . .
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Tue Aug  4 13:20:08 PDT 2026
--------------------------------------------------------------
>>> Kernel(s)  GENERIC built in 302 seconds, ncpu: 8, make -j8
--------------------------------------------------------------


For reference:

# ~/fbsd-based-on-what-commit.sh -C ~/freebsd-src/
65349af4422f iflib: clear the deferred TX descriptor state when a queue
is stopped
Author:     Alexander Leidinger <[email protected]>
Commit:     Alexander Leidinger <[email protected]>
CommitDate: 2026-08-04 17:14:58 +0000
branch: main
merge-base: 65349af4422ffffe40850168c5feb808d43ad06d
merge-base: CommitDate: 2026-08-04 17:14:58 +0000
n287952 (--first-parent --count for merge-base)


-- 
===
Mark Millard
marklmi at yahoo.com