* [linux-next:master 5835/8914] ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_current
@ 2022-07-09 20:07 kernel test robot
2022-07-11 18:44 ` Stanislav Fomichev
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-07-09 20:07 UTC (permalink / raw)
To: Stanislav Fomichev
Cc: llvm, kbuild-all, Linux Memory Management List,
Alexei Starovoitov, Martin KaFai Lau
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f2528c29385819a84480cacef4886b049761e2c5
commit: 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e [5835/8914] bpf: per-cgroup lsm flavor
config: arm64-randconfig-r013-20220708 (https://download.01.org/0day-ci/archive/20220710/202207100408.3Fsr7rOp-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 77a38f6839980bfac61babb40d83772c51427011)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_current
>>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
>>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
>>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
>>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
>>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
>>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
>>> referenced 1 more times
--
>> ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_socket
>>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
>>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
>>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
>>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
--
>> ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_sock
>>> referenced by bpf_lsm.c:65 (kernel/bpf/bpf_lsm.c:65)
>>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
>>> referenced by bpf_lsm.c:65 (kernel/bpf/bpf_lsm.c:65)
>>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master 5835/8914] ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_current
2022-07-09 20:07 [linux-next:master 5835/8914] ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_current kernel test robot
@ 2022-07-11 18:44 ` Stanislav Fomichev
0 siblings, 0 replies; 2+ messages in thread
From: Stanislav Fomichev @ 2022-07-11 18:44 UTC (permalink / raw)
To: kernel test robot
Cc: llvm, kbuild-all, Linux Memory Management List,
Alexei Starovoitov, Martin KaFai Lau
On Sat, Jul 9, 2022 at 1:07 PM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: f2528c29385819a84480cacef4886b049761e2c5
> commit: 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e [5835/8914] bpf: per-cgroup lsm flavor
> config: arm64-randconfig-r013-20220708 (https://download.01.org/0day-ci/archive/20220710/202207100408.3Fsr7rOp-lkp@intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 77a38f6839980bfac61babb40d83772c51427011)
> 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
> # install arm64 cross compiling tool for clang build
> # apt-get install binutils-aarch64-linux-gnu
> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e
> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git fetch --no-tags linux-next master
> git checkout 69fd337a975c7e690dfe49d9cb4fe5ba1e6db44e
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> >> ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_current
> >>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
> >>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
> >>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
> >>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
> >>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
> >>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
> >>> referenced 1 more times
> --
> >> ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_socket
> >>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
> >>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
> >>> referenced by bpf_lsm.c:0 (kernel/bpf/bpf_lsm.c:0)
> >>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
> --
> >> ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_sock
> >>> referenced by bpf_lsm.c:65 (kernel/bpf/bpf_lsm.c:65)
> >>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
> >>> referenced by bpf_lsm.c:65 (kernel/bpf/bpf_lsm.c:65)
> >>> bpf/bpf_lsm.o:(bpf_lsm_find_cgroup_shim) in archive kernel/built-in.a
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
More esoteric configurations:
CONFIG_BPF_LSM=y
# CONFIG_CGROUP_BPF is not set
Will fix it sometime this week along with the other warning about unused 'args'.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-11 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-09 20:07 [linux-next:master 5835/8914] ld.lld: error: undefined symbol: __cgroup_bpf_run_lsm_current kernel test robot
2022-07-11 18:44 ` Stanislav Fomichev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox