* [rcu:rcu/dev 46/46] arch/m32r/include/asm/cmpxchg.h:59: undefined reference to `__xchg_called_with_bad_pointer'
@ 2017-02-15 2:46 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-02-15 2:46 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-15 2:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 2:46 [rcu:rcu/dev 46/46] arch/m32r/include/asm/cmpxchg.h:59: undefined reference to `__xchg_called_with_bad_pointer' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).