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

From: David Howells
Date: Tue Aug 14 2012 - 10:27:15 EST



Rusty Russell <rusty@xxxxxxxxxxxxxxx> 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
--
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/