linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>,
	kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	David Howells <dhowells@redhat.com>
Subject: Re: [mmotm:master 506/522] frv-linux-ld: Warning: size of symbol `sys_membarrier' changed from 8 in kernel/sys_ni.o to 52 in kernel/membarrier.o
Date: Tue, 18 Aug 2015 14:23:43 -0700	[thread overview]
Message-ID: <20150818142343.67b06e32577b6b77d8fb8478@linux-foundation.org> (raw)
In-Reply-To: <201508180946.7ISLU3CL%fengguang.wu@intel.com>

On Tue, 18 Aug 2015 09:43:48 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:

> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   ef4ce68013dd78948da68460aab14b59563998d0
> commit: a91c5d8940ac0be6c80a796ddf6a2ddae5242c58 [506/522] sgi-xp: replace cpu_to_node() with cpu_to_mem() to support memoryless node
> config: frv-defconfig (attached as .config)
> reproduce:
>   wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>   chmod +x ~/bin/make.cross
>   git checkout a91c5d8940ac0be6c80a796ddf6a2ddae5242c58
>   # save the attached .config to linux build tree
>   make.cross ARCH=frv 
> 
> All warnings (new ones prefixed by >>):
> 
>    frv-linux-ld: Warning: size of symbol `sys_setuid' changed from 272 in kernel/sys.o to 8 in kernel/sys_ni.o
>    frv-linux-ld: Warning: size of symbol `sys_setregid' changed from 328 in kernel/sys.o to 8 in kernel/sys_ni.o
>    frv-linux-ld: Warning: size of symbol `sys_setgid' changed from 212 in kernel/sys.o to 8 in kernel/sys_ni.o
> ...

Something appears to be screwed up in the FRV toolchain's handling of
weak symbols.

Possibly this is due to our implementation of cond_syscall().  I assume
this doesn't happen with C symbols which are declared __weak, so
perhaps someone who has an FRV compiler can look at the compiler's
assembly output for a __weak C symbol, compare that with the
cond_syscall() implementation and see if the difference suggests a fix.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2015-08-18 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18  1:43 kbuild test robot
2015-08-18 21:23 ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150818142343.67b06e32577b6b77d8fb8478@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=dhowells@redhat.com \
    --cc=fengguang.wu@intel.com \
    --cc=hannes@cmpxchg.org \
    --cc=jiang.liu@linux.intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox