linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
@ 2022-02-21 19:05 kernel test robot
  2022-02-21 21:47 ` Paul E. McKenney
  0 siblings, 1 reply; 7+ messages in thread
From: kernel test robot @ 2022-02-21 19:05 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

Hi Paul,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.02.17a
head:   f5b2eaf791ebbd6af881947ab7c40ed70681e534
commit: f5b2eaf791ebbd6af881947ab7c40ed70681e534 [73/73] EXP torture: Add tests demoing SLAB_TYPESAFE_BY_RCU
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220222/202202220308.TNib9D2v-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.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=f5b2eaf791ebbd6af881947ab7c40ed70681e534
        git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
        git fetch --no-tags paulmck-rcu dev.2022.02.17a
        git checkout f5b2eaf791ebbd6af881947ab7c40ed70681e534
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash

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 >>):

>> make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
   make[3]: Target '__build' not remade because of errors.

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

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

* Re: [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
  2022-02-21 19:05 [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a' kernel test robot
@ 2022-02-21 21:47 ` Paul E. McKenney
  2022-02-22  8:30   ` [kbuild-all] " Chen, Rong A
  0 siblings, 1 reply; 7+ messages in thread
From: Paul E. McKenney @ 2022-02-21 21:47 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel

On Tue, Feb 22, 2022 at 03:05:27AM +0800, kernel test robot wrote:
> Hi Paul,
> 
> First bad commit (maybe != root cause):
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.02.17a
> head:   f5b2eaf791ebbd6af881947ab7c40ed70681e534
> commit: f5b2eaf791ebbd6af881947ab7c40ed70681e534 [73/73] EXP torture: Add tests demoing SLAB_TYPESAFE_BY_RCU
> config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220222/202202220308.TNib9D2v-lkp@intel.com/config)
> compiler: arceb-elf-gcc (GCC) 11.2.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=f5b2eaf791ebbd6af881947ab7c40ed70681e534
>         git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
>         git fetch --no-tags paulmck-rcu dev.2022.02.17a
>         git checkout f5b2eaf791ebbd6af881947ab7c40ed70681e534
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
> 
> 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 >>):
> 
> >> make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
>    make[3]: Target '__build' not remade because of errors.

This is the only commit involving kernel/rcu/typesafe.o, so...

One the one hand, I do not plan to upstream this, so maybe it doesn't
matter.

I have been building this using the rcutorture scripting for some time,
same RCU-related .config as you are using.  But when I pulled it into
a clone in a neighboring directory, it failed just as it did for you.
The problem was that the update to kernel/rcu/Makefile somehow didn't
come across, so this line was missing:

	obj-$(CONFIG_RCU_TYPESAFE_TEST) += typesafe.o

Which of course explains the build failure.

I blew away that clone and re-cloned it.  And it still failed, both
with "make" from the commandline and under rcutorture.

Hahahahahahaahaha!!!

I forgot "git add kernel/rcu/typesafe.c".

There is now a new typesafe.2022.02.21a tag with this file added.

Good catch!  That file happened to still be lying around.  The first
"git reset --hard" would have destroyed.  Thank you!!!

And with that fixed, my clone now builds correctly.  Does this fix
it for you?

							Thanx, Paul

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

* Re: [kbuild-all] Re: [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
  2022-02-21 21:47 ` Paul E. McKenney
@ 2022-02-22  8:30   ` Chen, Rong A
  2022-02-22 14:53     ` Paul E. McKenney
  0 siblings, 1 reply; 7+ messages in thread
From: Chen, Rong A @ 2022-02-22  8:30 UTC (permalink / raw)
  To: paulmck, kernel test robot; +Cc: kbuild-all, linux-kernel



