All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
	" Łukasz Bartosik" <ukaszb@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jimc:ksyms-tune 4/6] kernel/kprobes.c:76:undefined reference to `kallsyms_lookup_name'
Date: Wed, 16 Sep 2026 09:11:25 +0800	[thread overview]
Message-ID: <202609160940.3ibzgix7-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-09-16  1:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202609160940.3ibzgix7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jim.cromie@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ukaszb@chromium.org \
    /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.