From: "Paul E. McKenney" <paulmck@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: Re: [rcu:rcu/test 138/143] rcutorture.c:(.text.rcu_torture_reader_do_mbchk+0x30): undefined reference to `torture_num_online_cpus'
Date: Wed, 23 Dec 2020 07:15:19 -0800 [thread overview]
Message-ID: <20201223151519.GD2657@paulmck-ThinkPad-P72> (raw)
In-Reply-To: <202012232257.xvh3k6a0-lkp@intel.com>
On Wed, Dec 23, 2020 at 10:14:02PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test
> head: 4c4c8e04a7f8522de634aa062f4cd6b8b80c151b
> commit: cf516f4063cae6b69de6dd734d6c57901d24f112 [138/143] torture: Maintain torture-specific set of CPUs-online books
> config: mips-randconfig-r024-20201221 (attached as .config)
> compiler: mipsel-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=cf516f4063cae6b69de6dd734d6c57901d24f112
> git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
> git fetch --no-tags rcu rcu/test
> git checkout cf516f4063cae6b69de6dd734d6c57901d24f112
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> mipsel-linux-ld: kernel/rcu/rcutorture.o: in function `rcu_torture_reader_do_mbchk':
> >> rcutorture.c:(.text.rcu_torture_reader_do_mbchk+0x30): undefined reference to `torture_num_online_cpus'
> mipsel-linux-ld: kernel/rcu/rcutorture.o: in function `rcu_torture_reader':
> >> rcutorture.c:(.text.rcu_torture_reader+0x118): undefined reference to `torture_num_online_cpus'
Good catch, fix applied with attribution, thank you!
Thanx, Paul
prev parent reply other threads:[~2020-12-23 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 14:14 [rcu:rcu/test 138/143] rcutorture.c:(.text.rcu_torture_reader_do_mbchk+0x30): undefined reference to `torture_num_online_cpus' kernel test robot
2020-12-23 15:15 ` Paul E. McKenney [this message]
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=20201223151519.GD2657@paulmck-ThinkPad-P72 \
--to=paulmck@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.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