On 2/22/2022 5:47 AM, Paul E. McKenney wrote:
> On Tue, Feb 22, 2022 at 03:05:27AM +0800, kernel test robot wrote:
>> Hi Paul,
>>
>> First bad commit (maybe != root cause):
>>
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.02.17a
>> head:   f5b2eaf791ebbd6af881947ab7c40ed70681e534
>> commit: f5b2eaf791ebbd6af881947ab7c40ed70681e534 [73/73] EXP torture: Add tests demoing SLAB_TYPESAFE_BY_RCU
>> config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220222/202202220308.TNib9D2v-lkp@intel.com/config)
>> compiler: arceb-elf-gcc (GCC) 11.2.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=f5b2eaf791ebbd6af881947ab7c40ed70681e534
>>          git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
>>          git fetch --no-tags paulmck-rcu dev.2022.02.17a
>>          git checkout f5b2eaf791ebbd6af881947ab7c40ed70681e534
>>          # save the config file to linux build tree
>>          mkdir build_dir
>>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
>>
>> 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 >>):
>>
>>>> make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
>>     make[3]: Target '__build' not remade because of errors.
> 
> This is the only commit involving kernel/rcu/typesafe.o, so...
> 
> One the one hand, I do not plan to upstream this, so maybe it doesn't
> matter.
> 
> I have been building this using the rcutorture scripting for some time,
> same RCU-related .config as you are using.  But when I pulled it into
> a clone in a neighboring directory, it failed just as it did for you.
> The problem was that the update to kernel/rcu/Makefile somehow didn't
> come across, so this line was missing:
> 
> 	obj-$(CONFIG_RCU_TYPESAFE_TEST) += typesafe.o
> 
> Which of course explains the build failure.
> 
> I blew away that clone and re-cloned it.  And it still failed, both
> with "make" from the commandline and under rcutorture.
> 
> Hahahahahahaahaha!!!
> 
> I forgot "git add kernel/rcu/typesafe.c".
> 
> There is now a new typesafe.2022.02.21a tag with this file added.
> 
> Good catch!  That file happened to still be lying around.  The first
> "git reset --hard" would have destroyed.  Thank you!!!
> 
> And with that fixed, my clone now builds correctly.  Does this fix
> it for you?

Hi Paul,

I can't find the tag 'typesafe.2022.02.21a' from 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/refs/tags

Best Regards,
Rong Chen

> 
> 							Thanx, Paul
> _______________________________________________
> kbuild-all mailing list -- kbuild-all@lists.01.org
> To unsubscribe send an email to kbuild-all-leave@lists.01.org
> 

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

