* [jimc:ksyms-tune 4/6] kernel/kprobes.c:76:undefined reference to `kallsyms_lookup_name'
@ 2026-09-16 1:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-16 1:11 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git ksyms-tune
head: bc5ee628d6230f6c491f1b868aa7a201bf2ee513
commit: 7e96e1c95c0fa1af496e25ee9645927632dc4d32 [4/6] kallsyms: improve the compare in binary search in kallsyms_lookup_names()
config: x86_64-rhel-9.4-kunit (https://download.01.org/0day-ci/archive/20260916/202609160940.3ibzgix7-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260916/202609160940.3ibzgix7-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/202609160940.3ibzgix7-lkp@intel.com/
Note: the jimc/ksyms-tune HEAD bc5ee628d6230f6c491f1b868aa7a201bf2ee513 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
ld: vmlinux.o: in function `kprobe_lookup_name':
>> kernel/kprobes.c:76:(.text+0x5bbcd6): undefined reference to `kallsyms_lookup_name'
ld: vmlinux.o: in function `ftrace_lookup_symbols':
>> kernel/trace/ftrace.c:9367:(.text+0x5ffa39): undefined reference to `kallsyms_lookup_name'
ld: vmlinux.o: in function `parse_pred':
>> kernel/trace/trace_events_filter.c:1766:(.text+0x6ac669): undefined reference to `kallsyms_lookup_name'
ld: vmlinux.o: in function `trace_kprobe_address':
>> kernel/trace/trace_kprobe.c:214:(.text+0x7046e1): undefined reference to `kallsyms_lookup_name'
>> ld: kernel/trace/trace_kprobe.c:214:(.text+0x705086): undefined reference to `kallsyms_lookup_name'
ld: vmlinux.o:kernel/trace/trace_kprobe.c:214: more undefined references to `kallsyms_lookup_name' follow
vim +76 kernel/kprobes.c
ef53d9c5e4da147 Srinivasa D S 2008-07-25 72
290e3070762ac80 Naveen N Rao 2017-04-19 73 kprobe_opcode_t * __weak kprobe_lookup_name(const char *name,
290e3070762ac80 Naveen N Rao 2017-04-19 74 unsigned int __unused)
49e0b4658fe6aab Naveen N Rao 2017-04-19 75 {
49e0b4658fe6aab Naveen N Rao 2017-04-19 @76 return ((kprobe_opcode_t *)(kallsyms_lookup_name(name)));
49e0b4658fe6aab Naveen N Rao 2017-04-19 77 }
49e0b4658fe6aab Naveen N Rao 2017-04-19 78
:::::: The code at line 76 was first introduced by commit
:::::: 49e0b4658fe6aab5bf6bfe0738a86c1895930ad1 kprobes: Convert kprobe_lookup_name() to a function
:::::: TO: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
:::::: CC: Michael Ellerman <mpe@ellerman.id.au>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-16 1:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16 1:11 [jimc:ksyms-tune 4/6] kernel/kprobes.c:76:undefined reference to `kallsyms_lookup_name' kernel test robot
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.