All of lore.kernel.org
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/kbuild-vmlinux-h 5/7] test-libbfd.c:2:10: fatal error: bfd.h: No such file or directory
@ 2026-11-10 15:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-10 15:22 UTC (permalink / raw)
  To: Thomas Weißschuh ; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-10 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-10 15:22 [thomas-weissschuh:b4/kbuild-vmlinux-h 5/7] test-libbfd.c:2:10: fatal error: bfd.h: No such file or directory kernel test robot

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.