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)
Sun, May 17, 4:00 PM
Unknown Object (File)
Sat, May 16, 11:58 PM
Unknown Object (File)
Sat, May 16, 8:43 PM
Unknown Object (File)
Thu, May 14, 12:33 PM
Unknown Object (File)
Wed, May 13, 10:02 PM
Unknown Object (File)
Tue, May 12, 2:35 AM
Unknown Object (File)
Sun, May 10, 12:50 AM
Unknown Object (File)
Fri, May 8, 12:47 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)