2024-05-27 22:23:58

by kernel test robot

[permalink] [raw]
Subject: ld.lld: error: undefined symbol: proc_do_static_key

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/[email protected]/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/[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: 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


2024-06-01 23:41:24

by Suren Baghdasaryan

[permalink] [raw]
Subject: Re: ld.lld: error: undefined symbol: proc_do_static_key

On Mon, May 27, 2024 at 3:23 PM kernel test robot <[email protected]> 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/[email protected]/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/[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]/

Fix is posted at
https://lore.kernel.org/all/[email protected]/

>
> 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