From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <linux@weissschuh.net>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/kbuild-vmlinux-h 5/7] test-libbfd.c:2:10: fatal error: bfd.h: No such file or directory
Date: Tue, 10 Nov 2026 16:22:44 +0100 [thread overview]
Message-ID: <202611101653.L1tbBkfF-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/kbuild-vmlinux-h
head: 1f2193e366db8daf101725c9f0b0db6c0527d068
commit: 3a5205833034e9c21ebb9295a139c769b651be33 [5/7] bpf: generate vmlinux.h during the build
config: microblaze-randconfig-r2102-20261110 (https://download.01.org/0day-ci/archive/20261110/202611101653.L1tbBkfF-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261110/202611101653.L1tbBkfF-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611101653.L1tbBkfF-lkp@intel.com/
All errors (new ones prefixed by >>):
>> test-libbfd.c:2:10: fatal error: bfd.h: No such file or directory
#include <bfd.h>
^~~~~~~
compilation terminated.
--
>> nlattr.c:9:10: fatal error: errno.h: No such file or directory
#include <errno.h>
^~~~~~~~~
compilation terminated.
>> btf.c:4:10: fatal error: byteswap.h: No such file or directory
#include <byteswap.h>
^~~~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/nlattr.o] Error 1 shuffle=1618092038
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/btf.o] Error 1 shuffle=1618092038
>> usdt.c:3:10: fatal error: ctype.h: No such file or directory
#include <ctype.h>
^~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/usdt.o] Error 1 shuffle=1618092038
In file included from tools/include/linux/types.h:7,
from tools/include/uapi/linux/btf.h:6,
from btf.h:10,
from btf_iter.c:12:
>> /opt/cross/gcc-8.5.0-nolibc/microblaze-linux/lib/gcc/microblaze-linux/8.5.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/btf_iter.o] Error 1 shuffle=1618092038
>> libbpf.c:16:10: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^~~~~~~~~~
compilation terminated.
>> gen_loader.c:3:10: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/libbpf.o] Error 1 shuffle=1618092038
>> ringbuf.c:10:10: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^~~~~~~~~~
compilation terminated.
In file included from strset.c:3:
>> /opt/cross/gcc-8.5.0-nolibc/microblaze-linux/lib/gcc/microblaze-linux/8.5.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/gen_loader.o] Error 1 shuffle=1618092038
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/ringbuf.o] Error 1 shuffle=1618092038
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/strset.o] Error 1 shuffle=1618092038
>> netlink.c:4:10: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^~~~~~~~~~
compilation terminated.
>> btf_dump.c:11:10: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^~~~~~~~~~
compilation terminated.
>> bpf.c:24:10: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/netlink.o] Error 1 shuffle=1618092038
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/btf_dump.o] Error 1 shuffle=1618092038
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/bpf.o] Error 1 shuffle=1618092038
In file included from hashmap.c:8:
>> /opt/cross/gcc-8.5.0-nolibc/microblaze-linux/lib/gcc/microblaze-linux/8.5.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/hashmap.o] Error 1 shuffle=1618092038
>> linker.c:13:10: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/linker.o] Error 1 shuffle=1618092038
>> bpf_prog_linfo.c:4:10: fatal error: string.h: No such file or directory
#include <string.h>
^~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/bpf_prog_linfo.o] Error 1 shuffle=1618092038
>> libbpf_probes.c:4:10: fatal error: errno.h: No such file or directory
#include <errno.h>
^~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/libbpf_probes.o] Error 1 shuffle=1618092038
>> zip.c:8:10: fatal error: errno.h: No such file or directory
#include <errno.h>
^~~~~~~~~
compilation terminated.
>> relo_core.c:58:10: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/zip.o] Error 1 shuffle=1618092038
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/relo_core.o] Error 1 shuffle=1618092038
In file included from tools/include/linux/types.h:7,
from tools/include/uapi/linux/btf.h:6,
from btf.h:10,
from btf_relocate.c:29:
>> /opt/cross/gcc-8.5.0-nolibc/microblaze-linux/lib/gcc/microblaze-linux/8.5.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/btf_relocate.o] Error 1 shuffle=1618092038
>> libbpf_utils.c:11:10: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/libbpf_utils.o] Error 1 shuffle=1618092038
>> elf.c:6:10: fatal error: libelf.h: No such file or directory
#include <libelf.h>
^~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/elf.o] Error 1 shuffle=1618092038
In file included from features.c:3:
tools/include/linux/kernel.h:7:10: fatal error: assert.h: No such file or directory
#include <assert.h>
^~~~~~~~~~
compilation terminated.
make[8]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool/libbpf/staticobjs/features.o] Error 1 shuffle=1618092038
make[8]: Target '__build' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-10 15:23 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=202611101653.L1tbBkfF-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux@weissschuh.net \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.