From owner-freebsd-current@freebsd.org Tue Jan 30 12:12:14 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8284EC5CFC for ; Tue, 30 Jan 2018 12:12:13 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 883C469908; Tue, 30 Jan 2018 12:12:13 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.23.186] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 199876D3; Tue, 30 Jan 2018 15:12:12 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: How to avoid building of all llvm/clang-related stuff on recent CURRENT? To: Shane Ambler , Dimitry Andric Cc: freebsd-current References: <1eddd30d-2743-890f-3e9b-eff06a1d9a41@FreeBSD.org> <37FC8627-D520-4BAF-B168-783F39F44CAF@FreeBSD.org> <16ef72c6-38b1-5c58-bd0f-ab5d4eebf743@ShaneWare.Biz> From: Lev Serebryakov Organization: FreeBSD Message-ID: <7e07a3a7-21ba-4770-8dd3-feff92b41f7a@FreeBSD.org> Date: Tue, 30 Jan 2018 15:12:11 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <16ef72c6-38b1-5c58-bd0f-ab5d4eebf743@ShaneWare.Biz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 12:12:14 -0000 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