Page MenuHomeFreeBSD

fix tinderbox for cross compiling on macOS
Needs ReviewPublic

Authored by wosch on Jan 5 2026, 3:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 29, 1:42 AM
Unknown Object (File)
Tue, Jan 27, 5:38 PM
Unknown Object (File)
Jan 20 2026, 1:14 AM
Unknown Object (File)
Jan 18 2026, 6:13 AM
Unknown Object (File)
Jan 10 2026, 9:04 PM
Unknown Object (File)
Jan 9 2026, 11:13 AM
Unknown Object (File)
Jan 9 2026, 11:00 AM
Unknown Object (File)
Jan 9 2026, 8:02 AM
Subscribers

Details

Summary

For cross-compiling with an external toolchain, we can skip some clang/lld checks,
but we need to build other tools such as config(8).

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287194

Test Plan

make tinderbox

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

wosch requested review of this revision.Jan 5 2026, 3:05 PM
Makefile
637

I'd just delete this block. There are other cases where you don't expect to have a compiler built, e.g. using CROSS_TOOLCHAIN=. If kernel-toolchain somehow screws up and doesn't build a compiler but buildworld/buildkernel expect it to exist then things will quickly fall over anyway.

707

This should just be unconditional

(Also this applies equally to Linux, and I believe also on FreeBSD with CROSS_TOOLCHAIN=, though the latter only gets noticed if the host's tools are old enough)