buildkernel suddenly not respecting -DNO_WERROR

Kris Kennaway kris at obsecurity.org
Mon Jan 30 19:46:44 PST 2006


On Mon, Jan 30, 2006 at 07:39:41PM -0600, Conrad Sabatier wrote:
> 
> On 31-Jan-2006 Conrad Sabatier wrote:
> > I've been unable to build a new kernel for the last several days
> > (RELENG_6).
> > I keep getting warnings re: failed attempts to inline functions, which
> > are being treated as fatal errors due to the -Werror flag.
> > 
> > Is anyone else seeing this?  When exactly did buildkernel break, and why?
> 
> OK, I did a little digging and found that in src/sys/conf/kern.pre.mk, the
> variable name is WERROR, not NO_WERROR (like in share/mk/bsd.sys.mk).
> 
> Problem solved.  :-)

Well, it doesn't explain why your kernel build has suddenly sprouted
warnings when none should exist (unless you're using home-grown
compiler flags).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060130/3ab5d57b/attachment.bin


More information about the freebsd-stable mailing list