linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [rcu:rcu/test 138/143] rcutorture.c:(.text.rcu_torture_reader_do_mbchk+0x30): undefined reference to `torture_num_online_cpus'
@ 2020-12-23 14:14 kernel test robot
  2020-12-23 15:15 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-12-23 14:14 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1634 bytes --]

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'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37844 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [rcu:rcu/test 138/143] rcutorture.c:(.text.rcu_torture_reader_do_mbchk+0x30): undefined reference to `torture_num_online_cpus'
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2020-12-23 15:15 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-23 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).