All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [thomas-weissschuh:b4/kbuild-tools-relpath 5/8] tools/objtool/include/objtool/elf.h:19:10: fatal error: arch/elf.h: No such file or directory
Date: Sat, 07 Nov 2026 08:52:49 +0100	[thread overview]
Message-ID: <202611070823.f66dTD3E-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "only suspicious fbc files changed"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: "Thomas Weißschuh" <linux@weissschuh.net>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/kbuild-tools-relpath
head:   90ff35376f573e147b3c331d2694e0d3e9e7760f
commit: dc78834d6b6f09539bd5b9b6f07475400f30d374 [5/8] deleteme
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: csky-randconfig-2200-20261107 (https://download.01.org/0day-ci/archive/20261107/202611070823.f66dTD3E-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 11.5.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261107/202611070823.f66dTD3E-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/r/202611070823.f66dTD3E-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from tools/objtool/include/objtool/objtool.h:13,
                    from builtin-check.c:15:
>> tools/objtool/include/objtool/elf.h:19:10: fatal error: arch/elf.h: No such file or directory
      19 | #include <arch/elf.h>
         |          ^~~~~~~~~~~~
   compilation terminated.
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/builtin-check.o] Error 1 shuffle=2776899342
   In file included from check.c:14:
>> tools/objtool/include/objtool/cfi.h:9:10: fatal error: arch/cfi_regs.h: No such file or directory
       9 | #include <arch/cfi_regs.h>
         |          ^~~~~~~~~~~~~~~~~
   compilation terminated.
   In file included from tools/objtool/include/objtool/check.h:10,
                    from tools/objtool/include/objtool/trace.h:9,
                    from trace.c:6:
>> tools/objtool/include/objtool/cfi.h:9:10: fatal error: arch/cfi_regs.h: No such file or directory
       9 | #include <arch/cfi_regs.h>
         |          ^~~~~~~~~~~~~~~~~
   compilation terminated.
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/check.o] Error 1 shuffle=2776899342
   In file included from tools/objtool/include/objtool/objtool.h:13,
                    from klp-symid.c:26:
>> tools/objtool/include/objtool/elf.h:19:10: fatal error: arch/elf.h: No such file or directory
      19 | #include <arch/elf.h>
         |          ^~~~~~~~~~~~
   compilation terminated.
   In file included from tools/objtool/include/objtool/objtool.h:13,
                    from objtool.c:16:
>> tools/objtool/include/objtool/elf.h:19:10: fatal error: arch/elf.h: No such file or directory
      19 | #include <arch/elf.h>
         |          ^~~~~~~~~~~~
   compilation terminated.
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/trace.o] Error 1 shuffle=2776899342
   In file included from tools/objtool/include/objtool/objtool.h:13,
                    from tools/objtool/include/objtool/arch.h:11,
                    from disas.c:9:
>> tools/objtool/include/objtool/elf.h:19:10: fatal error: arch/elf.h: No such file or directory
      19 | #include <arch/elf.h>
         |          ^~~~~~~~~~~~
   compilation terminated.
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/objtool.o] Error 1 shuffle=2776899342
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/disas.o] Error 1 shuffle=2776899342
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/klp-symid.o] Error 1 shuffle=2776899342
>> special.c:14:10: fatal error: arch/special.h: No such file or directory
      14 | #include <arch/special.h>
         |          ^~~~~~~~~~~~~~~~
   compilation terminated.
   In file included from tools/objtool/include/objtool/objtool.h:13,
                    from signal.c:14:
>> tools/objtool/include/objtool/elf.h:19:10: fatal error: arch/elf.h: No such file or directory
      19 | #include <arch/elf.h>
         |          ^~~~~~~~~~~~
   compilation terminated.
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/signal.o] Error 1 shuffle=2776899342
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/special.o] Error 1 shuffle=2776899342
   In file included from elf.c:25:
>> tools/objtool/include/objtool/elf.h:19:10: fatal error: arch/elf.h: No such file or directory
      19 | #include <arch/elf.h>
         |          ^~~~~~~~~~~~
   compilation terminated.
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/elf.o] Error 1 shuffle=2776899342
   In file included from tools/objtool/include/objtool/objtool.h:13,
                    from weak.c:10:
>> tools/objtool/include/objtool/elf.h:19:10: fatal error: arch/elf.h: No such file or directory
      19 | #include <arch/elf.h>
         |          ^~~~~~~~~~~~
   compilation terminated.
   make[5]: *** [tools/build/Makefile.build:96: tools/objtool/weak.o] Error 1 shuffle=2776899342
   make[5]: Target '__build' not remade because of errors.
   make[4]: *** [Makefile:125: tools/objtool/objtool-in.o] Error 2 shuffle=2776899342
   make[4]: Target 'all' not remade because of errors.
   make[3]: *** [Makefile:74: objtool] Error 2 shuffle=2776899342
   make[2]: *** [Makefile:1632: tools/objtool] Error 2 shuffle=2776899342
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=2776899342
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2 shuffle=2776899342
   make: Target 'prepare' not remade because of errors.


vim +19 tools/objtool/include/objtool/elf.h

3b92486fa1a905c tools/objtool/include/objtool/elf.h Josh Poimboeuf 2025-09-17  16  
3b92486fa1a905c tools/objtool/include/objtool/elf.h Josh Poimboeuf 2025-09-17  17  #include <objtool/endianness.h>
0d83da43b1e1c8c tools/objtool/include/objtool/elf.h Josh Poimboeuf 2025-09-17  18  #include <objtool/checksum_types.h>
53257a977a69b5e tools/objtool/include/objtool/elf.h Josh Poimboeuf 2023-05-30 @19  #include <arch/elf.h>
442f04c34a1a467 tools/objtool/elf.h                 Josh Poimboeuf 2016-02-28  20  

:::::: The code at line 19 was first introduced by commit
:::::: 53257a977a69b5eabbaafb64dcd767d2a4fef2b3 objtool: Consolidate rel/rela handling

:::::: TO: Josh Poimboeuf <jpoimboe@kernel.org>
:::::: CC: Josh Poimboeuf <jpoimboe@kernel.org>

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

                 reply	other threads:[~2026-11-07  7:53 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=202611070823.f66dTD3E-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@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.