Thread (11 messages) 11 messages, 7 authors, 2004-01-21

Re: 2.6.1-mm5 (compile stats)

From: John Cherry <hidden>
Date: 2004-01-20 22:14:25
Also in: lkml

On Tue, 2004-01-20 at 13:57, Adrian Bunk wrote:
On Tue, Jan 20, 2004 at 08:08:40AM -0800, John Cherry wrote:
quoted
The patch for better i386 CPU selection still impacts the allnoconfig
build.
In this case, there is no default CPU.  Kconfig patches should be tested
against defconfig, allnoconfig, allyesconfig, and allmodconfig.
...
I'm testing all my patches with both a complete non-modular and a 
completely modular .config [1], and additionally I mix these testings 
with using CONFIG_SMP=n and/or using gcc 2.95 which often find even more 
problems.

Regarding defconfig:
Although several options were added and/or changed, there was not a 
single update to the i386 defconfig since August last year.
Below is a patch that updates defconfig for 2.6.1-mm5.
Thanks for the patch.  I realize that defconfig is just ONE
configuration that can be built, but it has been used for a couple years
in automated build regressions.  And, it actually boots on a number of
desktop computers!
Regarding allnoconfig:
allnoconfig is a completely pathological case. It says "n" to support 
for ISA, MCA and PCI, and neither networking nor any block devices.
Besides, it says "n" to ELF, a.out and other binary formats.
Demanding that allnoconfig should compile (although the resulting kernel 
is completely useless) sounds a bit like demanding that no change in the 
kernel is allowed to cause regressions in the dbench results...
It is useful to omit a common option like e.g. PCI and check whether the 
kernel still compiles, but allnoconfig removes nearly everything and 
compiles such a small part of the kernel, that it's hardly useful.
I realize that allnoconfig is pathological, but it has caught several
config errors.  One would never try to boot from such a config.  Builds
based on allnoconfig have one purpose and that purpose is to validate
that defines are not used in cases where they are NOT defined in the
configuration.  Developers will quite often code a feature or
architecture with the config parameters always ON.  When the config
option is turned OFF, I will find compile errors, undefined variables,
and the like. This is actually quite a valuable screen.

If developers feel that this has outlived its usefulness, I'll remove it
from the compile regressions.  However, all I have received at this
point have been requests to put an allnoconfig build into the
regressions.

John



--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help