* Re: [kbuild-all] Re: [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
  2022-02-22  8:30   ` [kbuild-all] " Chen, Rong A
@ 2022-02-22 14:53     ` Paul E. McKenney
  2022-02-23 10:14       ` Chen, Rong A
  0 siblings, 1 reply; 7+ messages in thread
From: Paul E. McKenney @ 2022-02-22 14:53 UTC (permalink / raw)
  To: Chen, Rong A; +Cc: kernel test robot, kbuild-all, linux-kernel

On Tue, Feb 22, 2022 at 04:30:40PM +0800, Chen, Rong A wrote:
> 
> 
> On 2/22/2022 5:47 AM, Paul E. McKenney wrote:
> > On Tue, Feb 22, 2022 at 03:05:27AM +0800, kernel test robot wrote:
> > > Hi Paul,
> > > 
> > > First bad commit (maybe != root cause):
> > > 
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.02.17a
> > > head:   f5b2eaf791ebbd6af881947ab7c40ed70681e534
> > > commit: f5b2eaf791ebbd6af881947ab7c40ed70681e534 [73/73] EXP torture: Add tests demoing SLAB_TYPESAFE_BY_RCU
> > > config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220222/202202220308.TNib9D2v-lkp@intel.com/config)
> > > compiler: arceb-elf-gcc (GCC) 11.2.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=f5b2eaf791ebbd6af881947ab7c40ed70681e534
> > >          git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
> > >          git fetch --no-tags paulmck-rcu dev.2022.02.17a
> > >          git checkout f5b2eaf791ebbd6af881947ab7c40ed70681e534
> > >          # save the config file to linux build tree
> > >          mkdir build_dir
> > >          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
> > > 
> > > 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 >>):
> > > 
> > > > > make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
> > >     make[3]: Target '__build' not remade because of errors.
> > 
> > This is the only commit involving kernel/rcu/typesafe.o, so...
> > 
> > One the one hand, I do not plan to upstream this, so maybe it doesn't
> > matter.
> > 
> > I have been building this using the rcutorture scripting for some time,
> > same RCU-related .config as you are using.  But when I pulled it into
> > a clone in a neighboring directory, it failed just as it did for you.
> > The problem was that the update to kernel/rcu/Makefile somehow didn't
> > come across, so this line was missing:
> > 
> > 	obj-$(CONFIG_RCU_TYPESAFE_TEST) += typesafe.o
> > 
> > Which of course explains the build failure.
> > 
> > I blew away that clone and re-cloned it.  And it still failed, both
> > with "make" from the commandline and under rcutorture.
> > 
> > Hahahahahahaahaha!!!
> > 
> > I forgot "git add kernel/rcu/typesafe.c".
> > 
> > There is now a new typesafe.2022.02.21a tag with this file added.
> > 
> > Good catch!  That file happened to still be lying around.  The first
> > "git reset --hard" would have destroyed.  Thank you!!!
> > 
> > And with that fixed, my clone now builds correctly.  Does this fix
> > it for you?
> 
> Hi Paul,
> 
> I can't find the tag 'typesafe.2022.02.21a' from https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/refs/tags

That would be because I failed to push it out.  :-/

Which I just now did, apologies for my confusion.

							Thanx, Paul

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

* Re: [kbuild-all] Re: [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
  2022-02-22 14:53     ` Paul E. McKenney
@ 2022-02-23 10:14       ` Chen, Rong A
  2022-03-02 21:38         ` Paul E. McKenney
  0 siblings, 1 reply; 7+ messages in thread
From: Chen, Rong A @ 2022-02-23 10:14 UTC (permalink / raw)
  To: paulmck; +Cc: kernel test robot, kbuild-all, linux-kernel



On 2/22/2022 10:53 PM, Paul E. McKenney wrote:
> On Tue, Feb 22, 2022 at 04:30:40PM +0800, Chen, Rong A wrote:
>>
>>
>> On 2/22/2022 5:47 AM, Paul E. McKenney wrote:
>>> On Tue, Feb 22, 2022 at 03:05:27AM +0800, kernel test robot wrote:
>>>> Hi Paul,
>>>>
>>>> First bad commit (maybe != root cause):
>>>>
>>>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.02.17a
>>>> head:   f5b2eaf791ebbd6af881947ab7c40ed70681e534
>>>> commit: f5b2eaf791ebbd6af881947ab7c40ed70681e534 [73/73] EXP torture: Add tests demoing SLAB_TYPESAFE_BY_RCU
>>>> config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220222/202202220308.TNib9D2v-lkp@intel.com/config)
>>>> compiler: arceb-elf-gcc (GCC) 11.2.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=f5b2eaf791ebbd6af881947ab7c40ed70681e534
>>>>           git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
>>>>           git fetch --no-tags paulmck-rcu dev.2022.02.17a
>>>>           git checkout f5b2eaf791ebbd6af881947ab7c40ed70681e534
>>>>           # save the config file to linux build tree
>>>>           mkdir build_dir
>>>>           COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
>>>>
>>>> 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 >>):
>>>>
>>>>>> make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
>>>>      make[3]: Target '__build' not remade because of errors.
>>>
>>> This is the only commit involving kernel/rcu/typesafe.o, so...
>>>
>>> One the one hand, I do not plan to upstream this, so maybe it doesn't
>>> matter.
>>>
>>> I have been building this using the rcutorture scripting for some time,
>>> same RCU-related .config as you are using.  But when I pulled it into
>>> a clone in a neighboring directory, it failed just as it did for you.
>>> The problem was that the update to kernel/rcu/Makefile somehow didn't
>>> come across, so this line was missing:
>>>
>>> 	obj-$(CONFIG_RCU_TYPESAFE_TEST) += typesafe.o
>>>
>>> Which of course explains the build failure.
>>>
>>> I blew away that clone and re-cloned it.  And it still failed, both
>>> with "make" from the commandline and under rcutorture.
>>>
>>> Hahahahahahaahaha!!!
>>>
>>> I forgot "git add kernel/rcu/typesafe.c".
>>>
>>> There is now a new typesafe.2022.02.21a tag with this file added.
>>>
>>> Good catch!  That file happened to still be lying around.  The first
>>> "git reset --hard" would have destroyed.  Thank you!!!
>>>
>>> And with that fixed, my clone now builds correctly.  Does this fix
>>> it for you?
>>
>> Hi Paul,
>>
>> I can't find the tag 'typesafe.2022.02.21a' from https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/refs/tags
> 
> That would be because I failed to push it out.  :-/
> 
> Which I just now did, apologies for my confusion.
> 
> 							Thanx, Paul

Hi Paul,

I have tested the tag, yes, it's fixed.

