* [linux-next:master 11295/12552] cgroup.c:undefined reference to `bpf_trampoline_link_cgroup_shim'
@ 2022-07-24 15:18 kernel test robot
2022-07-25 16:27 ` Stanislav Fomichev
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-07-24 15:18 UTC (permalink / raw)
To: Stanislav Fomichev
Cc: kbuild-all, Linux Memory Management List, Alexei Starovoitov
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 18c107a1f120d095404d141dfad8f594bdc44020
commit: 3908fcddc65d04e069b03be49b33fae90e424631 [11295/12552] bpf: fix lsm_cgroup build errors on esoteric configs
config: x86_64-randconfig-a016-20220718 (https://download.01.org/0day-ci/archive/20220724/202207242322.9ymWznA0-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# 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
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-next/master HEAD 18c107a1f120d095404d141dfad8f594bdc44020 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
ld: vmlinux.o: in function `cgroup_bpf_release':
cgroup.c:(.text+0x22faf7): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
ld: cgroup.c:(.text+0x22fb46): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
ld: vmlinux.o: in function `__cgroup_bpf_attach':
>> cgroup.c:(.text+0x23039c): undefined reference to `bpf_trampoline_link_cgroup_shim'
ld: cgroup.c:(.text+0x2303dd): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
ld: cgroup.c:(.text+0x230411): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
ld: vmlinux.o: in function `__cgroup_bpf_detach':
cgroup.c:(.text+0x23096c): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
ld: vmlinux.o: in function `bpf_cgroup_link_release':
cgroup.c:(.text+0x230a57): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-next:master 11295/12552] cgroup.c:undefined reference to `bpf_trampoline_link_cgroup_shim'
2022-07-24 15:18 [linux-next:master 11295/12552] cgroup.c:undefined reference to `bpf_trampoline_link_cgroup_shim' kernel test robot
@ 2022-07-25 16:27 ` Stanislav Fomichev
2022-07-25 16:37 ` Stanislav Fomichev
0 siblings, 1 reply; 3+ messages in thread
From: Stanislav Fomichev @ 2022-07-25 16:27 UTC (permalink / raw)
To: kernel test robot
Cc: kbuild-all, Linux Memory Management List, Alexei Starovoitov
On Sun, Jul 24, 2022 at 8:19 AM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 18c107a1f120d095404d141dfad8f594bdc44020
> commit: 3908fcddc65d04e069b03be49b33fae90e424631 [11295/12552] bpf: fix lsm_cgroup build errors on esoteric configs
> config: x86_64-randconfig-a016-20220718 (https://download.01.org/0day-ci/archive/20220724/202207242322.9ymWznA0-lkp@intel.com/config)
> compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
> reproduce (this is a W=1 build):
> # 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
> make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> Note: the linux-next/master HEAD 18c107a1f120d095404d141dfad8f594bdc44020 builds fine.
> It may have been fixed somewhere.
>
> All errors (new ones prefixed by >>):
>
> ld: vmlinux.o: in function `cgroup_bpf_release':
> cgroup.c:(.text+0x22faf7): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> ld: cgroup.c:(.text+0x22fb46): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> ld: vmlinux.o: in function `__cgroup_bpf_attach':
> >> cgroup.c:(.text+0x23039c): undefined reference to `bpf_trampoline_link_cgroup_shim'
> ld: cgroup.c:(.text+0x2303dd): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> ld: cgroup.c:(.text+0x230411): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> ld: vmlinux.o: in function `__cgroup_bpf_detach':
> cgroup.c:(.text+0x23096c): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> ld: vmlinux.o: in function `bpf_cgroup_link_release':
> cgroup.c:(.text+0x230a57): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
Hm, looks like [1] is not enough? I'll take another look..
[1] https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=9cb61fda8c71baaff423fe5be2e609100860fa78
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-next:master 11295/12552] cgroup.c:undefined reference to `bpf_trampoline_link_cgroup_shim'
2022-07-25 16:27 ` Stanislav Fomichev
@ 2022-07-25 16:37 ` Stanislav Fomichev
0 siblings, 0 replies; 3+ messages in thread
From: Stanislav Fomichev @ 2022-07-25 16:37 UTC (permalink / raw)
To: kernel test robot
Cc: kbuild-all, Linux Memory Management List, Alexei Starovoitov
On Mon, Jul 25, 2022 at 9:27 AM Stanislav Fomichev <sdf@google.com> wrote:
>
> On Sun, Jul 24, 2022 at 8:19 AM kernel test robot <lkp@intel.com> wrote:
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head: 18c107a1f120d095404d141dfad8f594bdc44020
> > commit: 3908fcddc65d04e069b03be49b33fae90e424631 [11295/12552] bpf: fix lsm_cgroup build errors on esoteric configs
> > config: x86_64-randconfig-a016-20220718 (https://download.01.org/0day-ci/archive/20220724/202207242322.9ymWznA0-lkp@intel.com/config)
> > compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
> > reproduce (this is a W=1 build):
> > # 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
> > make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
> >
> > If you fix the issue, kindly add following tag where applicable
> > Reported-by: kernel test robot <lkp@intel.com>
> >
> > Note: the linux-next/master HEAD 18c107a1f120d095404d141dfad8f594bdc44020 builds fine.
> > It may have been fixed somewhere.
> >
> > All errors (new ones prefixed by >>):
> >
> > ld: vmlinux.o: in function `cgroup_bpf_release':
> > cgroup.c:(.text+0x22faf7): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> > ld: cgroup.c:(.text+0x22fb46): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> > ld: vmlinux.o: in function `__cgroup_bpf_attach':
> > >> cgroup.c:(.text+0x23039c): undefined reference to `bpf_trampoline_link_cgroup_shim'
> > ld: cgroup.c:(.text+0x2303dd): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> > ld: cgroup.c:(.text+0x230411): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> > ld: vmlinux.o: in function `__cgroup_bpf_detach':
> > cgroup.c:(.text+0x23096c): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
> > ld: vmlinux.o: in function `bpf_cgroup_link_release':
> > cgroup.c:(.text+0x230a57): undefined reference to `bpf_trampoline_unlink_cgroup_shim'
>
> Hm, looks like [1] is not enough? I'll take another look..
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=9cb61fda8c71baaff423fe5be2e609100860fa78
With the config above:
$ git checkout 3908fcddc65d04e069b03be49b33fae90e424631
$ make
ld: vmlinux.o: in function `cgroup_bpf_release':
cgroup.c:(.text+0x22e8bf): undefined reference to
`bpf_trampoline_unlink_cgroup_shim'
ld: cgroup.c:(.text+0x22e90e): undefined reference to
`bpf_trampoline_unlink_cgroup_shim'
ld: vmlinux.o: in function `__cgroup_bpf_attach':
cgroup.c:(.text+0x22f164): undefined reference to
`bpf_trampoline_link_cgroup_shim'
ld: cgroup.c:(.text+0x22f1a5): undefined reference to
`bpf_trampoline_unlink_cgroup_shim'
ld: cgroup.c:(.text+0x22f1d9): undefined reference to
`bpf_trampoline_unlink_cgroup_shim'
ld: vmlinux.o: in function `__cgroup_bpf_detach':
cgroup.c:(.text+0x22f734): undefined reference to
`bpf_trampoline_unlink_cgroup_shim'
ld: vmlinux.o: in function `bpf_cgroup_link_release':
cgroup.c:(.text+0x22f81f): undefined reference to
`bpf_trampoline_unlink_cgroup_shim'
make: *** [Makefile:1164: vmlinux] Error 1
$ git checkout bpf-next
$ make olddefconfig
$ make
$
So seems fine? I'm assuming this failure is from the old next-20220722
and the latest linux-next is ok.
> > --
> > 0-DAY CI Kernel Test Service
> > https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-25 16:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-24 15:18 [linux-next:master 11295/12552] cgroup.c:undefined reference to `bpf_trampoline_link_cgroup_shim' kernel test robot
2022-07-25 16:27 ` Stanislav Fomichev
2022-07-25 16:37 ` Stanislav Fomichev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).