[Bug 240507] WITHOUT_CLANG=yes WITH_CLANG_BOOTSTRAP=yes does not work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 11 16:34:11 UTC 2019


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

--- Comment #3 from Kyle Evans <kevans at freebsd.org> ---
(In reply to Dimitry Andric from comment #2)

> The problem with that is that a lot of unused targets will be built, which is why the MK_LLVM_TARGET_ knobs were created in the first place.  Ideally, only the minimum set of targets is built.

Right... so this all feels like a good opportunity for foot shooting. =\ It'd
be nice if we had some way of listing the targets that `cc` supports, so we can
decide if we need to bootstrap a cross-compiler that works for what we're
trying to build and we can at least force *that* option on for the bootstrap
compiler.

The last time I checked, one could turn off all of the LLVM_TARGET_* knobs
except, say, LLVM_TARGET_X86. They install a machine that way, and the machine
has all of the knobs except LLVM_TARGET_X86 turned off just like the builder. A
cross-build of aarch64 would then just error out with 'target triple unknown'
or something to this effect, rather than being able to detect- "oh yes, the
host isn't functional for this."

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list