From owner-freebsd-toolchain@freebsd.org Sat Jan 13 13:53:59 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74747E66583 for ; Sat, 13 Jan 2018 13:53:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35A902BF5 for ; Sat, 13 Jan 2018 13:53:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 009794720B; Sat, 13 Jan 2018 14:53:55 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_1B0D5698-0BF5-45DE-A943-353CB8DF9A0E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: projects/clang600-import and ld.lld Date: Sat, 13 Jan 2018 14:53:49 +0100 In-Reply-To: <20180112170446.knmihdnrrsqzwyba@mutt-hbsd> Cc: freebsd-toolchain@freebsd.org To: Shawn Webb References: <20180112143851.wzp373hapbsxyntu@mutt-hbsd> <7D27872B-1FAF-4DCE-AD90-B8F9EB866C75@FreeBSD.org> <20180112152659.rqkvhzny6hzczv3k@mutt-hbsd> <20180112170446.knmihdnrrsqzwyba@mutt-hbsd> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2018 13:53:59 -0000 --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 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 = 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&, 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--