From: kernel test robot <lkp@intel.com>
To: Eduard Zingerman <eddyz87@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC bpf-next 04/11] bpf: allow specifying inlinable kfuncs in modules
Date: Sat, 9 Nov 2024 14:57:40 +0800 [thread overview]
Message-ID: <202411091442.dj7dBCWE-lkp@intel.com> (raw)
In-Reply-To: <20241107175040.1659341-5-eddyz87@gmail.com>
Hi Eduard,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on bpf-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Eduard-Zingerman/bpf-use-branch-predictions-in-opt_hard_wire_dead_code_branches/20241108-015243
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/r/20241107175040.1659341-5-eddyz87%40gmail.com
patch subject: [RFC bpf-next 04/11] bpf: allow specifying inlinable kfuncs in modules
config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20241109/202411091442.dj7dBCWE-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241109/202411091442.dj7dBCWE-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411091442.dj7dBCWE-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from include/linux/bpf.h:28,
from include/linux/security.h:35,
from include/linux/perf_event.h:62,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:93,
from init/main.c:21:
>> include/linux/btf.h:674:13: warning: no previous prototype for 'btf_get_module_btf' [-Wmissing-prototypes]
674 | struct btf *btf_get_module_btf(const struct module *module)
| ^~~~~~~~~~~~~~~~~~
--
In file included from include/linux/bpf.h:28,
from include/linux/security.h:35,
from include/net/scm.h:9,
from include/linux/netlink.h:9,
from include/uapi/linux/neighbour.h:6,
from include/linux/netdevice.h:44,
from include/net/sock.h:46,
from include/linux/tcp.h:19,
from include/linux/ipv6.h:102,
from include/net/addrconf.h:65,
from lib/vsprintf.c:41:
>> include/linux/btf.h:674:13: warning: no previous prototype for 'btf_get_module_btf' [-Wmissing-prototypes]
674 | struct btf *btf_get_module_btf(const struct module *module)
| ^~~~~~~~~~~~~~~~~~
lib/vsprintf.c: In function 'va_format':
lib/vsprintf.c:1683:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
1683 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va);
| ^~~
--
In file included from include/linux/bpf.h:28,
from include/linux/security.h:35,
from include/linux/perf_event.h:62,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:93,
from kernel/time/hrtimer.c:30:
>> include/linux/btf.h:674:13: warning: no previous prototype for 'btf_get_module_btf' [-Wmissing-prototypes]
674 | struct btf *btf_get_module_btf(const struct module *module)
| ^~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:121:35: warning: initialized field overwritten [-Woverride-init]
121 | [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME,
| ^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:121:35: note: (near initialization for 'hrtimer_clock_to_base_table[0]')
kernel/time/hrtimer.c:122:35: warning: initialized field overwritten [-Woverride-init]
122 | [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC,
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:122:35: note: (near initialization for 'hrtimer_clock_to_base_table[1]')
kernel/time/hrtimer.c:123:35: warning: initialized field overwritten [-Woverride-init]
123 | [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME,
| ^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:123:35: note: (near initialization for 'hrtimer_clock_to_base_table[7]')
kernel/time/hrtimer.c:124:35: warning: initialized field overwritten [-Woverride-init]
124 | [CLOCK_TAI] = HRTIMER_BASE_TAI,
| ^~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:124:35: note: (near initialization for 'hrtimer_clock_to_base_table[11]')
--
or1k-linux-ld: init/do_mounts.o: in function `btf_get_module_btf':
>> do_mounts.c:(.text+0x8): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: init/noinitramfs.o: in function `btf_get_module_btf':
noinitramfs.c:(.text+0x0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: arch/openrisc/kernel/sys_call_table.o: in function `btf_get_module_btf':
sys_call_table.c:(.text+0x0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: arch/openrisc/mm/fault.o: in function `btf_get_module_btf':
fault.c:(.text+0x0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/fork.o: in function `btf_get_module_btf':
fork.c:(.text+0x1198): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/exec_domain.o: in function `btf_get_module_btf':
exec_domain.c:(.text+0x28): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/cpu.o: in function `btf_get_module_btf':
cpu.c:(.text+0x880): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/exit.o: in function `btf_get_module_btf':
exit.c:(.text+0x99c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/resource.o: in function `btf_get_module_btf':
resource.c:(.text+0x14c8): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/sysctl.o: in function `btf_get_module_btf':
sysctl.c:(.text+0x241c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/capability.o: in function `btf_get_module_btf':
capability.c:(.text+0x87c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/ptrace.o: in function `btf_get_module_btf':
ptrace.c:(.text+0x5c0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/signal.o: in function `btf_get_module_btf':
signal.c:(.text+0x1f04): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/sys.o: in function `btf_get_module_btf':
sys.c:(.text+0x1548): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/umh.o: in function `btf_get_module_btf':
umh.c:(.text+0x9ac): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/pid.o: in function `btf_get_module_btf':
pid.c:(.text+0x558): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/extable.o: in function `btf_get_module_btf':
extable.c:(.text+0x0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/params.o: in function `btf_get_module_btf':
params.c:(.text+0xcec): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/nsproxy.o: in function `btf_get_module_btf':
nsproxy.c:(.text+0x224): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/cred.o: in function `btf_get_module_btf':
cred.c:(.text+0xa70): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/reboot.o: in function `btf_get_module_btf':
reboot.c:(.text+0x1064): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/ksyms_common.o: in function `btf_get_module_btf':
ksyms_common.c:(.text+0x0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/groups.o: in function `btf_get_module_btf':
groups.c:(.text+0x354): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/sched/core.o: in function `btf_get_module_btf':
core.c:(.text+0x604): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/sched/fair.o: in function `btf_get_module_btf':
fair.c:(.text+0x2af0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/sched/build_policy.o: in function `btf_get_module_btf':
build_policy.c:(.text+0x3f48): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/sched/build_utility.o: in function `btf_get_module_btf':
build_utility.c:(.text+0x1598): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/power/qos.o: in function `btf_get_module_btf':
qos.c:(.text+0x174): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/printk/printk.o: in function `btf_get_module_btf':
printk.c:(.text+0x26a4): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/time/time.o: in function `btf_get_module_btf':
time.c:(.text+0x1714): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/time/timer.o: in function `btf_get_module_btf':
timer.c:(.text+0x183c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/time/hrtimer.o: in function `btf_get_module_btf':
hrtimer.c:(.text+0x1850): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/time/posix-timers.o: in function `btf_get_module_btf':
posix-timers.c:(.text+0x1230): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/time/posix-clock.o: in function `btf_get_module_btf':
posix-clock.c:(.text+0x854): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/time/itimer.o: in function `btf_get_module_btf':
itimer.c:(.text+0x76c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/time/tick-common.o: in function `btf_get_module_btf':
tick-common.c:(.text+0xec): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/futex/syscalls.o: in function `btf_get_module_btf':
syscalls.c:(.text+0x154): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/uid16.o: in function `btf_get_module_btf':
uid16.c:(.text+0x0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: kernel/kallsyms.o: in function `btf_get_module_btf':
kallsyms.c:(.text+0xb08): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/filemap.o: in function `btf_get_module_btf':
filemap.c:(.text+0x4574): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/oom_kill.o: in function `btf_get_module_btf':
oom_kill.c:(.text+0xd8c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/fadvise.o: in function `btf_get_module_btf':
fadvise.c:(.text+0x38c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/page-writeback.o: in function `btf_get_module_btf':
page-writeback.c:(.text+0x29dc): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/readahead.o: in function `btf_get_module_btf':
readahead.c:(.text+0x918): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/truncate.o: in function `btf_get_module_btf':
truncate.c:(.text+0xc10): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/vmscan.o: in function `btf_get_module_btf':
vmscan.c:(.text+0x2c0c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/shmem.o: in function `btf_get_module_btf':
shmem.c:(.text+0x34b0): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/util.o: in function `btf_get_module_btf':
util.c:(.text+0x145c): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/workingset.o: in function `btf_get_module_btf':
workingset.c:(.text+0x380): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/debug.o: in function `btf_get_module_btf':
debug.c:(.text+0x450): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
or1k-linux-ld: mm/gup.o: in function `btf_get_module_btf':
gup.c:(.text+0x1288): multiple definition of `btf_get_module_btf'; init/main.o:main.c:(.text+0x0): first defined here
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-11-09 6:58 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-07 17:50 [RFC bpf-next 00/11] bpf: inlinable kfuncs for BPF Eduard Zingerman
2024-11-07 17:50 ` [RFC bpf-next 01/11] bpf: use branch predictions in opt_hard_wire_dead_code_branches() Eduard Zingerman
2024-11-14 22:20 ` Eduard Zingerman
2024-11-15 0:17 ` Andrii Nakryiko
2024-11-15 0:19 ` Andrii Nakryiko
2024-11-15 0:50 ` Eduard Zingerman
2024-11-15 3:03 ` Andrii Nakryiko
2024-11-15 0:20 ` Eduard Zingerman
2024-11-15 0:27 ` Alexei Starovoitov
2024-11-15 0:33 ` Eduard Zingerman
2024-11-15 0:38 ` Alexei Starovoitov
2024-11-15 0:43 ` Eduard Zingerman
2024-11-15 0:16 ` Andrii Nakryiko
2024-11-07 17:50 ` [RFC bpf-next 02/11] selftests/bpf: tests for opt_hard_wire_dead_code_branches() Eduard Zingerman
2024-11-07 17:50 ` [RFC bpf-next 03/11] bpf: shared BPF/native kfuncs Eduard Zingerman
2024-11-08 1:43 ` kernel test robot
2024-11-08 20:43 ` Toke Høiland-Jørgensen
2024-11-08 21:25 ` Eduard Zingerman
2024-11-11 18:41 ` Toke Høiland-Jørgensen
2024-11-15 0:27 ` Andrii Nakryiko
2024-11-07 17:50 ` [RFC bpf-next 04/11] bpf: allow specifying inlinable kfuncs in modules Eduard Zingerman
2024-11-09 6:57 ` kernel test robot [this message]
2024-11-09 7:07 ` kernel test robot
2024-11-07 17:50 ` [RFC bpf-next 05/11] bpf: dynamic allocation for bpf_verifier_env->subprog_info Eduard Zingerman
2024-11-07 17:50 ` [RFC bpf-next 06/11] bpf: KERNEL_VALUE register type Eduard Zingerman
2024-11-07 17:50 ` [RFC bpf-next 07/11] bpf: instantiate inlinable kfuncs before verification Eduard Zingerman
2024-11-07 17:50 ` [RFC bpf-next 08/11] bpf: special rules for kernel function calls inside inlinable kfuncs Eduard Zingerman
2024-11-07 17:50 ` [RFC bpf-next 09/11] bpf: move selected dynptr kfuncs to inlinable_kfuncs.c Eduard Zingerman
2024-11-07 17:50 ` [RFC bpf-next 10/11] selftests/bpf: tests to verify handling of inlined kfuncs Eduard Zingerman
2024-11-07 22:04 ` Jeff Johnson
2024-11-07 22:08 ` Eduard Zingerman
2024-11-07 22:19 ` Jeff Johnson
2024-11-07 23:00 ` Eduard Zingerman
2024-11-07 17:50 ` [RFC bpf-next 11/11] selftests/bpf: dynptr_slice benchmark Eduard Zingerman
2024-11-08 20:41 ` [RFC bpf-next 00/11] bpf: inlinable kfuncs for BPF Toke Høiland-Jørgensen
2024-11-08 23:01 ` Eduard Zingerman
2024-11-11 18:42 ` Toke Høiland-Jørgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202411091442.dj7dBCWE-lkp@intel.com \
--to=lkp@intel.com \
--cc=eddyz87@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.