2015-12-01 20:23:24

by Mark Brown

[permalink] [raw]
Subject: linux-next: build failure after merge of the modules tree

Hi Rusty,

After merging the modules tree, today's linux-next x86 allmodconfig build (20151201) failed like this:

/home/broonie/next/next/arch/x86/kernel/livepatch.c: In function 'klp_write_module_reloc':
/home/broonie/next/next/arch/x86/kernel/livepatch.c:75:22: error: 'struct module' has no member named 'core_ro_size'
if (loc < core + mod->core_ro_size)
^
/home/broonie/next/next/scripts/Makefile.build:258: recipe for target 'arch/x86/kernel/livepatch.o' failed
make[3]: *** [arch/x86/kernel/livepatch.o] Error 1

I've used the modules tree from the previous -next (which looks to be what's in Linus' tree already) instead. Or at least I'll try to, it looks like I had a bit of driver error with the scripts here...


Attachments:
(No filename) (746.00 B)
(No filename) (473.00 B)
Download all attachments

2015-12-02 19:52:30

by Rusty Russell

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the modules tree

Mark Brown <[email protected]> writes:
> Hi Rusty,
>
> After merging the modules tree, today's linux-next x86 allmodconfig build (20151201) failed like this:
>
> /home/broonie/next/next/arch/x86/kernel/livepatch.c: In function 'klp_write_module_reloc':
> /home/broonie/next/next/arch/x86/kernel/livepatch.c:75:22: error: 'struct module' has no member named 'core_ro_size'
> if (loc < core + mod->core_ro_size)

Yep, I missed that one.

I also missed an ARM case, so I'll rebase the tree (it's near the top
anyway).

Cheers,
Rusty.