From owner-freebsd-stable@FreeBSD.ORG Sun Mar 23 13:58:34 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FE20DCC for ; Sun, 23 Mar 2014 13:58:34 +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 57543BFE for ; Sun, 23 Mar 2014 13:58:33 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::cdb7:44e4:35b8:52a9] (unknown [IPv6:2001:7b8:3a7:0:cdb7:44e4:35b8:52a9]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 454F35C43; Sun, 23 Mar 2014 14:58:30 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_9A26BA53-50CC-4C4F-81A5-E70EAC1241CC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: HEADS UP: merged llvm/clang 3.4 From: Dimitry Andric In-Reply-To: <20140323131820.ea5227052253a4f8e6b5c80d@fastmail.fm> Date: Sun, 23 Mar 2014 14:58:19 +0100 Message-Id: <58EBBC17-5D32-47FA-8220-50F0872E0787@FreeBSD.org> References: <0E7E81A1-54E9-4920-A360-005A1C0C4D47@FreeBSD.org> <20140322154403.GK43653@albert.catwhisker.org> <20140322203226.GO43653@albert.catwhisker.org> <1395566978437-5896805.post@n5.nabble.com> <20140323124007.18989498@nonamehost.local> <20140323131820.ea5227052253a4f8e6b5c80d@fastmail.fm> To: Schaich Alonso X-Mailer: Apple Mail (2.1874) Cc: Ivan Klymenko , freebsd-stable@freebsd.org, Jakub Lach X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2014 13:58:34 -0000 --Apple-Mail=_9A26BA53-50CC-4C4F-81A5-E70EAC1241CC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 23 Mar 2014, at 13:18, Schaich Alonso = wrote: > On Sun, 23 Mar 2014 12:40:07 +0200 > Ivan Klymenko wrote: >=20 >> =D0=92 Sun, 23 Mar 2014 02:29:38 -0700 (PDT) >> Jakub Lach =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>=20 >>> Well, speaking of strangeness, I cannot build kernel on amd64. >>>=20 >>> cc -O2 -pipe -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99=20 >>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W >>> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes >>> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch >>> -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c >>> aicasm_gram.c aicasm_gram.c:2:19: error: unused variable 'yysccsid' >>> [-Werror,-Wunused-const-variable] >>> static const char yysccsid[] =3D "@(#)yaccpar 1.9 (Berkeley) >>> 02/21/93"; ^ >>> 1 error generated. >>> *** Error code 1 >>>=20 >>> Stop. >>> make[2]: stopped in /usr/obj/usr/src/sys/GENERIC >>> *** Error code 1 >>>=20 >>> Stop. >>> make[1]: stopped in /usr/src >>> *** Error code 1 >>>=20 >>=20 >> I have the exact same problem... >=20 > As a workaround, you can avoid this by inserting >=20 >> NO_WERROR=3D >> WERROR=3D >=20 > into src.conf. Aha, now I get it. You seem to be building stable/9 from a stable/10 or newer host, which contains a newer version of yacc? Apparently it inserts an unused banner into the produced parser, which clang then complains about. The best solution is obviously to remove the banner, which is now being checked with the upstream yacc maintainer. Since people will be stuck with the "wrong" version of yacc for some time, I guess the easiest way is to disable warnings for aicasm for now. It is not as if anybody cares about warnings in aicasm; it has already been removed in head. :-) -Dimitry --Apple-Mail=_9A26BA53-50CC-4C4F-81A5-E70EAC1241CC 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) iEYEARECAAYFAlMu6IMACgkQsF6jCi4glqMinQCg0Zh0BAKk28yKYdSG1Lwx4XuX 5KEAoPFIDwfuRzaLeTQgebB7LCg4Un5h =iKvA -----END PGP SIGNATURE----- --Apple-Mail=_9A26BA53-50CC-4C4F-81A5-E70EAC1241CC--