All of lore.kernel.org
 help / color / mirror / Atom feed
* [atishp04:kvm_perf_rfc_buildtest 15/24] include/asm-generic/cmpxchg.h:76: undefined reference to `__generic_xchg_called_with_bad_pointer'
@ 2022-08-17  8:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-17  8:13 UTC (permalink / raw)
  To: Atish Patra; +Cc: kbuild-all, Atish Patra, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-17  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17  8:13 [atishp04:kvm_perf_rfc_buildtest 15/24] include/asm-generic/cmpxchg.h:76: undefined reference to `__generic_xchg_called_with_bad_pointer' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.