Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2018 14:53:49 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        freebsd-toolchain@freebsd.org
Subject:   Re: projects/clang600-import and ld.lld
Message-ID:  <F9A6448B-58C3-4048-90DB-004BE97B9DB1@FreeBSD.org>
In-Reply-To: <20180112170446.knmihdnrrsqzwyba@mutt-hbsd>
References:  <20180112143851.wzp373hapbsxyntu@mutt-hbsd> <7D27872B-1FAF-4DCE-AD90-B8F9EB866C75@FreeBSD.org> <20180112152659.rqkvhzny6hzczv3k@mutt-hbsd> <20180112170446.knmihdnrrsqzwyba@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_1B0D5698-0BF5-45DE-A943-353CB8DF9A0E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 12 Jan 2018, at 18:04, Shawn Webb <shawn.webb@hardenedbsd.org> wrote:
>=20
> On Fri, Jan 12, 2018 at 10:26:59AM -0500, Shawn Webb wrote:
>> On Fri, Jan 12, 2018 at 04:17:50PM +0100, Dimitry Andric wrote:
>>> On 12 Jan 2018, at 15:38, Shawn Webb <shawn.webb@hardenedbsd.org> =
wrote:
>>>>=20
>>>> I know it's early in the game, but I thought I'd report this =
anyways.
>>>> I have lld as the default linker (MK_LLD_IS_LD=3Dyes). When lld =
tries to
>>>> link usr.bin/clang/llvm-extract/llvm-extract, lld errors out with =
some
>>>> unresolved symbols. The log is below.
>>>>=20
>>>> Has anyone else run into this?
>>>>=20
>>>> /usr/obj/scratch/hbsd-playground/amd64.amd64/tmp/usr/bin/ld: error: =
undefined symbol: compressBound
>>>>>>> referenced by Compression.cpp:63 =
(/scratch/hbsd-playground/contrib/llvm/lib/Support/Compression.cpp:63)
>>>>>>>             Compression.o:(llvm::zlib::compress(llvm::StringRef, =
llvm::SmallVectorImpl<char>&, llvm::zlib::CompressionLevel)) in archive =
/usr/obj/scratch/hbsd-playground/amd64.amd64
>>>> /lib/clang/libllvm/libllvm.a
...
> I've attached a patch which allows buildworld to succeed on
> HardenedBSD's retpoline branch.

Committed in r327918.

-Dimitry


--Apple-Mail=_1B0D5698-0BF5-45DE-A943-353CB8DF9A0E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWloPcwAKCRCwXqMKLiCW
ozY4AKDOmfNtnimMWE+T12E/YimBiWIr9ACfbHmCApyPbW0VdF+OmljHIGQI/A4=
=nU6E
-----END PGP SIGNATURE-----

--Apple-Mail=_1B0D5698-0BF5-45DE-A943-353CB8DF9A0E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F9A6448B-58C3-4048-90DB-004BE97B9DB1>