Skip to contentSkip to conversation

ld.lld: error: undefined symbol: power_supply_reg_notifier

PATCH kernel test robot 1 participant 1 message Apr 7

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git linux-next
head:   9487e2a00e7b3c6f258c5c99953f470eba6fb61d
commit: e30ca6dd5345c5b8ba05f346a8e81105352fe571 [15/22] cpufreq/amd-pstate: Add dynamic energy performance preference
config: x86_64-randconfig-121-20260403 (https://download.01.org/0day-ci/archive/20260404/[email protected]/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260404/[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 >>):

>> ld.lld: error: undefined symbol: power_supply_reg_notifier
   >>> referenced by amd-pstate.c:1216 (drivers/cpufreq/amd-pstate.c:1216)
   >>>               vmlinux.o:(amd_pstate_epp_cpu_init)
--
>> ld.lld: error: undefined symbol: power_supply_unreg_notifier
   >>> referenced by amd-pstate.c:1198 (drivers/cpufreq/amd-pstate.c:1198)
   >>>               vmlinux.o:(amd_pstate_epp_cpu_init)
   >>> referenced by amd-pstate.c:1198 (drivers/cpufreq/amd-pstate.c:1198)
   >>>               vmlinux.o:(amd_pstate_epp_cpu_exit)
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki