[linux-next:master 11451/11981] riscv64-linux-ld: kernel/bpf/cgroup.c:310: undefined reference to `bpf_trampoline_unlink_cgroup_shim'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4ee7eaa411ee24d07fa83d97ca03fa6725c40d04
commit: 3908fcddc65d04e069b03be49b33fae90e424631 [11451/11981] bpf: fix lsm_cgroup build errors on esoteric configs
config: riscv-randconfig-c024-20220718 (https://download.01.org/0day-ci/archive/20220720/202207202303.3uHqpHfH-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 12.1.0
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/next/linux-next.git/commit/?id=3908fcddc65d04e069b03be49b33fae90e424631
        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 3908fcddc65d04e069b03be49b33fae90e424631
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

Note: the linux-next/master HEAD 4ee7eaa411ee24d07fa83d97ca03fa6725c40d04 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   riscv64-linux-ld: kernel/bpf/cgroup.o: in function `.L0 ':
   kernel/bpf/cgroup.c:307: undefined reference to `bpf_trampoline_unlink_cgroup_shim'
>> riscv64-linux-ld: kernel/bpf/cgroup.c:310: undefined reference to `bpf_trampoline_unlink_cgroup_shim'
   riscv64-linux-ld: kernel/bpf/cgroup.o: in function `.L0 ':
>> include/linux/rcupdate.h:274: undefined reference to `bpf_trampoline_unlink_cgroup_shim'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux