Re: 2.6.11-rc3-mm1 (compile stats)

From: John Cherry
Date: Fri Feb 04 2005 - 18:35:38 EST


On Fri, 2005-02-04 at 13:51 -0800, John Cherry wrote:
> On Fri, 2005-02-04 at 13:13 -0800, Andrew Morton wrote:
> > John Cherry <cherry@xxxxxxxx> wrote:
> > >
> > > Errors in the build relate to an undefined reference to
> > > "randomize_va_space"...
> > >
> > > LD init/built-in.o
> > > LD .tmp_vmlinux1
> > > arch/i386/kernel/built-in.o(.text+0xf92): In function `arch_align_stack':
> > > : undefined reference to `randomize_va_space'
> > > make: [.tmp_vmlinux1] Error 1 (ignored)
> >
> > hm. You must have CONFIG_SYSCTL=n?
> >
> > I'll fix that up.
>
> CONFIG_SYSCTL=n in the allnoconfig build, which I would expect.
>
> http://developer.osdl.org/cherry/compile/2.6/linux-2.6.11-rc3-mm1.results/2.6.11-rc3-mm1.allnoconfig.bzImage.txt
>
> However, CONFIG_SYSCTL=y in the defconfig with similar errors...
>
> http://developer.osdl.org/cherry/compile/2.6/linux-2.6.11-rc3-mm1.results/2.6.11-rc3-mm1.defconfig.bzImage.txt

The errors in the defconfig build (with CONFIG_SYSCTL=y) are unrelated
to the undefined reference found in the allnoconfig build. The errors
in this build are..

kernel/power/swsusp.c: In function `alloc_pagedir':
kernel/power/swsusp.c:608: sorry, unimplemented: inlining failed in call to 'free_pagedir': function body not available
kernel/power/swsusp.c:646: sorry, unimplemented: called from here
make[2]: [kernel/power/swsusp.o] Error 1 (ignored)

Adrian Bunk has submitted a patch for this.

>
> I suspect the problem may be fixed with Frank Sorenson's patch. I'll
> kick off a rebuild with his patch and see what happens.

Frank's patch did not fix the undefined reference to randomize_va_space.
I suspect it is a CONFIG_SYSCTL=n problem as well since it only appears
in the allnoconfig build.

John

>
> John
>
> -------------------------------------------------------------------
>
> The stack randomization patches that went into 2.6.11-rc3-mm1 broke
> compilation of ARCH=um. This patch fixes compiling by adding
> arch_align_stack back in.
>
> Signed-off-by: Frank Sorenson <frank@xxxxxxxxxxxx>
> Acked-By: Jeff Dike <jdike@xxxxxxxxxxx>
>
> Frank
>
> <patch removed>
>

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