From owner-freebsd-current@freebsd.org Tue Aug 30 19:58:20 2016 Return-Path: Delivered-To: freebsd-current@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 A5C28BC9851 for ; Tue, 30 Aug 2016 19:58:20 +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 69993B54 for ; Tue, 30 Aug 2016 19:58:20 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::7c91:c4fa:d3ae:8ee5] (unknown [IPv6:2001:7b8:3a7:0:7c91:c4fa:d3ae:8ee5]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D3B0B13A3; Tue, 30 Aug 2016 21:58:17 +0200 (CEST) Subject: Re: External toolchain support broken for devel/llvm38 but not devel/llvm37 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_EC0D59A9-8F11-4E09-9E09-9CDFEFD926BB"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6.1 From: Dimitry Andric X-Priority: Medium In-Reply-To: <156d96ebba6.d2524daa80643.7192912559150916238@nextbsd.org> Date: Tue, 30 Aug 2016 21:57:40 +0200 Cc: "freebsd-current@freebsd.org" Message-Id: <9A62C6C2-5876-4566-A15E-1D5281C6BCC2@FreeBSD.org> References: <156d96ebba6.d2524daa80643.7192912559150916238@nextbsd.org> To: Matthew Macy X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 19:58:20 -0000 --Apple-Mail=_EC0D59A9-8F11-4E09-9E09-9CDFEFD926BB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 30 Aug 2016, at 05:12, Matthew Macy wrote: >=20 > It looks like there is something broken with the devel/llvm38 port or = external toolchain support has regressed: >=20 >=20 > This works: > make XCC=3D/usr/local/bin/clang37 XCXX=3D/usr/local/bin/clang++37 = XCPP=3D/usr/local/bin/clang-cpp37 buildworld -j12 -s >=20 > This fails: > make XCC=3D/usr/local/bin/clang38 XCXX=3D/usr/local/bin/clang++38 = XCPP=3D/usr/local/bin/clang-cpp38 buildworld -j12 -s >=20 > with: >=20 > = /home/mmacy/devel/build/mnt/storage/mmacy/devel/drm-next-merge/tmp/usr/bin= /ld: = /usr/local/llvm38/bin/../lib/clang/3.8.1/lib/freebsd/libclang_rt.ubsan_sta= ndalone-x86_64.a: No such file: No such file or directory > clang-3.8: error: linker command failed with exit code 1 (use -v to = see invocation) Looks like the llvm38 port didn't build the libclang_rt libraries. = These are needed for the sanitizers, and so on. The llvm37 port does have these: % ls -l llvm37/lib/clang/3.7.1/lib/freebsd total 4188 -rw-r--r-- 1 root wheel 2083354 2016-07-12 05:08:14 = libclang_rt.asan-i386.a -rwxr-xr-x 1 root wheel 705264 2016-07-12 05:09:27 = libclang_rt.asan-i386.so* -rw-r--r-- 1 root wheel 1620 2016-07-12 05:08:06 = libclang_rt.asan-preinit-i386.a -rw-r--r-- 1 root wheel 35914 2016-07-12 05:08:12 = libclang_rt.asan_cxx-i386.a -rw-r--r-- 1 root wheel 120524 2016-07-12 05:08:18 = libclang_rt.builtins-i386.a -rw-r--r-- 1 root wheel 33904 2016-07-12 05:08:19 = libclang_rt.profile-i386.a -rw-r--r-- 1 root wheel 417872 2016-07-12 05:08:19 = libclang_rt.safestack-i386.a -rw-r--r-- 1 root wheel 659270 2016-07-12 05:08:02 = libclang_rt.ubsan_standalone-i386.a -rw-r--r-- 1 root wheel 21234 2016-07-12 05:08:02 = libclang_rt.ubsan_standalone_cxx-i386.a -Dimitry --Apple-Mail=_EC0D59A9-8F11-4E09-9E09-9CDFEFD926BB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlfF5VkACgkQsF6jCi4glqOKBQCg5vL12vdn7BUotse4DxY6nrPD lIkAoLBMvmyTVyVHtSrYnlm7GwbLX4/S =hKNK -----END PGP SIGNATURE----- --Apple-Mail=_EC0D59A9-8F11-4E09-9E09-9CDFEFD926BB--