Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2017 08:51:17 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: clang 4.0.0 with_lld_is_ld build
Message-ID:  <CAPyFy2C5qq5iEi=AwfQe3iyuF-Rna-uwUEpG7uny0y0BAkj7Pw@mail.gmail.com>
In-Reply-To: <2399084.tyGSLFg5JA@hbsd-dev-laptop>
References:  <2232674.hLfPeFGiXF@hbsd-dev-laptop> <CAPyFy2Cj4x7T8-CCU4=%2BOjkHqpDqGi7BCFe_HeMB93Hvf-rZGA@mail.gmail.com> <2399084.tyGSLFg5JA@hbsd-dev-laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8 February 2017 at 08:10, Shawn Webb <shawn.webb@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2C5qq5iEi=AwfQe3iyuF-Rna-uwUEpG7uny0y0BAkj7Pw>