BPF List
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Shuah Khan <shuah@kernel.org>,
	Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>
Cc: bpf@vger.kernel.org
Subject: BPF selftests build failures
Date: Mon, 20 Jul 2020 10:09:43 +0200	[thread overview]
Message-ID: <20200720080943.GA12596@lst.de> (raw)

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

Hi BPF and selftest maintainers.  I get a very strange failure
when trying to build the bpf selftests on current net-next master:

hch@brick:~/work/linux/tools/testing/selftests/bpf$ make
  GEN      vmlinux.h
Error: failed to load BTF from /home/hch/work/linux/vmlinux: No such file or directory
make: *** [Makefile:187: /home/hch/work/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h]
Error 2
make: *** Deleting file '/home/hch/work/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h'

But vmlinux obviously exists:

hch@brick:~/work/linux/tools/testing/selftests/bpf$ ls -l ~/work/linux/vmlinux
-rwxr-xr-x 1 hch hch 628909168 Jul 20 09:48 /home/hch/work/linux/vmlinux

.config attached.

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

             reply	other threads:[~2020-07-20  8:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-20  8:09 Christoph Hellwig [this message]
2020-07-20 20:41 ` BPF selftests build failures Alexei Starovoitov
2020-07-21  2:54   ` David Ahern
2020-07-21  5:24   ` Christoph Hellwig
2020-07-21  7:04   ` Christoph Hellwig

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=20200720080943.GA12596@lst.de \
    --to=hch@lst.de \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=shuah@kernel.org \
    /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