Re: [kbuild-all] [rcu:rcu/next 4/4] frv-linux-ld: Warning: size of symbol `sys_membarrier' changed from 8 in kernel/sys_ni.o to 44 in kernel/sched/membarrier.o

From: Paul E. McKenney
Date: Fri Jul 28 2017 - 08:43:37 EST


On Fri, Jul 28, 2017 at 05:42:16PM +0800, Fengguang Wu wrote:
> On Fri, Jul 28, 2017 at 11:19:33AM +0200, Peter Zijlstra wrote:
> >On Fri, Jul 28, 2017 at 12:46:40AM +0000, Mathieu Desnoyers wrote:
> >
> >>> This is a new one on me. What do we do to fix it?
> >
> >Apparently (see below) the answer is, we ignore this.
> >
> >>I would suspect this might be caused by moving membarrier.c from kernel/
> >>to kernel/sched/. Perhaps Peter knows ?
> >
> ><peterz> dhowells: hey, I know you don't care about FRV anymore, but suppose the 0-day thing says things like:
> ><peterz> >> frv-linux-ld: Warning: size of symbol `sys_setuid' changed from 272 in
> ><peterz> >> kernel/sys.o to 8 in kernel/sys_ni.o
> ><peterz> dhowells: do you have any clue wth went wrong?
> ><dhowells> peterz: it's been saying that for a long time, but I've no idea why
> ><dhowells> didn't seem to stop it working
> ><dhowells> I suspect it might not be handing weak symbol elimination correctly or something
> ><peterz> fair enough, I'll ignore it then
>
> OK, I'll teach the robot to ignore all such warnings:
>
> frv-linux-ld: Warning: size of symbol `sys_setuid' changed from 272 in kernel/sys.o to 8 in kernel/sys_ni.o
>
> I'll use blacklist pattern:
>
> frv-linux-ld: Warning: size of symbol .* changed from

Thank you all for chasing this down!

Thanx, Paul