Re: 2.6.6-rc3-mm2 does not build on AMD64 + essential patch is missing

From: Andi Kleen
Date: Thu May 06 2004 - 02:45:03 EST


On Wed, May 05, 2004 at 10:13:52PM +0200, R. J. Wysocki wrote:
> Hi,
>
> The 2.6.6-rc3-mm2 kernel does not buld on AMD64 w/ NUMA, it appears. Here's
> what the gcc says:
>
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/x86_64/ia32/built-in.o(.text+0xa164): In function `ia32_setup_arg_pages':
> : undefined reference to `mpol_set_vma_default'
> kernel/built-in.o(.text+0x9ba0): In function `do_exit':
> : undefined reference to `mpol_free'
> make: *** [.tmp_vmlinux1] Error 1
>
> (attached is the .config). Also, IMHO, the patch:

Just revert the broken small-numa-api-fixups.patch patch,
which never seems to have been compile tested on anything.

>
> --- include/asm-x86_64/processor.h.orig 2004-05-05 21:35:55.890656408 +0200
> +++ include/asm-x86_64/processor.h 2004-05-05 21:41:15.930003032 +0200
> @@ -20,6 +20,8 @@
> #include <asm/mmsegment.h>
> #include <linux/personality.h>
>
> +#define ARCH_MIN_TASKALIGN 16
> +
> #define TF_MASK 0x00000100
> #define IF_MASK 0x00000200
> #define IOPL_MASK 0x00003000
>
> should be applied to it, so that it does not crash at init.

AFAIK Andrew fixed this in a different way.

-Andi
-
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/