HEADS UP: merged llvm/clang 3.4

Schaich Alonso alonsoschaich at fastmail.fm
Sun Mar 23 12:18:31 UTC 2014


On Sun, 23 Mar 2014 12:40:07 +0200
Ivan Klymenko <fidaj at ukr.net> wrote:

> В Sun, 23 Mar 2014 02:29:38 -0700 (PDT)
> Jakub Lach <jakub_lach at mailplus.pl> пишет:
> 
> > Well, speaking of strangeness, I cannot build kernel on amd64.
> > 
> > cc -O2 -pipe -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 
> > -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[] = "@(#)yaccpar     1.9 (Berkeley)
> > 02/21/93"; ^
> > 1 error generated.
> > *** Error code 1
> > 
> > Stop.
> > make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
> > *** Error code 1
> > 
> > Stop.
> > make[1]: stopped in /usr/src
> > *** Error code 1
> > 
> 
> I have the exact same problem...

As a workaround, you can avoid this by inserting

> NO_WERROR=
> WERROR=

into src.conf.

Alonso


More information about the freebsd-stable mailing list