Building and Iterating
Bryan Drewery
bdrewery at FreeBSD.org
Wed Jun 20 21:00:24 UTC 2018
On 6/1/2018 10:20 AM, Sean Bruno wrote:
> Before I dive into the mk files of a buildworld, I'd like to describe
> "what I want" so as to start a discussion of my goal.
>
> 1. If I select no toolchain (WITHOUT_TOOLCHAIN), but clang needs to be
> built, only build a toolchain that targets the ARCH being requested.
>
> 2. If I select no toolchain (WITHOUT_TOOLCHAIN), but clang needs to be
> built, give me a knob to turn that aborts the build with a meaningful
> message that lets me know I need to update the toolchain on my buildbox.
>
https://reviews.freebsd.org/D11077 has this but I suspect it's wildly
stale already.
Also having a knob like this would ultimately lead to someone making
their /usr/bin/cc less useful for optimizations like WITH_SYSTEM_COMPILER.
> 3. If the boostrap toolchain needs to be built in the normal case, only
> target the ARCH being requested. I understand that we "want" a CC
> installed that targets all architectures and this is something I agree with.
>
Hm yes there is no real reason to have multi-arch support in the
WORLDTMP compiler. Though I do have a pending patch to build clang
*once* for universe that relies on this full-arch-support behavior but
I'm sure it's trivial to continue using it for that piece.
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20180620/0c01615b/attachment.sig>
More information about the freebsd-arch
mailing list