From owner-freebsd-current@freebsd.org Sat Oct 17 14:46:14 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 28894A1731E for ; Sat, 17 Oct 2015 14:46:14 +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 1141D14BE; Sat, 17 Oct 2015 14:46:14 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 05E401716; Sat, 17 Oct 2015 14:46:14 +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 CB7DF14C57; Sat, 17 Oct 2015 14:46:13 +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 VeIPzBmcMsIT; Sat, 17 Oct 2015 14:46:11 +0000 (UTC) Content-Type: text/plain; charset=utf-8 DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com C9C3714C52 Mime-Version: 1.0 (1.0) Subject: Re: FreeBSD_HEAD_amd64_gcc4.9 - Build #673 - Failure From: Bryan Drewery X-Mailer: iPhone Mail (12H143) In-Reply-To: <78883694-7B54-4AC3-9B5B-D715D5DA1F88@gmail.com> Date: Sat, 17 Oct 2015 07:46:10 -0700 Cc: "jenkins-admin@FreeBSD.org" , "ngie@FreeBSD.org" , "freebsd-current@FreeBSD.org" Content-Transfer-Encoding: quoted-printable Message-Id: 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> To: NGie Cooper 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 14:46:14 -0000 > On Oct 17, 2015, at 00:09, NGie Cooper wrote: >=20 >=20 >>> On Oct 16, 2015, at 23:38, NGie Cooper wrote: >>>=20 >>>> On Oct 16, 2015, at 23:26, NGie Cooper wrote: >>>>=20 >>>> On Oct 16, 2015, at 22:33, Bryan Drewery wrote: >>>=20 >>> ... >>>=20 >>>>> I don't see how these changes cause this and I'm unable to reproduce >>>>> here. Is anyone else hitting this? >>>>=20 >>>> https://jenkins.freebsd.org/job/FreeBSD_HEAD_sparc64/lastBuild/consoleT= ext >>>>=20 >>>> The sparc64 build is past this. I don't think it was due to my changes,= >>>> which were largely a NOP. >>>>=20 >>>> I'm going to bed now, will look more tomorrow. >>>=20 >>> I just hit it on my 10.2-RELEASE host with dual-SSDs and gobs of RAM. It= =E2=80=99s a race somewhere in the clang build=E2=80=A6 just not sure where y= et. >>> Thanks, >>> -NGie >>>=20 >>> --- arm_neon.h --- >>> 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/clan= g/Basic/arm_neon.td >>> /home/ngie/git/freebsd/src/lib/clang/include/../../../contrib/llvm/tools= /clang/include/clang/Basic/arm_neon.td:701:1: error: Record `VMOVL' does not= have a field named `Operand'! >>>=20 >>> def VMOVL : SInst<"vmovl", "wd", "csiUcUsUi">; >>>=20 >>> *** [arm_neon.h] Error code 1 >>=20 >> And=E2=80=A6 FWIW I=E2=80=99m not sure your last set of changes caused th= is. Needs more investigation. >> Thanks! >> -NGie >=20 > Hmm=E2=80=A6 it=E2=80=99s the only generated header: >=20 > 67 GENINCS=3D arm_neon.h > 68 CLEANFILES=3D ${GENINCS} ${GENINCS:C/\.h$/.d/} >=20 > Well, lookie here: >=20 > $ make clean > rm -f arm_neon.h arm_neon.d > $ make arm_neon.h > clang-tblgen -gen-arm-neon -d arm_neon.d -o arm_neon.h /home/ngie/git/fr= eebsd/src/lib/clang/include/../../../contrib/llvm/tools/clang/include/clang/= Basic/arm_neon.td > /home/ngie/git/freebsd/src/lib/clang/include/../../../contrib/llvm/tools/c= lang/include/clang/Basic/arm_neon.td:701:1: error: Record `VMOVL' does not h= ave a field named `Operand'! >=20 > def VMOVL : SInst<"vmovl", "wd", "csiUcUsUi">; > ^ > *** Error code 1 >=20 > Stop. > make: stopped in /home/ngie/git/freebsd/src/lib/clang/include >=20 > The important thing to note is the Jenkins servers are running stable/10 c= ode too (IIRC), so it might be a mismatch in the tools. >=20 > Also, this logic looks troublesome: >=20 > 42 .if empty(TOOLSDIR) || !exists(${TOOLSDIR}/usr/bin/clang-tblgen) > 43 .if ${MACHINE} =3D=3D "host" && defined(BOOTSTRAPPING_TOOLS) > 44 .if !empty(LEGACY_TOOLS) && exists(${LEGACY_TOOLS}/usr/bin/tblgen) > 45 TOOLSDIR=3D ${LEGACY_TOOLS} > 46 .endif > 47 .endif > 48 .if ${MK_STAGING} =3D=3D "yes" && exists(${STAGE_HOST_OBJTOP:Uno}/usr/b= in/tblgen) > 49 TOOLSDIR=3D ${STAGE_HOST_OBJTOP} > 50 .endif > 51 .if exists(${LEGACY_TOOLS:Uno}/usr/bin/tblgen) > 52 TOOLSDIR=3D ${LEGACY_TOOLS} > 53 .endif > 54 .endif > 55 TOOLSDIR?=3D > 56 .if !empty(TOOLSDIR) && exists(${TOOLSDIR}/usr/bin/clang-tblgen) > 57 TBLGEN=3D ${TOOLSDIR}/usr/bin/tblgen > 58 CLANG_TBLGEN=3D ${TOOLSDIR}/usr/bin/clang-tblgen > 59 .endif > 60 TBLGEN?=3D tblgen > 61 CLANG_TBLGEN?=3D clang-tblgen >=20 > This kind of complexity matched something that I simplified at $work due t= o build races=E2=80=A6 >=20 > Guess what happens when I use a proper clang-tblgen? >=20 > $ 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/Basic/arm_neon= .td > $ >=20 > Voila. >=20 > So this is happening because it=E2=80=99s using clang-tblgen from the buil= d host somehow, which is not able to process the .td files. Hm, I will look more shortly. >=20 > Thanks! > -NGie