From: kernel test robot <lkp@intel.com>
To: "Madhavan T. Venkataraman" <madvenka@linux.microsoft.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [madvenka786:orc_v3 18/21] arch/arm64/include/asm/module.h:19:8: error: redefinition of 'struct mod_arch_specific'
Date: Fri, 20 Jan 2023 17:16:51 +0800 [thread overview]
Message-ID: <202301201718.RJBIP9MH-lkp@intel.com> (raw)
tree: https://github.com/madvenka786/linux orc_v3
head: a0c212ed0823caa5a7ec431d3a5ec07b46964384
commit: c8b2b82a357707557f60ee6305f6e2cd5d23bde3 [18/21] arm64: Build the kernel with ORC information
config: arm64-randconfig-r031-20230119 (https://download.01.org/0day-ci/archive/20230120/202301201718.RJBIP9MH-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.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://github.com/madvenka786/linux/commit/c8b2b82a357707557f60ee6305f6e2cd5d23bde3
git remote add madvenka786 https://github.com/madvenka786/linux
git fetch --no-tags madvenka786 orc_v3
git checkout c8b2b82a357707557f60ee6305f6e2cd5d23bde3
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 prepare
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 >>):
In file included from include/linux/module.h:32,
from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from include/linux/acpi.h:15,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
>> arch/arm64/include/asm/module.h:19:8: error: redefinition of 'struct mod_arch_specific'
19 | struct mod_arch_specific {
| ^~~~~~~~~~~~~~~~~
In file included from arch/arm64/include/asm/module.h:8:
include/asm-generic/module.h:10:8: note: originally defined here
10 | struct mod_arch_specific
| ^~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:118: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:1270: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:231: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +19 arch/arm64/include/asm/module.h
24af6c4e4e0f6e Ard Biesheuvel 2017-02-21 18
24af6c4e4e0f6e Ard Biesheuvel 2017-02-21 @19 struct mod_arch_specific {
c8b2b82a357707 Madhavan T. Venkataraman 2023-01-08 20 #ifdef CONFIG_ARM64_MODULE_PLTS
24af6c4e4e0f6e Ard Biesheuvel 2017-02-21 21 struct mod_plt_sec core;
24af6c4e4e0f6e Ard Biesheuvel 2017-02-21 22 struct mod_plt_sec init;
e71a4e1bebaf7f Ard Biesheuvel 2017-06-06 23
e71a4e1bebaf7f Ard Biesheuvel 2017-06-06 24 /* for CONFIG_DYNAMIC_FTRACE */
3b23e4991fb66f Torsten Duwe 2019-02-08 25 struct plt_entry *ftrace_trampolines;
fd045f6cd98ec4 Ard Biesheuvel 2015-11-24 26 #endif
c8b2b82a357707 Madhavan T. Venkataraman 2023-01-08 27 #ifdef CONFIG_UNWINDER_ORC
c8b2b82a357707 Madhavan T. Venkataraman 2023-01-08 28 unsigned int num_orcs;
c8b2b82a357707 Madhavan T. Venkataraman 2023-01-08 29 int *orc_unwind_ip;
c8b2b82a357707 Madhavan T. Venkataraman 2023-01-08 30 struct orc_entry *orc_unwind;
c8b2b82a357707 Madhavan T. Venkataraman 2023-01-08 31 #endif
c8b2b82a357707 Madhavan T. Venkataraman 2023-01-08 32 };
fd045f6cd98ec4 Ard Biesheuvel 2015-11-24 33
:::::: The code at line 19 was first introduced by commit
:::::: 24af6c4e4e0f6e9803bec8dca0f7748afbb2bbf0 arm64: module: split core and init PLT sections
:::::: TO: Ard Biesheuvel <ard.biesheuvel@linaro.org>
:::::: CC: Catalin Marinas <catalin.marinas@arm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-01-20 9:16 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=202301201718.RJBIP9MH-lkp@intel.com \
--to=lkp@intel.com \
--cc=madvenka@linux.microsoft.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.