Best Regards,
Rong Chen

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

* Re: [kbuild-all] Re: [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
  2022-02-23 10:14       ` Chen, Rong A
@ 2022-03-02 21:38         ` Paul E. McKenney
  2022-03-03  0:30           ` Chen, Rong A
  0 siblings, 1 reply; 7+ messages in thread
From: Paul E. McKenney @ 2022-03-02 21:38 UTC (permalink / raw)
  To: Chen, Rong A; +Cc: kernel test robot, kbuild-all, linux-kernel

On Wed, Feb 23, 2022 at 06:14:52PM +0800, Chen, Rong A wrote:
> 
> 
> On 2/22/2022 10:53 PM, Paul E. McKenney wrote:
> > On Tue, Feb 22, 2022 at 04:30:40PM +0800, Chen, Rong A wrote:
> > > 
> > > 
> > > On 2/22/2022 5:47 AM, Paul E. McKenney wrote:
> > > > On Tue, Feb 22, 2022 at 03:05:27AM +0800, kernel test robot wrote:
> > > > > Hi Paul,
> > > > > 
> > > > > First bad commit (maybe != root cause):
> > > > > 
> > > > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.02.17a
> > > > > head:   f5b2eaf791ebbd6af881947ab7c40ed70681e534
> > > > > commit: f5b2eaf791ebbd6af881947ab7c40ed70681e534 [73/73] EXP torture: Add tests demoing SLAB_TYPESAFE_BY_RCU
> > > > > config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220222/202202220308.TNib9D2v-lkp@intel.com/config)
> > > > > compiler: arceb-elf-gcc (GCC) 11.2.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=f5b2eaf791ebbd6af881947ab7c40ed70681e534
> > > > >           git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
> > > > >           git fetch --no-tags paulmck-rcu dev.2022.02.17a
> > > > >           git checkout f5b2eaf791ebbd6af881947ab7c40ed70681e534
> > > > >           # save the config file to linux build tree
> > > > >           mkdir build_dir
> > > > >           COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
> > > > > 
> > > > > 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 >>):
> > > > > 
> > > > > > > make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
> > > > >      make[3]: Target '__build' not remade because of errors.
> > > > 
> > > > This is the only commit involving kernel/rcu/typesafe.o, so...
> > > > 
> > > > One the one hand, I do not plan to upstream this, so maybe it doesn't
> > > > matter.
> > > > 
> > > > I have been building this using the rcutorture scripting for some time,
> > > > same RCU-related .config as you are using.  But when I pulled it into
> > > > a clone in a neighboring directory, it failed just as it did for you.
> > > > The problem was that the update to kernel/rcu/Makefile somehow didn't
> > > > come across, so this line was missing:
> > > > 
> > > > 	obj-$(CONFIG_RCU_TYPESAFE_TEST) += typesafe.o
> > > > 
> > > > Which of course explains the build failure.
> > > > 
> > > > I blew away that clone and re-cloned it.  And it still failed, both
> > > > with "make" from the commandline and under rcutorture.
> > > > 
> > > > Hahahahahahaahaha!!!
> > > > 
> > > > I forgot "git add kernel/rcu/typesafe.c".
> > > > 
> > > > There is now a new typesafe.2022.02.21a tag with this file added.
> > > > 
> > > > Good catch!  That file happened to still be lying around.  The first
> > > > "git reset --hard" would have destroyed.  Thank you!!!
> > > > 
> > > > And with that fixed, my clone now builds correctly.  Does this fix
> > > > it for you?
> > > 
> > > Hi Paul,
> > > 
> > > I can't find the tag 'typesafe.2022.02.21a' from https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/refs/tags
> > 
> > That would be because I failed to push it out.  :-/
> > 
> > Which I just now did, apologies for my confusion.
> > 
> > 							Thanx, Paul
> 
> Hi Paul,
> 
> I have tested the tag, yes, it's fixed.

Very good, and thank you!

May I add your Tested-by?

							Thanx, Paul

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

* Re: [kbuild-all] Re: [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
  2022-03-02 21:38         ` Paul E. McKenney
@ 2022-03-03  0:30           ` Chen, Rong A
  0 siblings, 0 replies; 7+ messages in thread
From: Chen, Rong A @ 2022-03-03  0:30 UTC (permalink / raw)
  To: paulmck; +Cc: kernel test robot, kbuild-all, linux-kernel



On 3/3/2022 5:38 AM, Paul E. McKenney wrote:
> On Wed, Feb 23, 2022 at 06:14:52PM +0800, Chen, Rong A wrote:
>>
>>
>> On 2/22/2022 10:53 PM, Paul E. McKenney wrote:
>>> On Tue, Feb 22, 2022 at 04:30:40PM +0800, Chen, Rong A wrote:
>>>>
>>>>
>>>> On 2/22/2022 5:47 AM, Paul E. McKenney wrote:
>>>>> On Tue, Feb 22, 2022 at 03:05:27AM +0800, kernel test robot wrote:
>>>>>> Hi Paul,
>>>>>>
>>>>>> First bad commit (maybe != root cause):
>>>>>>
>>>>>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.02.17a
>>>>>> head:   f5b2eaf791ebbd6af881947ab7c40ed70681e534
>>>>>> commit: f5b2eaf791ebbd6af881947ab7c40ed70681e534 [73/73] EXP torture: Add tests demoing SLAB_TYPESAFE_BY_RCU
>>>>>> config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220222/202202220308.TNib9D2v-lkp@intel.com/config)
>>>>>> compiler: arceb-elf-gcc (GCC) 11.2.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=f5b2eaf791ebbd6af881947ab7c40ed70681e534
>>>>>>            git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
>>>>>>            git fetch --no-tags paulmck-rcu dev.2022.02.17a
>>>>>>            git checkout f5b2eaf791ebbd6af881947ab7c40ed70681e534
>>>>>>            # save the config file to linux build tree
>>>>>>            mkdir build_dir
>>>>>>            COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
>>>>>>
>>>>>> 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 >>):
>>>>>>
>>>>>>>> make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'.
>>>>>>       make[3]: Target '__build' not remade because of errors.
>>>>>
>>>>> This is the only commit involving kernel/rcu/typesafe.o, so...
>>>>>
>>>>> One the one hand, I do not plan to upstream this, so maybe it doesn't
>>>>> matter.
>>>>>
>>>>> I have been building this using the rcutorture scripting for some time,
>>>>> same RCU-related .config as you are using.  But when I pulled it into
>>>>> a clone in a neighboring directory, it failed just as it did for you.
>>>>> The problem was that the update to kernel/rcu/Makefile somehow didn't
>>>>> come across, so this line was missing:
>>>>>
>>>>> 	obj-$(CONFIG_RCU_TYPESAFE_TEST) += typesafe.o
>>>>>
>>>>> Which of course explains the build failure.
>>>>>
>>>>> I blew away that clone and re-cloned it.  And it still failed, both
>>>>> with "make" from the commandline and under rcutorture.
>>>>>
>>>>> Hahahahahahaahaha!!!
>>>>>
>>>>> I forgot "git add kernel/rcu/typesafe.c".
>>>>>
>>>>> There is now a new typesafe.2022.02.21a tag with this file added.
>>>>>
>>>>> Good catch!  That file happened to still be lying around.  The first
>>>>> "git reset --hard" would have destroyed.  Thank you!!!
>>>>>
>>>>> And with that fixed, my clone now builds correctly.  Does this fix
>>>>> it for you?
>>>>
>>>> Hi Paul,
>>>>
>>>> I can't find the tag 'typesafe.2022.02.21a' from https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/refs/tags
>>>
>>> That would be because I failed to push it out.  :-/
>>>
>>> Which I just now did, apologies for my confusion.
>>>
>>> 							Thanx, Paul
>>
>> Hi Paul,
>>
>> I have tested the tag, yes, it's fixed.
> 
> Very good, and thank you!
> 
> May I add your Tested-by?
> 
> 							Thanx, Paul
> 

Sure, Tested-by: "kernel test robot" <rong.a.chen@intel.com>

Best Regards,
Rong Chen

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

end of thread, other threads:[~2022-03-03  0:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21 19:05 [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a' kernel test robot
2022-02-21 21:47 ` Paul E. McKenney
2022-02-22  8:30   ` [kbuild-all] " Chen, Rong A
2022-02-22 14:53     ` Paul E. McKenney
2022-02-23 10:14       ` Chen, Rong A
2022-03-02 21:38         ` Paul E. McKenney
2022-03-03  0:30           ` Chen, Rong A

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).