Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [jpoimboe:klp-build 40/57] arch/arm/include/asm/jump_label.h:46:8: error: redefinition of 'jump_entry'
Date: Fri, 9 May 2025 02:37:05 +0800	[thread overview]
Message-ID: <202505090246.h9Z2HgQ4-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-05-08 18:37 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=202505090246.h9Z2HgQ4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jpoimboe@kernel.org \
    --cc=llvm@lists.linux.dev \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox