Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 13:18:20 +0100
From:      Schaich Alonso <alonsoschaich@fastmail.fm>
To:        Ivan Klymenko <fidaj@ukr.net>
Cc:        freebsd-stable@freebsd.org, Jakub Lach <jakub_lach@mailplus.pl>
Subject:   Re: HEADS UP: merged llvm/clang 3.4
Message-ID:  <20140323131820.ea5227052253a4f8e6b5c80d@fastmail.fm>
In-Reply-To: <20140323124007.18989498@nonamehost.local>
References:  <0E7E81A1-54E9-4920-A360-005A1C0C4D47@FreeBSD.org> <20140322154403.GK43653@albert.catwhisker.org> <E168E301-D0A9-4DBB-B2FA-4F7E670F03A3@FreeBSD.org> <20140322203226.GO43653@albert.catwhisker.org> <1395566978437-5896805.post@n5.nabble.com> <20140323124007.18989498@nonamehost.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 23 Mar 2014 12:40:07 +0200
Ivan Klymenko <fidaj@ukr.net> wrote:

> =D0=92 Sun, 23 Mar 2014 02:29:38 -0700 (PDT)
> Jakub Lach <jakub_lach@mailplus.pl> =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...

As a workaround, you can avoid this by inserting

> NO_WERROR=3D
> WERROR=3D

into src.conf.

Alonso



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140323131820.ea5227052253a4f8e6b5c80d>