From owner-freebsd-current@freebsd.org Tue Aug 30 03:12:21 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 C886FBC7E65 for ; Tue, 30 Aug 2016 03:12:21 +0000 (UTC) (envelope-from mmacy@nextbsd.org) Received: from sender163-mail.zoho.com (sender163-mail.zoho.com [74.201.84.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD2A96A4 for ; Tue, 30 Aug 2016 03:12:21 +0000 (UTC) (envelope-from mmacy@nextbsd.org) Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1472526728154785.3280718466957; Mon, 29 Aug 2016 20:12:08 -0700 (PDT) Date: Mon, 29 Aug 2016 20:12:08 -0700 From: Matthew Macy To: "freebsd-current@freebsd.org" Message-ID: <156d96ebba6.d2524daa80643.7192912559150916238@nextbsd.org> Subject: External toolchain support broken for devel/llvm38 but not devel/llvm37 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail 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 03:12:21 -0000 It looks like there is something broken with the devel/llvm38 port or external toolchain support has regressed: This works: make XCC=/usr/local/bin/clang37 XCXX=/usr/local/bin/clang++37 XCPP=/usr/local/bin/clang-cpp37 buildworld -j12 -s This fails: make XCC=/usr/local/bin/clang38 XCXX=/usr/local/bin/clang++38 XCPP=/usr/local/bin/clang-cpp38 buildworld -j12 -s with: /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_standalone-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) mmacy@armageddon [~/devel/freebsd-ports-graphics/devel/llvm38|20:07|19] ls /usr/local/llvm38/lib/clang/3.8.1/ include mmacy@armageddon [~/devel/freebsd-ports-graphics/devel/llvm38|20:08|20] ls /usr/local/llvm37/lib/clang/3.7.1 asan_blacklist.txt include lib