2013-04-14 01:04:29

by Akemi Yagi

[permalink] [raw]
Subject: Error in linux-3.0.73 build

Just tried to build from the linux-3.0.73 source tarball and got the following error:

arch/x86/mm/numa_32.c:107: error: redefinition of 'alloc_remap'
include/linux/bootmem.h:144: note: previous definition of 'alloc_remap' was here
make[2]: *** [arch/x86/mm/numa_32.o] Error 1
make[1]: *** [arch/x86/mm] Error 2
make: *** [arch/x86] Error 2

This only affects the 32-bit build of the kernel with the RHEL-6 configuration.

Akemi
The ELRepo Team.


2013-04-18 18:06:56

by Akemi Yagi

[permalink] [raw]
Subject: Re: Error in linux-3.0.73 build

On Sun, 14 Apr 2013 01:04:12 +0000, Akemi Yagi wrote:

> Just tried to build from the linux-3.0.73 source tarball and got the
> following error:
>
> arch/x86/mm/numa_32.c:107: error: redefinition of 'alloc_remap'
> include/linux/bootmem.h:144: note: previous definition of 'alloc_remap'
> was here make[2]: *** [arch/x86/mm/numa_32.o] Error 1 make[1]: ***
> [arch/x86/mm] Error 2
> make: *** [arch/x86] Error 2
>
> This only affects the 32-bit build of the kernel with the RHEL-6
> configuration.

Kernel 3.0.74 builds fine. The build error reported above was apparently
fixed by this one:

Dave Hansen (1):
x86-32, mm: Rip out x86_32 NUMA remapping code

Akemi