From: kbuild test robot <fengguang.wu@intel.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org
Subject: [rcu:rcu/dev 46/46] arch/m32r/include/asm/cmpxchg.h:59: undefined reference to `__xchg_called_with_bad_pointer'
Date: Wed, 15 Feb 2017 10:46:08 +0800 [thread overview]
Message-ID: <201702151002.cew1tx1L%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4983 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
head: f09c1acfaa4b198694a31ba3e454c7d17c4fa680
commit: f09c1acfaa4b198694a31ba3e454c7d17c4fa680 [46/46] rcu: Add consistency checks for uses of segmented callback lists
config: m32r-usrv_defconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.0
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 f09c1acfaa4b198694a31ba3e454c7d17c4fa680
# save the attached .config to linux build tree
make.cross ARCH=m32r
All errors (new ones prefixed by >>):
kernel/built-in.o: In function `__xchg':
>> arch/m32r/include/asm/cmpxchg.h:59: undefined reference to `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4c080): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
>> arch/m32r/include/asm/cmpxchg.h:59: undefined reference to `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4c0bc): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
>> arch/m32r/include/asm/cmpxchg.h:59: undefined reference to `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4db74): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
>> arch/m32r/include/asm/cmpxchg.h:59: undefined reference to `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4dbc0): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
>> arch/m32r/include/asm/cmpxchg.h:59: undefined reference to `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4dd14): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
kernel/built-in.o:arch/m32r/include/asm/cmpxchg.h:59: more undefined references to `__xchg_called_with_bad_pointer' follow
kernel/built-in.o: In function `__xchg':
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4dd54): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4e0e4): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4e11c): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4e1d0): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4e208): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `__xchg_called_with_bad_pointer'
arch/m32r/include/asm/cmpxchg.h:59:(.text+0x4e470): additional relocation overflows omitted from the output
vim +59 arch/m32r/include/asm/cmpxchg.h
c9034c3a David Howells 2012-03-28 43 break;
c9034c3a David Howells 2012-03-28 44 #else /* CONFIG_SMP */
c9034c3a David Howells 2012-03-28 45 case 4:
c9034c3a David Howells 2012-03-28 46 __asm__ __volatile__ (
c9034c3a David Howells 2012-03-28 47 DCACHE_CLEAR("%0", "r4", "%2")
c9034c3a David Howells 2012-03-28 48 "lock %0, @%2; \n\t"
c9034c3a David Howells 2012-03-28 49 "unlock %1, @%2; \n\t"
c9034c3a David Howells 2012-03-28 50 : "=&r" (tmp) : "r" (x), "r" (ptr)
c9034c3a David Howells 2012-03-28 51 : "memory"
c9034c3a David Howells 2012-03-28 52 #ifdef CONFIG_CHIP_M32700_TS1
c9034c3a David Howells 2012-03-28 53 , "r4"
c9034c3a David Howells 2012-03-28 54 #endif /* CONFIG_CHIP_M32700_TS1 */
c9034c3a David Howells 2012-03-28 55 );
c9034c3a David Howells 2012-03-28 56 break;
c9034c3a David Howells 2012-03-28 57 #endif /* CONFIG_SMP */
c9034c3a David Howells 2012-03-28 58 default:
c9034c3a David Howells 2012-03-28 @59 __xchg_called_with_bad_pointer();
c9034c3a David Howells 2012-03-28 60 }
c9034c3a David Howells 2012-03-28 61
c9034c3a David Howells 2012-03-28 62 local_irq_restore(flags);
c9034c3a David Howells 2012-03-28 63
c9034c3a David Howells 2012-03-28 64 return (tmp);
c9034c3a David Howells 2012-03-28 65 }
c9034c3a David Howells 2012-03-28 66
c9034c3a David Howells 2012-03-28 67 #define xchg(ptr, x) \
:::::: The code at line 59 was first introduced by commit
:::::: c9034c3a1d67486284b3b569595a4bd377aaf8cc Disintegrate asm/system.h for M32R
:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 8631 bytes --]
reply other threads:[~2017-02-15 2:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201702151002.cew1tx1L%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
/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
all inboxes | Powered by JetHome®