[linux-next:master 5408/10862] powerpc-linux-ld: apparmorfs.c:undefined reference to `zstd_dctx_workspace_bound'

kernel test robot <[email protected]> Fri, 31 Jul 2026 18:49:11 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   95d6a9ccef99117115e41e9adb271243bd5e985b
commit: c431011ab65fd4ef205e3ce8cfc4b031c67768d9 [5408/10862] apparmor: replace decompress_zstd() prototype with its entity
config: powerpc-randconfig-r131-20260731 (https://download.01.org/0day-ci/archive/20260731/[email protected]/config)
compiler: powerpc-linux-gcc (GCC) 9.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/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
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   powerpc-linux-ld: security/apparmor/apparmorfs.o: in function `policy_update':
   apparmorfs.c:(.text+0x5f48): undefined reference to `zstd_get_frame_header'
>> powerpc-linux-ld: apparmorfs.c:(.text+0x6114): undefined reference to `zstd_dctx_workspace_bound'
>> powerpc-linux-ld: apparmorfs.c:(.text+0x6148): undefined reference to `zstd_init_dctx'
>> powerpc-linux-ld: apparmorfs.c:(.text+0x6164): undefined reference to `zstd_decompress_dctx'
>> powerpc-linux-ld: apparmorfs.c:(.text+0x6168): undefined reference to `zstd_is_error'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for HOTPLUG_CPU
   Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n])
   Selected by [y]:
   - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y]

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki