lkml.org 
[lkml]   [2006]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Announce: gcc bogus warning repository
On Sun, 01 Oct 2006 09:44:55 -0400 Jeff Garzik wrote:

>
> The level of warnings in a kernel build has lately increased to the
> point where it is hiding bugs and otherwise making life difficult.
>
> In particular, recent gcc versions throw warnings when it thinks a
> variable "MAY be used uninitialized", which is not terribly helpful due
> to the fact that most of these warnings are bogus.
>
> For those that may find this valuable, I have started a git repo that
> silences these bogus warnings, after careful auditing of code paths to
> ensure that the warning truly is bogus.
>
> The results may be found in the "gccbug" branch of
> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git
>
> This repository will NEVER EVER be pushed upstream. It exists solely
> for those who want to decrease their build noise, thereby exposing true
> bugs.
>
> The audit has already uncovered several minor bugs, lending credence to
> my theory that too many warnings hides bugs.

I usually build with must_check etc. enabled then grep them
away if I want to look for other messages. I think that the situation
is not so disastrous.

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-01 19:09    [W:0.092 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site