Messages in this thread | | | Date | Wed, 17 Aug 2022 16:13:52 +0800 | From | kernel test robot <> | Subject | [atishp04:kvm_perf_rfc_buildtest 15/24] include/asm-generic/cmpxchg.h:76: undefined reference to `__generic_xchg_called_with_bad_pointer' |
| |
tree: https://github.com/atishp04/linux kvm_perf_rfc_buildtest head: ff2f56ec4ff4f67ae3da3936939b1dcf53099a6e commit: 5faed77192c5455fe17fb4e6aea87e5bcc48a13d [15/24] COVER config: microblaze-buildonly-randconfig-r006-20220717 (https://download.01.org/0day-ci/archive/20220817/202208171554.YLAVtmnV-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/atishp04/linux/commit/5faed77192c5455fe17fb4e6aea87e5bcc48a13d git remote add atishp04 https://github.com/atishp04/linux git fetch --no-tags atishp04 kvm_perf_rfc_buildtest git checkout 5faed77192c5455fe17fb4e6aea87e5bcc48a13d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
microblaze-linux-ld: kernel/rcu/rcutorture.o: in function `__generic_xchg': >> include/asm-generic/cmpxchg.h:76: undefined reference to `__generic_xchg_called_with_bad_pointer' microblaze-linux-ld: kernel/trace/ring_buffer.o: in function `__generic_cmpxchg_local': >> include/asm-generic/cmpxchg-local.h:24: undefined reference to `wrong_size_cmpxchg' >> microblaze-linux-ld: include/asm-generic/cmpxchg-local.h:45: undefined reference to `wrong_size_cmpxchg'
vim +76 include/asm-generic/cmpxchg.h
b4816afa3986704 David Howells 2012-03-28 74 b4816afa3986704 David Howells 2012-03-28 75 default: 82b993e8249ae3c Mark Rutland 2021-05-25 @76 __generic_xchg_called_with_bad_pointer(); b4816afa3986704 David Howells 2012-03-28 77 return x; b4816afa3986704 David Howells 2012-03-28 78 } b4816afa3986704 David Howells 2012-03-28 79 } b4816afa3986704 David Howells 2012-03-28 80
:::::: The code at line 76 was first introduced by commit :::::: 82b993e8249ae3cb29c1b6eb8f6548f5748508b7 locking/atomic: cmpxchg: support ARCH_ATOMIC
:::::: TO: Mark Rutland <mark.rutland@arm.com> :::::: CC: Peter Zijlstra <peterz@infradead.org>
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |