linux-next: build failure after merge of the vfs tree
Subsystems (2)
Hi all,
After merging the vfs tree, today's linux-next build (sparc_defconfig) failed like this:
arch/sparc/lib/memset.S: Assembler messages:arch/sparc/lib/memset.S:149: Error: Unknown opcode: `ext(12b, 13b,21f)'
Caused by commit
0e0bbae08a6e ("sparc32: switch __bzero() away from range exception table entries")
merging badly with commit
7780918b3648 ("sparc32: fix a user-triggerable oops in clear_user()")
from the sparc tree.
The sparc tree commit above appears as commit
80537bbf19d6 ("sparc32: fix a user-triggerable oops in clear_user()")
in the vfs tree as well. The patch adds one line which is later removed by commit
0e0bbae08a6e ("sparc32: switch __bzero() away from range exception table entries")
in the vfs tree, but the git merge puts the line back again :-(
I have added the following fix to the vfs tree merge
From: Stephen Rothwell <[email protected]>
Date: Tue, 27 Oct 2020 15:05:28 +1100
Subject: [PATCH] fix up for merge of arch/sparc/lib/memset.S
--- arch/sparc/lib/memset.S | 1 - 1 file changed, 1 deletion(-)
arch/sparc/lib/memset.S +0 -1
@@ -146,7 +146,6 @@ __bzero: ZERO_LAST_BLOCKS(%o0, 0x48, %g2) ZERO_LAST_BLOCKS(%o0, 0x08, %g2) 13: - EXT(12b, 13b, 21f) be 8f andcc %o1, 4, %g0
Signature · 5 lines
2.28.0 -- Cheers, Stephen Rothwell
Quoted 22 lines · Stephen Rothwell
Hi all,
After merging the vfs tree, today's linux-next build (
sparc_defconfig) failed like this:
arch/sparc/lib/memset.S: Assembler messages:arch/sparc/lib/memset.S:149: Error: Unknown opcode: `ext(12b, 13b,21f)'Caused by commit
0e0bbae08a6e("sparc32: switch__bzero()away from range exception table entries")merging badly with commit
7780918b3648("sparc32: fix a user-triggerable oops inclear_user()")from the sparc tree.
The sparc tree commit above appears as commit
80537bbf19d6("sparc32: fix a user-triggerable oops inclear_user()")
Quoted 8 lines
in the vfs tree as well. The patch adds one line which is later removed by commit
0e0bbae08a6e("sparc32: switch__bzero()away from range exception table entries")in the vfs tree, but the git merge puts the line back again :-(
I have added the following fix to the vfs tree merge
I'll rebase that branch on top of sparc tree tomorrow (and eventually I'd like it to go through the sparc tree anyway).
Quoted 2 lines · Al Viro
I'll rebase that branch on top of sparc tree tomorrow (and eventually I'd like it to go through the sparc tree anyway).
Done - sorry for disappearing ;-/
Hi Al,
Quoted 7 lines · On Tue, 10 Nov 2020 19:00:36 +0000 Al Viro <[email protected]> wrote:
Quoted 2 lines · Al Viro
I'll rebase that branch on top of sparc tree tomorrow (and eventually I'd like it to go through the sparc tree anyway).
Done - sorry for disappearing ;-/
No worries and thanks.
Signature · 2 lines
Cheers, Stephen Rothwell