Messages in this thread Patch in this message | | | Date | Sun, 25 Jan 2004 17:21:22 +0100 | From | Adrian Bunk <> | Subject | Re: Kernels > 2.6.1-mm3 do not boot. |
| |
On Sun, Jan 25, 2004 at 04:39:56PM +0100, Fabio Coatti wrote: >... > > If this kernel works, please try -mm4 with disabled SMP support and > > support for the Athlon (and no other CPUs). > > Doesn't work > > > If you compile with > > make V=1 > > gcc -Wp,-MD,fs/.dcache.o.d -nostdinc -iwithprefix include -D__KERNEL__ > -Iinclude -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs > -fno-strict-aliasing -fno-common -pipe -msoft-float > -mpreferred-stack-boundary=2 -march=pentium4 -Iinclude/asm-i386/mach-default > -O2 -fomit-frame-pointer -funit-at-a-time -DKBUILD_BASENAME=dcache > -DKBUILD_MODNAME=dcache -c -o fs/.tmp_dcache.o fs/dcache.c
What's your gcc version ("gcc --version")?
Could you back out ("patch -p1 -R < ..." or manually remove the lines) the patch below and retry?
TIA Adrian
diff -puN Makefile~use-funit-at-a-time Makefile --- 25/Makefile~use-funit-at-a-time 2004-01-14 00:56:05.000000000 -0800 +++ 25-akpm/Makefile 2004-01-14 00:56:05.000000000 -0800 @@ -445,6 +445,10 @@ ifdef CONFIG_DEBUG_INFO CFLAGS += -g endif +# Enable unit-at-a-time mode when possible. It shrinks the +# kernel considerably. +CFLAGS += $(call check_gcc,-funit-at-a-time,) + # warn about C99 declaration after statement CFLAGS += $(call check_gcc,-Wdeclaration-after-statement,) _ - 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/
| |