public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [oracle-dtrace:v1/5.15 17/35] scripts/ctf/dwarf2ctf.c:33:10: fatal error: sys/ctf_api.h: No such file or directory
@ 2021-11-09 21:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-09 21:06 UTC (permalink / raw)
  To: Kris Van Hees
  Cc: kbuild-all, linux-kernel, Nick Alcock, Tomas Jedlicka, Eugene Loh,
	David Mc Lean, Vincent Lim

[-- Attachment #1: Type: text/plain, Size: 3168 bytes --]

tree:   https://github.com/oracle/dtrace-linux-kernel v1/5.15
head:   0fee66d7ce96317146609675767971d0f35c3e74
commit: 62a2550ef447ac372a5bb92e5baad3e2932865c1 [17/35] dtrace: core and x86
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/oracle/dtrace-linux-kernel/commit/62a2550ef447ac372a5bb92e5baad3e2932865c1
        git remote add oracle-dtrace https://github.com/oracle/dtrace-linux-kernel
        git fetch --no-tags oracle-dtrace v1/5.15
        git checkout 62a2550ef447ac372a5bb92e5baad3e2932865c1
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 prepare

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   WARNING: unmet direct dependencies detected for CTF
   Depends on HAVE_CTF_TOOLCHAIN || DEBUG_INFO && !DEBUG_INFO_REDUCED && !DEBUG_INFO_SPLIT && !DEBUG_INFO_DWARF4
   Selected by
   - DTRACE && ARCH_SUPPORTS_DTRACE
>> scripts/ctf/dwarf2ctf.c:33:10: fatal error: sys/ctf_api.h: No such file or directory
   33 | #include <sys/ctf_api.h>
   | ^~~~~~~~~~~~~~~
   compilation terminated.
   Makefile a.out arch include nr_bisected scripts source tools usr [scripts/Makefile.host:112: scripts/ctf/dwarf2ctf.o] Error 1
   Target '__build' not remade because of errors.
   Makefile a.out arch include nr_bisected scripts source tools usr [scripts/Makefile.build:540: scripts/ctf] Error 2
   Target '__build' not remade because of errors.
   Makefile a.out arch include nr_bisected scripts source tools usr [Makefile:1210: scripts] Error 2
   Target 'prepare' not remade because of errors.
   make: Makefile a.out arch include nr_bisected scripts source tools usr [Makefile:219: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for CTF
   Depends on HAVE_CTF_TOOLCHAIN || DEBUG_INFO && !DEBUG_INFO_REDUCED && !DEBUG_INFO_SPLIT && !DEBUG_INFO_DWARF4
   Selected by
   - DTRACE && ARCH_SUPPORTS_DTRACE


vim +33 scripts/ctf/dwarf2ctf.c

08c964444d605e Nick Alcock 2018-11-14  27  
08c964444d605e Nick Alcock 2018-11-14  28  #include <libelf.h>
08c964444d605e Nick Alcock 2018-11-14  29  #include <dwarf.h>
08c964444d605e Nick Alcock 2018-11-14  30  #include <elfutils/libdwfl.h>
08c964444d605e Nick Alcock 2018-11-14  31  #include <elfutils/libdw.h>
08c964444d605e Nick Alcock 2018-11-14  32  #include <elfutils/version.h>
08c964444d605e Nick Alcock 2018-11-14 @33  #include <sys/ctf_api.h>
08c964444d605e Nick Alcock 2018-11-14  34  #include <glib.h>
08c964444d605e Nick Alcock 2018-11-14  35  

:::::: The code at line 33 was first introduced by commit
:::::: 08c964444d605e8ce1a419b177115148f6d08048 ctf: generate CTF information for the kernel from DWARF

:::::: TO: Nick Alcock <nick.alcock@oracle.com>
:::::: CC: Nick Alcock <nick.alcock@oracle.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66536 bytes --]

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

only message in thread, other threads:[~2021-11-09 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-09 21:06 [oracle-dtrace:v1/5.15 17/35] scripts/ctf/dwarf2ctf.c:33:10: fatal error: sys/ctf_api.h: No such file or directory 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