From owner-freebsd-toolchain@FreeBSD.ORG Sun Mar 23 22:51:15 2014 Return-Path: Delivered-To: toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5A3BA6C; Sun, 23 Mar 2014 22:51:15 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8B949F4B; Sun, 23 Mar 2014 22:51:15 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::b9f0:3633:d663:add7] (unknown [IPv6:2001:7b8:3a7:0:b9f0:3633:d663:add7]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 71A475C43; Sun, 23 Mar 2014 23:51:06 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_264D24DE-140D-4E8C-B009-5E9D12630A1C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: [releng_10 tinderbox] failure on arm/arm From: Dimitry Andric In-Reply-To: <1395611856.81853.54.camel@revolution.hippie.lan> Date: Sun, 23 Mar 2014 23:50:51 +0100 Message-Id: References: <201403231522.s2NFM5Kc019213@worker01.tb.des.no> <8EA3BF27-225E-4818-8983-8793FCDF08D9@bsdimp.com> <1395611856.81853.54.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1874) Cc: toolchain@FreeBSD.org, freebsd-arm , Gleb Smirnoff X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2014 22:51:16 -0000 --Apple-Mail=_264D24DE-140D-4E8C-B009-5E9D12630A1C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-7 On 23 Mar 2014, at 22:57, Ian Lepore wrote: > On Sun, 2014-03-23 at 22:31 +0100, Dimitry Andric wrote: >> On 23 Mar 2014, at 17:59, Warner Losh wrote: >>> About the time clang was MFC=A2d, this started appearing. It has = been several days now. >>>=20 >>> Did the clang MFC botch something? Was the timing just a = coincidence? >>=20 >> I hope the latter, but I didn't investigate yet. I do know that I = ran a >> make universe before the clang 3.4 merge, and that worked just fine. >>=20 >> That said, at first glance this looks like some sort of scripting >> problem? Does anybody know off the top of their heads where = ARM_NARCH >> and ARM_NMMUS are coming from? >>=20 >> -Dimitry >>=20 >=20 > from sys/arm/include/cpuconf.h. iirc, they use some compiler = predefined > macros. I just had a look at the full build log, and it died here: =3D=3D=3D> usr.sbin/route6d (depend) rm -f .depend CC=3D'cc ' mkdep -f .depend -a -DHAVE_POLL_H -std=3Dgnu99 = /src/usr.sbin/route6d/route6d.c In file included from /src/usr.sbin/route6d/route6d.c:68: In file included from /obj/arm.arm/src/tmp/usr/include/net/route.h:36: In file included from /obj/arm.arm/src/tmp/usr/include/sys/counter.h:35: In file included from = /obj/arm.arm/src/tmp/usr/include/machine/counter.h:32: In file included from /obj/arm.arm/src/tmp/usr/include/sys/pcpu.h:48: In file included from = /obj/arm.arm/src/tmp/usr/include/machine/pcpu.h:35: /obj/arm.arm/src/tmp/usr/include/machine/cpuconf.h:108:2: error: = ARM_NARCH is 0 #error ARM_NARCH is 0 ^ /obj/arm.arm/src/tmp/usr/include/machine/cpuconf.h:183:2: error: = ARM_NMMUS is 0 #error ARM_NMMUS is 0 ^ 2 errors generated. The parts in cpuconf.h that produce this error are: #if ARM_NARCH =3D=3D 0 && !defined(KLD_MODULE) && defined(_KERNEL) #error ARM_NARCH is 0 #endif [...] #if ARM_NMMUS =3D=3D 0 && !defined(KLD_MODULE) && defined(_KERNEL) #error ARM_NMMUS is 0 #endif so this error was most likely caused by route6d.c defining _KERNEL to 1 before including . I expect that Gleb Smirnoff's r263668 (which removes the _KERNEL define again) will fix it. -Dimitry --Apple-Mail=_264D24DE-140D-4E8C-B009-5E9D12630A1C 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.22 (Darwin) iEYEARECAAYFAlMvZVcACgkQsF6jCi4glqN3FwCdHaaxoSY1cqhsMYuVwK5Qq90C A4EAoOH3+7Pjhfh+ezYH04vntav4N8ii =3w3y -----END PGP SIGNATURE----- --Apple-Mail=_264D24DE-140D-4E8C-B009-5E9D12630A1C--