From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 6557/14098] arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function)
Date: Thu, 01 Jul 2021 23:30:51 +0800 [thread overview]
Message-ID: <202107012344.FnDQujpd-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: fb0ca446157a86b75502c1636b0d81e642fe6bf1
commit: 79f32b221b18c15a98507b101ef4beb52444cc6f [6557/14098] ARM: 9079/1: ftrace: Add MODULE_PLTS support
config: arm-buildonly-randconfig-r004-20210701 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.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/next/linux-next.git/commit/?id=79f32b221b18c15a98507b101ef4beb52444cc6f
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 79f32b221b18c15a98507b101ef4beb52444cc6f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function)
26 | FTRACE_ADDR,
| ^~~~~~~~~~~
vim +/FTRACE_ADDR +26 arch/arm/kernel/module-plts.c
23
24 static const u32 fixed_plts[] = {
25 #ifdef CONFIG_FUNCTION_TRACER
> 26 FTRACE_ADDR,
27 MCOUNT_ADDR,
28 #endif
29 };
30
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42636 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Alex Sverdlin <alexander.sverdlin@nokia.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Subject: [linux-next:master 6557/14098] arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function)
Date: Thu, 1 Jul 2021 23:30:51 +0800 [thread overview]
Message-ID: <202107012344.FnDQujpd-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: fb0ca446157a86b75502c1636b0d81e642fe6bf1
commit: 79f32b221b18c15a98507b101ef4beb52444cc6f [6557/14098] ARM: 9079/1: ftrace: Add MODULE_PLTS support
config: arm-buildonly-randconfig-r004-20210701 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.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/next/linux-next.git/commit/?id=79f32b221b18c15a98507b101ef4beb52444cc6f
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 79f32b221b18c15a98507b101ef4beb52444cc6f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function)
26 | FTRACE_ADDR,
| ^~~~~~~~~~~
vim +/FTRACE_ADDR +26 arch/arm/kernel/module-plts.c
23
24 static const u32 fixed_plts[] = {
25 #ifdef CONFIG_FUNCTION_TRACER
> 26 FTRACE_ADDR,
27 MCOUNT_ADDR,
28 #endif
29 };
30
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42636 bytes --]
next reply other threads:[~2021-07-01 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-01 15:30 kernel test robot [this message]
2021-07-01 15:30 ` [linux-next:master 6557/14098] arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function) kernel test robot
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=202107012344.FnDQujpd-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.