Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1625805 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2017-04-19 06:00 +0200 |
| Last post | 2017-04-19 07:50 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
linux-next: build failure after merge of the rcu tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-04-19 06:00 +0200
Re: linux-next: build failure after merge of the rcu tree "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-19 06:10 +0200
Re: linux-next: build failure after merge of the rcu tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-04-19 07:50 +0200
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-04-19 06:00 +0200 |
| Subject | linux-next: build failure after merge of the rcu tree |
| Message-ID | <txOWB-6Hj-1@gated-at.bofh.it> |
Hi Paul,
After merging the rcu tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
kernel/rcu/rcutorture.c: In function 'rcu_torture_stats_print':
kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data' [-Werror=implicit-function-declaration]
srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp,
^
Caused by commit
b4d55cac0a93 ("srcu: Make rcutorture writer stalls print SRCU GP state")
This config has CONFIG_CLASSIC_SRCU=y and CONFIG_RCU_TORTURE_TEST=m, so
CONFIG_RCU_TORTURE_TEST is not defined - CONFIG_RCU_TORTURE_TEST_MODULE
is defined. You probably want to protect srcutorture_get_gp_data() with
IS_ENABLED(CONFIG_RCU_TORTURE_TEST) instead.
I have used the rcu tree from next-20170418 for today.
--
Cheers,
Stephen Rothwell
[toc] | [next] | [standalone]
| From | "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> |
|---|---|
| Date | 2017-04-19 06:10 +0200 |
| Message-ID | <txP6h-6Zm-3@gated-at.bofh.it> |
| In reply to | #1625805 |
On Wed, Apr 19, 2017 at 01:50:16PM +1000, Stephen Rothwell wrote:
> Hi Paul,
>
> After merging the rcu tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> kernel/rcu/rcutorture.c: In function 'rcu_torture_stats_print':
> kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data' [-Werror=implicit-function-declaration]
> srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp,
> ^
>
> Caused by commit
>
> b4d55cac0a93 ("srcu: Make rcutorture writer stalls print SRCU GP state")
>
> This config has CONFIG_CLASSIC_SRCU=y and CONFIG_RCU_TORTURE_TEST=m, so
> CONFIG_RCU_TORTURE_TEST is not defined - CONFIG_RCU_TORTURE_TEST_MODULE
> is defined. You probably want to protect srcutorture_get_gp_data() with
> IS_ENABLED(CONFIG_RCU_TORTURE_TEST) instead.
>
> I have used the rcu tree from next-20170418 for today.
Please accept my apologies! I forgot about the state of -rcu while
chasing another bug, and only a few minutes ago made the transition
from "Why doesn't this code work?" to "Why didn't my brain work?". :-/
Will be fixed for tomorrow's -next. Or at least broken in a more subtle
and creative way. ;-)
Thanx, Paul
[toc] | [prev] | [next] | [standalone]
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-04-19 07:50 +0200 |
| Message-ID | <txQF3-7PH-3@gated-at.bofh.it> |
| In reply to | #1625806 |
Hi Paul, On Tue, 18 Apr 2017 21:06:20 -0700 "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote: > > Or at least broken in a more subtle and creative way. ;-) What I live for :-) -- Cheers, Stephen Rothwell
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web