* [madvenka786:orc_v3 18/21] arch/arm64/include/asm/module.h:19:8: error: redefinition of 'struct mod_arch_specific'
@ 2023-01-20 9:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-20 9:16 UTC (permalink / raw)
To: Madhavan T. Venkataraman; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-20 9:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-20 9:16 [madvenka786:orc_v3 18/21] arch/arm64/include/asm/module.h:19:8: error: redefinition of 'struct mod_arch_specific' 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.