Page MenuHomeFreeBSD

fix tinderbox for cross compiling on macOS
Needs ReviewPublic

Authored by wosch on Mon, Jan 5, 3:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 20, 1:14 AM
Unknown Object (File)
Sun, Jan 18, 6:13 AM
Unknown Object (File)
Sat, Jan 10, 9:04 PM
Unknown Object (File)
Fri, Jan 9, 11:13 AM
Unknown Object (File)
Fri, Jan 9, 11:00 AM
Unknown Object (File)
Fri, Jan 9, 8:02 AM
Unknown Object (File)
Fri, Jan 9, 2:51 AM
Unknown Object (File)
Thu, Jan 8, 11:42 PM
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.Mon, Jan 5, 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)