Date: Mon, 17 Apr 2017 10:23:57 -0400 From: Ed Maste <emaste@freebsd.org> To: Mark Millard <markmi@dsl-only.net> Cc: Dimitry Andric <dimitry@andric.com>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Subject: Re: WITH_LLD_IS_LD vs default WITHOUT_SYSTEM_COMPILER: What are the reasons? Message-ID: <CAPyFy2D8jfPyWdNvxEJiw7d-CUgwGnO8sZ-gpRFry8J%2BJgTEtg@mail.gmail.com> In-Reply-To: <C5A870C8-A7C7-4E84-AE88-AFFCC92299B1@dsl-only.net> References: <B7BEE165-C4AC-4670-9972-B9CB522A25DC@dsl-only.net> <7DB9F23E-2D55-44C3-AA91-C209BF584C4A@andric.com> <C5A870C8-A7C7-4E84-AE88-AFFCC92299B1@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 14 April 2017 at 20:16, Mark Millard <markmi@dsl-only.net> wrote: > So it sounds like I can freely mix WITH_LLD_IS_LD and WITH_SYSTEM_COMPILER > in any system-clang 4.0 based system build context, no actual problem > cases, even if the existing system build used a binutils ld (for example). Yes. WITH_LLD_IS_LD implying WITHOUT_SYSTEM_COMPILER was added because LLD requires tblgen and libllvm, but they were originally built only when needed for Clang. In cases where the SYSTEM_COMPILER default logic determined that the host compiler was identical to the to-be-built bootstrap compiler the build would skip building Clang, tblgen, and libllvm. This was fixed by r316647 and the connection between LLD_IS_LD and SYSTEM_COMPILER can be removed in due course.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2D8jfPyWdNvxEJiw7d-CUgwGnO8sZ-gpRFry8J%2BJgTEtg>