Skip to contentSkip to conversation

linux-next: build failure after merge of the sysctl tree

DISCUSSION Stephen Rothwell 2 participants 5 messages Mar 30, 2022 – Apr 4, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sysctl tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

kernel/sysctl.c:1776:36: error: 'C_A_D' undeclared here (not in a function)
1776 | .data = &C_A_D,
| ^~~~~

Caused by commit

84053cc7ef2f ("ftrace: move sysctl_ftrace_enabled to ftrace.c")

I can't imagine how that happened (though I do note that the whole branch has been rebased and not tested :-( ).

I have used the sysctl tree from next-20220329 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 9 lines · Stephen Rothwell

Hi all,

After merging the sysctl tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

kernel/sysctl.c:1776:36: error: 'C_A_D' undeclared here (not in a function)
1776 | .data = &C_A_D,
| ^~~~~

Quoted 6 lines

Caused by commit

84053cc7ef2f ("ftrace: move sysctl_ftrace_enabled to ftrace.c")

I can't imagine how that happened (though I do note that the whole branch has been rebased and not tested :-( ).

Sorry about that, indeed I rebased it and only test compiled the conflicts.

Quoted 1 line

I have used the sysctl tree from next-20220329 for today.

I'll push to 0-day testing before pushing a new iteration. Trying to prepare to push to Linus.

Luis

#2 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 10 lines · On Wed, 30 Mar 2022 11:56:17 +1100 Stephen Rothwell <[email protected]>…

Hi all,

After merging the sysctl tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

kernel/sysctl.c:1776:36: error: 'C_A_D' undeclared here (not in a function)
1776 | .data = &C_A_D,
| ^~~~~

Quoted 8 lines

Caused by commit

84053cc7ef2f ("ftrace: move sysctl_ftrace_enabled to ftrace.c")

I can't imagine how that happened (though I do note that the whole branch has been rebased and not tested :-( ).

I have used the sysctl tree from next-20220329 for today.

I am still getting this failure.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 15 lines · Stephen Rothwell

Hi all,

Quoted 12 lines · On Wed, 30 Mar 2022 11:56:17 +1100 Stephen Rothwell <[email protected]>…

Hi all,

After merging the sysctl tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

kernel/sysctl.c:1776:36: error: 'C_A_D' undeclared here (not in a function)
1776 | .data = &C_A_D,
| ^~~~~

Caused by commit

Quoted 8 lines
Quoted 6 lines

84053cc7ef2f ("ftrace: move sysctl_ftrace_enabled to ftrace.c")

I can't imagine how that happened (though I do note that the whole branch has been rebased and not tested :-( ).

I have used the sysctl tree from next-20220329 for today.

I am still getting this failure.

I have fixed these issues in a new push to sysctl-next just now. This all goes tested through 0-day with no issues found there. Sorry for the delay in fixing this.

Luis

#4 lore raw

Hi Luis,

Quoted 4 lines · On Sun, 3 Apr 2022 18:46:47 -0700 Luis Chamberlain <[email protected]> wrote:

I have fixed these issues in a new push to sysctl-next just now. This all goes tested through 0-day with no issues found there. Sorry for the delay in fixing this.

OK, thanks. I will pick it up tomorrow.

Signature · 2 lines
Cheers,
Stephen Rothwell