clang 4.0.0 with_lld_is_ld build

Ed Maste emaste at freebsd.org
Wed Feb 8 13:51:39 UTC 2017


On 8 February 2017 at 08:10, Shawn Webb <shawn.webb at hardenedbsd.org> wrote:
> On Tuesday, 07 February 2017 06:55:44 PM Ed Maste wrote:
>> On 7 February 2017 at 17:32, Shawn Webb <shawn.webb at hardenedbsd.org> wrote:
>> > Hey All,
>> >
>> > On a system with clang 4.0.0 already installed with lld as ld, I get the
>> > following error compiling the latest HEAD of projects/clang400-import when
>>
>> > WITH_LLD_IS_LD is set:
>> For now try setting WITHOUT_SYSTEM_COMPILER.
>
> buildworld now works when also setting WITHOUT_SYSTEM_COMPILER.

Thanks for the report and testing.

I've created https://reviews.freebsd.org/D9487 to set this
automatically for now, and later we'll need to add a FreeBSD-specific
version to the linker (or just share Clang's FREEBSD_CC_VERSION) and
compare the host / in-tree linker versions as well.


More information about the freebsd-toolchain mailing list