public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kris Van Hees <kris.van.hees@oracle.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Nick Alcock <nick.alcock@oracle.com>,
	Tomas Jedlicka <tomas.jedlicka@oracle.com>,
	Eugene Loh <eugene.loh@oracle.com>,
	David Mc Lean <david.mclean@oracle.com>,
	Vincent Lim <vincent.lim@oracle.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
Date: Wed, 10 Nov 2021 05:06:32 +0800	[thread overview]
Message-ID: <202111100523.vPAqA8Ra-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-11-09 21:07 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=202111100523.vPAqA8Ra-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=david.mclean@oracle.com \
    --cc=eugene.loh@oracle.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kris.van.hees@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nick.alcock@oracle.com \
    --cc=tomas.jedlicka@oracle.com \
    --cc=vincent.lim@oracle.com \
    /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