2024-05-30 11:28:31

by Mark Brown

[permalink] [raw]
Subject: Build breakage for imx_v6_v7_defconfig

Hi Paul,

Your patch "rcu-tasks: Remove open-coded one-byte cmpxchg() emulation"
in -next (which I can't see on any list though I can see some similar
bug reports about it?) breaks the build on arm imx_v6_v7_defconfig:

arm-linux-gnueabihf-ld: kernel/rcu/update.o: in function `rcu_trc_cmpxchg_need_qs':
update.c:(.text+0x318): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabihf-ld: kernel/rcu/update.o: in function `rcu_read_unlock_trace_special':
update.c:(.text+0x3ec): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabihf-ld: kernel/rcu/update.o: in function `trc_read_check_handler':
update.c:(.text+0x480): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabihf-ld: kernel/rcu/update.o: in function `trc_inspect_reader':
update.c:(.text+0x1568): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabihf-ld: update.c:(.text+0x1598): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabihf-ld: kernel/rcu/update.o:update.c:(.text+0x1d10): more undefined references to `__bad_cmpxchg' follow

Other configs I test, including bcm2835_defconfig (armv6),
multi_v5_defconfig and multi_v7_defconfig build fine for 32 bit arm.

Thanks,
Mark

Thanks,
Mark


Attachments:
(No filename) (1.17 kB)
signature.asc (499.00 B)
Download all attachments