Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2018 15:12:11 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Shane Ambler <FreeBSD@ShaneWare.Biz>, Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: How to avoid building of all llvm/clang-related stuff on recent CURRENT?
Message-ID:  <7e07a3a7-21ba-4770-8dd3-feff92b41f7a@FreeBSD.org>
In-Reply-To: <16ef72c6-38b1-5c58-bd0f-ab5d4eebf743@ShaneWare.Biz>
References:  <1eddd30d-2743-890f-3e9b-eff06a1d9a41@FreeBSD.org> <37FC8627-D520-4BAF-B168-783F39F44CAF@FreeBSD.org> <16ef72c6-38b1-5c58-bd0f-ab5d4eebf743@ShaneWare.Biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30.01.2018 7:05, Shane Ambler wrote:

> You may also (soon) need WITHOUT_LLD_IS_LD, there are plans to enable
> LLD by default.
 I think, WITHOUT_LLD should be enough, together with WITHOUT_LLD_BOOTSTRAP.

> Looking at man src.conf on current,
> 
> WITHOUT_CROSS_COMPILER enforces -
>   WITHOUT_BINUTILS_BOOTSTRAP
>   WITHOUT_CLANG_BOOTSTRAP
>   WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
>   WITHOUT_GCC_BOOTSTRAP
> 
> I think WITHOUT_LLD_BOOTSTRAP might belong in that list.
 Yess!

> There is also a WITHOUT_TOOLCHAIN which enforces -
>   WITHOUT_BINUTILS
>   WITHOUT_CLANG
>   WITHOUT_CLANG_EXTRAS
>   WITHOUT_CLANG_FULL
>   WITHOUT_GCC
>   WITHOUT_GDB
>   WITHOUT_INCLUDES
>   WITHOUT_LLD
>   WITHOUT_LLDB
> 
> which WITHOUT_LLD_IS_LD might also belong to, there is no mention of
> other options enforcing it.
 I don't remember now why I use WITHOUT_TOOLCHAIN only at installworld
stageā€¦ There was a reason, but I don't remember it!

> Shouldn't nanobsd disable these by default?
 nanobsd doesn't disable anything by default, and, IMHO, it is right way
to go.

-- 
// Lev Serebryakov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7e07a3a7-21ba-4770-8dd3-feff92b41f7a>