Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [jpoimboe:klp-build 40/57] arch/arm/include/asm/jump_label.h:46:8: error: redefinition of 'jump_entry'
@ 2025-05-08 18:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-08 18:37 UTC (permalink / raw)
  To: Josh Poimboeuf; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git klp-build
head:   a756ad343c6f178683f423165424a8b5b8048da8
commit: 076ba887573130fab206095fc9371b6b7727fb22 [40/57] x86/bug: Define ELF section entry size for __jump_table
config: arm-randconfig-003-20250508 (https://download.01.org/0day-ci/archive/20250509/202505090246.h9Z2HgQ4-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505090246.h9Z2HgQ4-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/202505090246.h9Z2HgQ4-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from scripts/mod/devicetable-offsets.c:3:
   In file included from include/linux/mod_devicetable.h:14:
   In file included from include/linux/uuid.h:11:
   In file included from include/linux/string.h:392:
   In file included from include/linux/fortify-string.h:6:
   In file included from include/linux/bug.h:5:
   In file included from arch/arm/include/asm/bug.h:60:
   In file included from include/asm-generic/bug.h:22:
   In file included from include/linux/printk.h:616:
   In file included from include/linux/dynamic_debug.h:6:
   In file included from include/linux/jump_label.h:122:
>> arch/arm/include/asm/jump_label.h:46:8: error: redefinition of 'jump_entry'
      46 | struct jump_entry {
         |        ^
   include/linux/jump_label.h:116:8: note: previous definition is here
     116 | struct jump_entry {
         |        ^
   1 error generated.
   make[3]: *** [scripts/Makefile.build:98: scripts/mod/devicetable-offsets.s] Error 1 shuffle=1368264795
   make[3]: Target 'scripts/mod/' not remade because of errors.
   make[2]: *** [Makefile:1274: prepare0] Error 2 shuffle=1368264795
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=1368264795
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2 shuffle=1368264795
   make: Target 'prepare' not remade because of errors.


vim +/jump_entry +46 arch/arm/include/asm/jump_label.h

09f05d8529ff4aa Rabin Vincent 2012-02-18  45  
09f05d8529ff4aa Rabin Vincent 2012-02-18 @46  struct jump_entry {
09f05d8529ff4aa Rabin Vincent 2012-02-18  47  	jump_label_t code;
09f05d8529ff4aa Rabin Vincent 2012-02-18  48  	jump_label_t target;
09f05d8529ff4aa Rabin Vincent 2012-02-18  49  	jump_label_t key;
09f05d8529ff4aa Rabin Vincent 2012-02-18  50  };
09f05d8529ff4aa Rabin Vincent 2012-02-18  51  

:::::: The code at line 46 was first introduced by commit
:::::: 09f05d8529ff4aa92311c1a55ce35ac98cb59b8c ARM: 7334/1: add jump label support

:::::: TO: Rabin Vincent <rabin@rab.in>
:::::: CC: Russell King <rmk+kernel@arm.linux.org.uk>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-08 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-08 18:37 [jpoimboe:klp-build 40/57] arch/arm/include/asm/jump_label.h:46:8: error: redefinition of 'jump_entry' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox