Messages in this thread | | | Date | Thu, 21 Oct 2021 00:09:55 +0800 | From | kernel test robot <> | Subject | [pdx86-platform-drivers-x86:review-hans 77/87] ld.lld: error: undefined symbol: battery_hook_unregister |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans head: 5ecc1e94782218b77b9bf7ae8ac53990f5ca4a7a commit: 76f7eba3e0a248af4cc4f302d95031fa2fb65fab [77/87] platform/x86: system76_acpi: Add battery charging thresholds config: x86_64-randconfig-a002-20211019 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 92a0389b0425a9535a99a0ce13ba0eeda2bce7ad) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?id=76f7eba3e0a248af4cc4f302d95031fa2fb65fab git remote add pdx86-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git git fetch --no-tags pdx86-platform-drivers-x86 review-hans git checkout 76f7eba3e0a248af4cc4f302d95031fa2fb65fab # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: battery_hook_unregister >>> referenced by system76_acpi.c:295 (drivers/platform/x86/system76_acpi.c:295) >>> platform/x86/system76_acpi.o:(system76_remove) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: battery_hook_register >>> referenced by system76_acpi.c:286 (drivers/platform/x86/system76_acpi.c:286) >>> platform/x86/system76_acpi.o:(system76_battery_init) in archive drivers/built-in.a
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |