From owner-freebsd-current@freebsd.org Sat Oct 17 17:58:47 2015 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 64840A17217 for ; Sat, 17 Oct 2015 17:58:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 47E84B13; Sat, 17 Oct 2015 17:58:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 418541CEF; Sat, 17 Oct 2015 17:58:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id E9CE51125C; Sat, 17 Oct 2015 17:58:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id JgPzshj8aCBv; Sat, 17 Oct 2015 17:58:44 +0000 (UTC) Subject: Re: FreeBSD_HEAD_amd64_gcc4.9 - Build #673 - Failure DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 0A26211257 To: NGie Cooper References: <1743862498.27.1445058611319.JavaMail.jenkins@jenkins-9.freebsd.org> <5621D9F1.9080707@FreeBSD.org> <5621DDB1.8020807@FreeBSD.org> <31F4FEC4-B677-4EA1-BD67-F2DC458A99E4@gmail.com> <2B9A4B89-6D0D-4549-B249-FB30A8117DDF@gmail.com> <78883694-7B54-4AC3-9B5B-D715D5DA1F88@gmail.com> <56226FDB.70800@FreeBSD.org> <56227093.4020005@FreeBSD.org> <56228156.9070902@FreeBSD.org> Cc: jenkins-admin@FreeBSD.org, ngie@FreeBSD.org, freebsd-current@FreeBSD.org From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <56228C52.6000200@FreeBSD.org> Date: Sat, 17 Oct 2015 10:58:42 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56228156.9070902@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k0OT0Gh41pQhwVromxdNDkcLcclSPgaQC" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 17 Oct 2015 17:58:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --k0OT0Gh41pQhwVromxdNDkcLcclSPgaQC Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 10/17/2015 10:11 AM, Bryan Drewery wrote: > On 10/17/2015 9:00 AM, Bryan Drewery wrote: >> On 10/17/2015 8:57 AM, Bryan Drewery wrote: >>>> Guess what happens when I use a proper clang-tblgen? >>>> >>>> $ make all >>>> /usr/obj/home/ngie/git/freebsd/src/usr.bin/clang/clang-tblgen/clang-= tblgen -gen-arm-neon -d arm_neon.d -o arm_neon.h /home/ngie/git/freebsd= /src/lib/clang/include/../../../contrib/llvm/tools/clang/include/clang/Ba= sic/arm_neon.td >>>> $ >>>> >>>> Voila. >>>> >>>> So this is happening because it=92s using clang-tblgen from the buil= d host somehow, which is not able to process the .td files. >>> Perhaps PATH got set wrong somehow. Note that the build log does not >>> have an absolute path for clang-tblgen, as the above code would cause= =2E >>> It is just using the default PATH as other builds do. >> >> I reproduced this PATH issue here locally and digging deeper. >> >=20 > Yes, something in my changes definitely is passing the wrong PATH here.= >=20 I figured it out. I've been working on cleaning up bsd.subdir.mk for usage with 'includes' because it currently uses a hack that runs sub-makes itself for 'buildincludes' and 'installincludes' (see r289282 which was reverted but I have a working version now). The older, duplicated bsd.subdir.mk logic, for calling 'includes' was being executed in each subdir directly, meaning 'cd lib && make includes' became 'cd lib && make buildincludes && make installincludes'. Now that the bsd.subdir.mk logic is used it is doing 'make includes', which becomes 'make buildincludes && make installincludes' from the top-level which pulls in the PATH=3D from /Makefile. This of course impacts all of the targets I changed. I'll have a fix committed shortly. --=20 Regards, Bryan Drewery --k0OT0Gh41pQhwVromxdNDkcLcclSPgaQC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWIoxSAAoJEDXXcbtuRpfP1/4H+gOcv9d02MN3bsq0xhlrddpz yswYH5hQL/96lVMaCup6jRunGmcArfB2uZBaVZCFyzjnHDLEzjfBSd9klOTDqAL9 uWvQ4Kfqzdc3pO8kPhu/QLFOot1zUI0CLf9LTYqsCwQm8VKUbD5ePP+yyS86Ja6z ZEHm2vnX+zJZYl/3vOxNLPM4Xs6B+xTs+sNjLUa64eNHz4HdPKVVujDIzNdITXbC 7duF4FGmqFzUL2bw5bY+RVkkEM2GE0+8GoC2HknpaOrQ1tKCQRB8rbxFNssDAZlL uqQ+g0+PD49khkkBYipJNwPURTn3sKITJXQWeUuWg0NrOzYTaTnzD0M3BwxVvN0= =QU+5 -----END PGP SIGNATURE----- --k0OT0Gh41pQhwVromxdNDkcLcclSPgaQC--