Re: buildkernel suddenly not respecting -DNO_WERROR



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

Attachment:pgp5LjmaIx6DA.pgp
Description: PGP signature



Relevant Pages

  • buildkernel suddenly not respecting -DNO_WERROR
    ... I've been unable to build a new kernel for the last several days. ... I keep getting warnings re: failed attempts to inline functions, ... Prev by Date: ...
    (freebsd-stable)
  • Re: Cleanup patches - comparison is always [true|false] + unsigned/signed compare, and similar issue
    ... > A) I wanted to remove code that could potentially be hiding a real bug. ... both be annoying for developers and dangerous for end-users. ... people will get involved in kernel developing in the end. ... > reason being that some warnings actually indicate real bugs - I'm aware ...
    (Linux-Kernel)
  • Re: large files: when ubiquitous?
    ... >>tries to store the return value in a 32bit integer, you get warnings. ... Actually I would like the compiler to produce ... libc define an interface in the headers. ... > The interface between libc and the kernel is different. ...
    (comp.os.linux.development.system)
  • spca5xx webcam driver not compiling on 2.6.13-rc4-RT-V0.7.52-07
    ... Building SPCA5XX driver for 2.5/2.6 kernel. ... all the warnings up to the error occur on a vanilla kernel compilation, ...
    (Linux-Kernel)
  • Re: Turbo Basic Explorer
    ... Warnings themselves do not quality as a "Break" in the language. ... Delphi does love to bitch endlessly itself until you turn off a number ... of compiler flags (honest, this is NOT nor ever will be a dotnet ... I don't care if typecasting and pointers are dotnet no-nos) ...
    (borland.public.delphi.non-technical)