From owner-freebsd-toolchain@freebsd.org Mon Aug 14 17:38:37 2017 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 C55CADD94F8 for ; Mon, 14 Aug 2017 17:38:37 +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 8AEB166AE3 for ; Mon, 14 Aug 2017 17:38:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::1c72:f3e9:1944:cc16] (unknown [IPv6:2001:470:7a58:0:1c72:f3e9:1944:cc16]) (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 336F1234E6; Mon, 14 Aug 2017 19:38:29 +0200 (CEST) From: Dimitry Andric Message-Id: <9CDB54BE-F695-4F22-AE0B-C6AF8657E86B@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_C0DC6364-6956-475E-878D-99359BDC92EC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Buildfailures with ld.lld Date: Mon, 14 Aug 2017 19:38:28 +0200 In-Reply-To: <20170814164058.dsh3bqg3kwxwv6dg@mutt-hbsd> Cc: Johannes Jost Meixner , freebsd-toolchain@freebsd.org To: Shawn Webb References: <20170814164058.dsh3bqg3kwxwv6dg@mutt-hbsd> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2017 17:38:37 -0000 --Apple-Mail=_C0DC6364-6956-475E-878D-99359BDC92EC Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 14 Aug 2017, at 18:40, Shawn Webb wrote: > > On Mon, Aug 14, 2017 at 07:28:39PM +0300, Johannes Jost Meixner wrote: >> I'm seeing a few `undefined references` trying to build recent base on >> HardenedBSD with clang 5.0.0: >> >> https://dpaste.de/FThb/raw >> >> Would you know what I am missing here? > > Hey Johannes, > > It looks like contrib/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp > isn't included in the Makefile for usr.bin/lld. > > I'm wondering if the lib/DebugInfo/DWARF files should be included in > usr.bin/lld/Makefile. dim@, could you verify? Those files are already in lib/clang/libllvm/Makefile. How can this particular error be reproduced? I just did a fresh clone of hardenedbsd master, and it built just fine for me, with an empty make.conf and src.conf. -Dimitry --Apple-Mail=_C0DC6364-6956-475E-878D-99359BDC92EC 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.1 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWZHgFAAKCRCwXqMKLiCW o1cnAJ9cBdWBpkPOwAUu2V16YfuQ/ZqKJQCaA5XhfIOTAEOv3NfpNAO3BsEXQFs= =hd5I -----END PGP SIGNATURE----- --Apple-Mail=_C0DC6364-6956-475E-878D-99359BDC92EC--