[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111100523.vPAqA8Ra-lkp@intel.com>
Date: Wed, 10 Nov 2021 05:06:32 +0800
From: kernel test robot <lkp@...el.com>
To: Kris Van Hees <kris.van.hees@...cle.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Nick Alcock <nick.alcock@...cle.com>,
Tomas Jedlicka <tomas.jedlicka@...cle.com>,
Eugene Loh <eugene.loh@...cle.com>,
David Mc Lean <david.mclean@...cle.com>,
Vincent Lim <vincent.lim@...cle.com>
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@...el.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@...cle.com>
:::::: CC: Nick Alcock <nick.alcock@...cle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (66536 bytes)
Powered by blists - more mailing lists