From owner-freebsd-stable@FreeBSD.ORG Sun Mar 23 14:16:46 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 6E5B6638; Sun, 23 Mar 2014 14:16:46 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 29F22DA3; Sun, 23 Mar 2014 14:16:45 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id B3C1F20AD4; Sun, 23 Mar 2014 10:16:44 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Sun, 23 Mar 2014 10:16:44 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=CKvsR0Hsa0raX00dZjlOsfURfWk=; b=Urnz9bd/9pqV1xBQ2MLTicksEPUz jY/oYE85j+ukSYr+B+v6PIYUL7IgdjzHJEi8pUoRBIUcS4KqHd0CJR9b0wWUbliD yopr7C0x80MRx0ejOl39TLo7uPUJFfe0rmI8u9SqEG31K0sIF+7ZVj7qE/TTCfnu zSEH45UGqZy/CcU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=CKvsR0Hsa0raX00dZjlOsf URfWk=; b=CSiCC6extS8uGOzsaXSh94zM7yP8bbtjtV1YjnWt/qP3IzPT5TAbWy /ybp6h3tds+HpUSZ/adjItOyKPY/SuNSumhoFqjFwCm0DVl+wrC4JnCm7y1vhCq6 exG+fimfOvSubc4bfmwKkjZGRl9DOD+2PbHRqLg4+1H4X+E05WgUc= X-Sasl-enc: eEwGVtb8r5MM2oADHJLMTpuJqgugawb9zLWddT3MUCYB 1395584204 Received: from skysong.divine.net (unknown [109.192.195.31]) by mail.messagingengine.com (Postfix) with ESMTPA id BD49D6801D5; Sun, 23 Mar 2014 10:16:43 -0400 (EDT) Date: Sun, 23 Mar 2014 15:16:40 +0100 From: Schaich Alonso To: Dimitry Andric Subject: Re: HEADS UP: merged llvm/clang 3.4 Message-Id: <20140323151640.6171e5c118f7dd26e0b7fc88@fastmail.fm> In-Reply-To: <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> <58EBBC17-5D32-47FA-8220-50F0872E0787@FreeBSD.org> X-Mailer: Sylpheed 3.3.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 14:16:46 -0000 On Sun, 23 Mar 2014 14:58:19 +0100 Dimitry Andric wrote: > On 23 Mar 2014, at 13:18, Schaich Alonso wrot= e: > > 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. >=20 > 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. >=20 > 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. >=20 > It is not as if anybody cares about warnings in aicasm; it has already > been removed in head. :-) >=20 > -Dimitry >=20 Actually I was building 10-STABLE from a 2 week older snapshot of 10-STABLE. The workaround is indeed from the FreeBSD-9 times' wiki article of building FreeBSD with clang, however I remembered those yacc statements to already have caused trouble in the past, so I look-up-ed the old articles and found this. Alonso