From: kernel test robot <lkp@intel.com>
To: Atish Patra <atishp@rivosinc.com>
Cc: kbuild-all@lists.01.org, Atish Patra <Atish.Patra@wdc.com>,
linux-kernel@vger.kernel.org
Subject: [atishp04:kvm_perf_rfc_buildtest 15/24] include/asm-generic/cmpxchg.h:76: undefined reference to `__generic_xchg_called_with_bad_pointer'
Date: Wed, 17 Aug 2022 16:13:52 +0800 [thread overview]
Message-ID: <202208171554.YLAVtmnV-lkp@intel.com> (raw)
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
reply other threads:[~2022-08-17 8:14 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=202208171554.YLAVtmnV-lkp@intel.com \
--to=lkp@intel.com \
--cc=Atish.Patra@wdc.com \
--cc=atishp@rivosinc.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®