Re: vfs_cache.c:undefined reference to `__xchg_called_with_bad_pointer'
From: Namjae Jeon
Date: Wed Sep 02 2026 - 00:51:35 EST
On Wed, Sep 2, 2026 at 12:53 PM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 89a312991dc6e638a36adc43ccb91dbc25504c04
> commit: d12168084c8c1b6d883c8eca5853929ac5136a9e ksmbd: safely drain sessions during logoff
> date: 2 days ago
> config: sparc-randconfig-r052-20260902 (https://download.01.org/0day-ci/archive/20260902/202609021157.8f7Wx34I-lkp@xxxxxxxxx/config)
> compiler: sparc-linux-gcc (GCC) 13.4.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260902/202609021157.8f7Wx34I-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Fixes: d12168084c8c ("ksmbd: safely drain sessions during logoff")
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202609021157.8f7Wx34I-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> sparc-linux-ld: fs/smb/server/vfs_cache.o: in function `__close_file_table_ids':
> >> vfs_cache.c:(.text+0x175c): undefined reference to `__xchg_called_with_bad_pointer'
> >> sparc-linux-ld: vfs_cache.c:(.text+0x17e0): undefined reference to `__xchg_called_with_bad_pointer'
> sparc-linux-ld: fs/smb/server/vfs_cache.o: in function `ksmbd_close_disconnected_durable_delete_on_close':
> vfs_cache.c:(.text+0x1fc0): undefined reference to `__xchg_called_with_bad_pointer'
> sparc-linux-ld: fs/smb/server/vfs_cache.o: in function `ksmbd_wake_session_blocked_works':
> vfs_cache.c:(.text+0x2104): undefined reference to `__xchg_called_with_bad_pointer'
> sparc-linux-ld: fs/smb/server/vfs_cache.o: in function `ksmbd_close_fd':
> vfs_cache.c:(.text+0x21f0): undefined reference to `__xchg_called_with_bad_pointer'
> sparc-linux-ld: fs/smb/server/vfs_cache.o:vfs_cache.c:(.text+0x2b84): more undefined references to `__xchg_called_with_bad_pointer' follow
I will fix it.
Thanks for the report!