Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2004 07:30:14 GMT
From:      Ruslan Ermilov <ru@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/71406: set WARNS=1 and unbreak 'make buildworld' for RELENG_5
Message-ID:  <200409080730.i887UEla051421@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/71406; it has been noted by GNATS.

From: Ruslan Ermilov <ru@freebsd.org>
To: Yen-Ming Lee <leeym@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: bin/71406: set WARNS=1 and unbreak 'make buildworld' for RELENG_5
Date: Wed, 8 Sep 2004 10:20:53 +0300

 On Mon, Sep 06, 2004 at 02:08:36AM +0800, Yen-Ming Lee wrote:
 > 
 > It occurs 'make buildworld' from freshly updated /usr/src for RELENG_5.
 > I took a look on it, and found that it's caused by -Wall in CWARNFLAGS.
 > 
 > Set WARNS=1 might be a temporary (and dirty?) fix for it.
 > However, somebody need to permanently fix it from /usr/src/usr.bin/lex/gen.c
 > 
 > >How-To-Repeat:
 > 
 > http://lists.freebsd.org/pipermail/freebsd-current/2004-August/033116.html
 > 
 > cc -O -pipe  -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c nslexer.c
 > /dev/stdout: In function `_nsyylex':
 > /dev/stdout:711: warning: label `find_rule' defined but not used
 > /usr/src/lib/libc/net/nslexer.l: At top level:
 > /dev/stdout:1678: warning: 'yy_flex_realloc' defined but not used
 > *** Error code 1
 > 
 > Stop in /usr/src/lib/libc.
 > *** Error code 1
 > 
 I cannot reproduce this.  Please put the *compressed* full output,
 both stdout and stderr, available for download somewhere.  Please
 also show me the exact command that you use to build world, and
 the contents of your /etc/make.conf file, as well as the output
 from ``uname -a''.  Please also make sure that you build with an
 empty /usr/obj.
 
 
 Cheers,
 -- 
 Ruslan Ermilov
 ru@FreeBSD.org
 FreeBSD committer



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