From: kernel test robot <lkp@intel.com>
To: Jarkko Sakkinen <jarkko@profian.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [jarkko-tpmdd:kprobes 3/3] arch/powerpc/kernel/module_alloc.c:31:46: error: '_etext' undeclared
Date: Wed, 22 Jun 2022 16:15:14 +0800 [thread overview]
Message-ID: <202206221611.lYrZWqbt-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git kprobes
head: 8a45ec8f64f51131c2e98dcb9ee56edf0ca0a0b3
commit: 8a45ec8f64f51131c2e98dcb9ee56edf0ca0a0b3 [3/3] kprobes: Enable tracing for mololithic kernel images
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220622/202206221611.lYrZWqbt-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.3.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/jarkko/linux-tpmdd.git/commit/?id=8a45ec8f64f51131c2e98dcb9ee56edf0ca0a0b3
git remote add jarkko-tpmdd git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git
git fetch --no-tags jarkko-tpmdd kprobes
git checkout 8a45ec8f64f51131c2e98dcb9ee56edf0ca0a0b3
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/kernel/module_alloc.c: In function 'module_alloc':
>> arch/powerpc/kernel/module_alloc.c:31:46: error: '_etext' undeclared (first use in this function)
31 | unsigned long limit = (unsigned long)_etext - SZ_32M;
| ^~~~~~
arch/powerpc/kernel/module_alloc.c:31:46: note: each undeclared identifier is reported only once for each function it appears in
vim +/_etext +31 arch/powerpc/kernel/module_alloc.c
27
28 void *module_alloc(unsigned long size)
29 {
30 #ifdef MODULES_VADDR
> 31 unsigned long limit = (unsigned long)_etext - SZ_32M;
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-22 8:15 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=202206221611.lYrZWqbt-lkp@intel.com \
--to=lkp@intel.com \
--cc=jarkko@profian.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®