public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Building 100 kernels; we suck at dependencies and drown in warnings
@ 2006-02-26 16:21 Jesper Juhl
  2006-02-26 16:31 ` Jesper Juhl
                   ` (6 more replies)
  0 siblings, 7 replies; 34+ messages in thread
From: Jesper Juhl @ 2006-02-26 16:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, Sam Ravnborg


Hi everyone,

I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)

	95 kernels were build with 'make randconfig'.
	1 kernel was build with the config I normally use for my own box.
	1 kernel was build from 'make defconfig'.
	1 kernel was build from 'make allmodconfig'.
	1 kernel was build from 'make allnoconfig'.
	1 kernel was build from 'make allyesconfig'.

That was an interresting experience. 

First of all not very many of the kernels actually build correctly and 
secondly, if I grep the build logs for warnings I'm swamped.

Out of 100 kernels 82 failed to build - that's an 18% success rate people, 
not very impressive.

Some of the failed builds are due to things like CONFIG_STANDALONE that 
will break the build if not set to Y (unless you have the firmware 
available ofcourse), but looking at the config files I find that only 26 
kernels have CONFIG_STANDALONE unset, so that only accounts for a quarter
of the kernels.

A lot of failed builds are due to invalid combinations of some stuff 
being build-in and some stuff being build as modules.
This, as far as I'm concerned, is something that the dependencies in 
Kconfig should make impossible - hence my conclusion that we suck at deps.

>From 100 kernel builds there was a total of 16152 warnings and 645 of those
are unique warnings, the rest are duplicates.

We are drowning in warnings people. Sure, many of the warnings are due to 
gcc getting something wrong and shouldn't really be emitted, but a lot of 
them point to actual problems or deficiencies (I obviously haven't looked 
at them all in detail yet, so take that with a grain of salt please).

In any case, it looks to me like we have some serious clean-up work to do.

Unfortunately I don't have anywhere to put all the configs and logs online,
but I can send them on request, or if someone can point at a space to 
upload them to I'll gladly make them available.

That's it for now, I'll get to work trying to clean up some of the breakage
I've seen, if anyone wants to join in feel free :)


--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html



^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2006-03-02 20:25 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-26 16:21 Building 100 kernels; we suck at dependencies and drown in warnings Jesper Juhl
2006-02-26 16:31 ` Jesper Juhl
2006-02-26 16:35   ` Jesper Juhl
2006-02-26 19:31     ` Dave Jones
2006-02-26 19:43       ` Jesper Juhl
2006-02-26 20:11         ` Jesper Juhl
2006-02-26 23:45         ` Nigel Cunningham
2006-02-27  2:02         ` Pavel Machek
2006-02-26 19:30   ` Dave Jones
2006-02-26 17:00 ` Adrian Bunk
2006-02-26 17:29   ` Jesper Juhl
2006-02-26 17:41     ` Adrian Bunk
2006-02-26 18:08       ` Jesper Juhl
2006-02-26 17:38 ` Jesper Juhl
2006-02-26 18:21 ` Diego Calleja
2006-02-26 18:45   ` Jesper Juhl
2006-02-26 19:03     ` Diego Calleja
2006-02-26 20:42 ` Lee Revell
2006-02-26 20:44   ` Jesper Juhl
2006-02-26 21:46   ` Nix
2006-02-26 21:49     ` Jesper Juhl
2006-02-26 21:53       ` Lee Revell
2006-02-26 21:56         ` Jesper Juhl
2006-02-26 22:08           ` Lee Revell
2006-02-26 22:12             ` Jesper Juhl
2006-02-27 17:25               ` Stephen Hemminger
2006-02-26 22:14     ` Al Viro
2006-02-26 22:32       ` Nix
2006-02-26 22:50         ` Lee Revell
2006-02-26 21:14 ` Grant Coady
2006-02-27 12:56   ` David Greaves
2006-02-28 10:30     ` Roman Zippel
2006-02-26 22:43 ` Sam Ravnborg
2006-03-02 20:25   ` Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox