Re: ld.lld: error: undefined symbol: proc_do_static_key
From: Suren Baghdasaryan
Date: Sat Jun 01 2024 - 19:41:23 EST
On Mon, May 27, 2024 at 3:23 PM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 2bfcfd584ff5ccc8bb7acde19b42570414bf880b
> commit: 8d469d0bee74d3f2d02f0b232933a3f084d9cbf7 lib: introduce early boot parameter to avoid page_ext memory overhead
> date: 5 weeks ago
> config: arm64-randconfig-002-20240528 (https://download.01.org/0day-ci/archive/20240528/202405280616.wcOGWJEj-lkp@xxxxxxxxx/config)
> compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240528/202405280616.wcOGWJEj-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
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202405280616.wcOGWJEj-lkp@xxxxxxxxx/
Fix is posted at
https://lore.kernel.org/all/20240601233831.617124-1-surenb@xxxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> >> ld.lld: error: undefined symbol: proc_do_static_key
> >>> referenced by alloc_tag.c
> >>> lib/alloc_tag.o:(memory_allocation_profiling_sysctls) in archive vmlinux.a
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki