Subject: Re: linux-next: Tree for July 26 (uml)

From: David Howells <[email-masked]>
Date: Tue, 14 Aug 2012 15:26:53 +0100

Rusty Russell <[email-masked]> wrote:

> > >   CC      arch/x86/um/../kernel/module.o
> > > arch/x86/um/../kernel/module.c:96:5: error: redefinition of 'apply_relocate_add'
> > > include/linux/moduleloader.h:64:19: note: previous definition of 'apply_relocate_add' was here
> > > make[2]: *** [arch/x86/um/../kernel/module.o] Error 1

Hmmm...  I'm not sure how to deal with this.  The problem is that UML doesn't
draw the:

	select MODULES_USE_ELF_REL if X86_32
	select MODULES_USE_ELF_RELA if X86_64

definitions from arch/foo/Kconfig that tell it what modules will look like.

Should I just enable both REL and RELA in UML, or is there a better way to do
this?

David