From owner-freebsd-current@freebsd.org Sat Oct 17 07:09:36 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 56C45A17343 for ; Sat, 17 Oct 2015 07:09:36 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24016DD1; Sat, 17 Oct 2015 07:09:36 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pacfv9 with SMTP id fv9so42871681pac.3; Sat, 17 Oct 2015 00:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=URuWC3gLca1YFGhZUjYq0rZ1GjfnAW64WIFJYq/Sr2Y=; b=sdGTNhx5p3XUqdauTbGc4r1xdwz6vvMIDPSSdOusJC/iK7vjiVijJFZifGJ2wHTQHj QUSfOGfbsf/dlsUUsFok0PY6UgJjVSrSeohn9sYTJuFEGNzxGnLKTA7RLjuclkPR07q3 qJFYbzJn528b+C23woyH03x+Rf7Qo09csw6z4b0hQvvmFXsNFS5DOxpK1SqwiS8I3jT7 R06e+0yBccqCfAhPmRvvGxGnYDwBASIUO1mdwbOyfUn59OjZsTNz3mafZVcsgmQRdwez wQ2fUNLTb3/2ztDXlWCGfBejGo+zLcLe3avCkR/wtTu9jtGwjfb+8M/n6JIBIuUOTkly w23A== X-Received: by 10.68.242.130 with SMTP id wq2mr21092019pbc.117.1445065775754; Sat, 17 Oct 2015 00:09:35 -0700 (PDT) Received: from ?IPv6:2601:601:800:126d:50a2:a8c0:9eec:851c? ([2601:601:800:126d:50a2:a8c0:9eec:851c]) by smtp.gmail.com with ESMTPSA id ha1sm3154510pbc.54.2015.10.17.00.09.34 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 17 Oct 2015 00:09:35 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: FreeBSD_HEAD_amd64_gcc4.9 - Build #673 - Failure From: NGie Cooper In-Reply-To: <2B9A4B89-6D0D-4549-B249-FB30A8117DDF@gmail.com> Date: Sat, 17 Oct 2015 00:09:34 -0700 Cc: jenkins-admin@FreeBSD.org, ngie@FreeBSD.org, freebsd-current@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <78883694-7B54-4AC3-9B5B-D715D5DA1F88@gmail.com> 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> To: Bryan Drewery X-Mailer: Apple Mail (2.2104) 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 07:09:36 -0000 > 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 >>>=20 >>> = https://jenkins.freebsd.org/job/FreeBSD_HEAD_sparc64/lastBuild/consoleText= >>>=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=92s a race somewhere in the clang build=85 just not sure where yet. >> 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/c= lang/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 have a field named `Operand'! >>=20 >> def VMOVL : SInst<"vmovl", "wd", "csiUcUsUi">; >>=20 >> *** [arm_neon.h] Error code 1 >=20 > And=85 FWIW I=92m not sure your last set of changes caused this. Needs = more investigation. > Thanks! > -NGie Hmm=85 it=92s the only generated header: 67 GENINCS=3D arm_neon.h 68 CLEANFILES=3D ${GENINCS} ${GENINCS:C/\.h$/.d/} Well, lookie here: $ 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/freebsd/src/lib/clang/include/../../../contrib/llvm/tools/c= lang/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 have a field named `Operand'! def VMOVL : SInst<"vmovl", "wd", "csiUcUsUi">; ^ *** Error code 1 Stop. make: stopped in /home/ngie/git/freebsd/src/lib/clang/include The important thing to note is the Jenkins servers are running stable/10 = code too (IIRC), so it might be a mismatch in the tools. Also, this logic looks troublesome: 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/bin/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 This kind of complexity matched something that I simplified at $work due = to build races=85 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/c= lang/include/clang/Basic/arm_neon.td $ Voila. So this is happening because it=92s using clang-tblgen from the build = host somehow, which is not able to process the .td files. Thanks! -NGie=