lkml.org 
[lkml]   [2021]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[oracle-dtrace:v1/5.15 17/35] scripts/ctf/dwarf2ctf.c:33:10: fatal error: sys/ctf_api.h: No such file or directory
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-09 22:07    [W:0.023 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site