Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 2 messages Mar 6, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the mm tree, today's linux-next build (sparc64 defconfig) failed like this:

sparc64-linux-ld: mm/vmstat.o: in function `cpu_vm_stats_fold':
vmstat.c:(.text+0x2a18): undefined reference to `__xchg_called_with_bad_pointer'
sparc64-linux-ld: vmstat.c:(.text+0x2a98): undefined reference to `__xchg_called_with_bad_pointer'

Caused by commit

676a3befc9ba ("mm/vmstat: use xchg in cpu_vm_stats_fold")

Sparc does not support xchg() on 8 bit variables.

I have reverted the above commit (and the 2 following ones) for today.

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

Hi all,

Quoted 8 lines · On Mon, 6 Mar 2023 11:52:56 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the mm tree, today's linux-next build (sparc64 defconfig) failed like this:

sparc64-linux-ld: mm/vmstat.o: in function `cpu_vm_stats_fold':
vmstat.c:(.text+0x2a18): undefined reference to `__xchg_called_with_bad_pointer'
sparc64-linux-ld: vmstat.c:(.text+0x2a98): undefined reference to `__xchg_called_with_bad_pointer'

Quoted 7 lines

Caused by commit

676a3befc9ba ("mm/vmstat: use xchg in cpu_vm_stats_fold")

Sparc does not support xchg() on 8 bit variables.

I have reverted the above commit (and the 2 following ones) for today.

I have used the supplied patch instead of these reverts today.

Signature · 2 lines
Cheers,
Stephen Rothwell