>>> linux 6.11.5 Extracting xzcat /home/buildroot/instance-0/dl/linux/linux-6.11.5.tar.xz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/linux-6.11.5 -xf - >>> linux 6.11.5 Patching for p in ; do if test -d $p ; then TAR="/home/buildroot/instance-0/output-1/host/bin/tar" PATH=/home/buildroot/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh /home/buildroot/instance-0/output-1/build/linux-6.11.5 $p \*.patch || exit 1 ; else TAR="/home/buildroot/instance-0/output-1/host/bin/tar" PATH=/home/buildroot/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh /home/buildroot/instance-0/output-1/build/linux-6.11.5 `dirname $p` `basename $p` || exit 1; fi done make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' Using ./arch/powerpc/configs/ppc64_defconfig as base Merging ./arch/powerpc/configs/le.config # # merged configuration written to .config (needs make) # HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/parser.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' Using /home/buildroot/instance-0/output-1/build/linux-6.11.5/.config as base # # merged configuration written to /home/buildroot/instance-0/output-1/build/linux-6.11.5/.config (needs make) # make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' # # No change to .config # make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' >>> linux 6.11.5 Updating kernel config with fixups make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' >>> linux 6.11.5 Configuring >>> linux 6.11.5 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/instance-0/output-1/host/lib/pkgconfig:/home/buildroot/instance-0/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/instance-0/output-1/images /usr/bin/make -j17 HOSTCC="/home/buildroot/instance-0/output-1/host/bin/ccache /usr/bin/gcc -O2 -isystem /home/buildroot/instance-0/output-1/host/include -L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" ARCH=powerpc KCFLAGS="-Wno-attribute-alias" INSTALL_MOD_PATH=/home/buildroot/instance-0/output-1/target CROSS_COMPILE="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-musl-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/buildroot/instance-0/output-1/host/sbin/depmod -C /home/buildroot/instance-0/output-1/build/linux-6.11.5 all make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' SYNC include/config/auto.conf.cmd HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf WRAP arch/powerpc/include/generated/uapi/asm/bpf_perf_event.h WRAP arch/powerpc/include/generated/uapi/asm/param.h WRAP arch/powerpc/include/generated/uapi/asm/poll.h WRAP arch/powerpc/include/generated/uapi/asm/resource.h WRAP arch/powerpc/include/generated/uapi/asm/siginfo.h WRAP arch/powerpc/include/generated/uapi/asm/sockios.h UPD include/generated/uapi/linux/version.h WRAP arch/powerpc/include/generated/uapi/asm/statfs.h SYSHDR arch/powerpc/include/generated/uapi/asm/unistd_32.h SYSHDR arch/powerpc/include/generated/uapi/asm/unistd_64.h SYSTBL arch/powerpc/include/generated/asm/syscall_table_32.h SYSTBL arch/powerpc/include/generated/asm/syscall_table_64.h SYSTBL arch/powerpc/include/generated/asm/syscall_table_spu.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o WRAP arch/powerpc/include/generated/asm/agp.h HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o WRAP arch/powerpc/include/generated/asm/kvm_types.h WRAP arch/powerpc/include/generated/asm/mcs_spinlock.h WRAP arch/powerpc/include/generated/asm/qrwlock.h UPD include/config/kernel.release UPD include/generated/compile.h WRAP arch/powerpc/include/generated/asm/early_ioremap.h WRAP arch/powerpc/include/generated/asm/cfi.h WRAP arch/powerpc/include/generated/asm/div64.h UPD include/generated/utsrelease.h WRAP arch/powerpc/include/generated/asm/dma-mapping.h WRAP arch/powerpc/include/generated/asm/irq_regs.h WRAP arch/powerpc/include/generated/asm/kmap_size.h WRAP arch/powerpc/include/generated/asm/local64.h WRAP arch/powerpc/include/generated/asm/msi.h WRAP arch/powerpc/include/generated/asm/preempt.h mkdir -p /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool && /usr/bin/make O=/home/buildroot/instance-0/output-1/build/linux-6.11.5 subdir=tools/objtool --no-print-directory -C objtool WRAP arch/powerpc/include/generated/asm/runtime-const.h WRAP arch/powerpc/include/generated/asm/rwonce.h WRAP arch/powerpc/include/generated/asm/simd.h WRAP arch/powerpc/include/generated/asm/softirq_stack.h WRAP arch/powerpc/include/generated/asm/unaligned.h HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] HOSTCC scripts/dtc/libfdt/fdt.o HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o HOSTCC scripts/dtc/libfdt/fdt_strerror.o :1:10: fatal error: libelf.h: No such file or directory compilation terminated. HOSTCC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/fixdep.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o HOSTCC scripts/dtc/libfdt/fdt_overlay.o HOSTCC scripts/dtc/fdtoverlay.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/fixdep-in.o LINK /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/fixdep INSTALL /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/include/subcmd/exec-cmd.h INSTALL /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/include/subcmd/help.h INSTALL /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/include/subcmd/pager.h INSTALL /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/include/subcmd/parse-options.h INSTALL /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/include/subcmd/run-command.h CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/exec-cmd.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/help.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/parse-options.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/pager.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/run-command.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/sigchain.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/subcmd-config.o INSTALL libsubcmd_headers HOSTLD scripts/dtc/fdtoverlay HOSTLD scripts/dtc/dtc HOSTCC scripts/kallsyms HOSTCC scripts/sorttable HOSTCC scripts/asn1_compiler HOSTCC scripts/genksyms/genksyms.o YACC scripts/genksyms/parse.tab.[ch] LEX scripts/genksyms/lex.lex.c HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/sign-file LD /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/libsubcmd-in.o AR /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libsubcmd/libsubcmd.a HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/weak.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/check.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/special.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/builtin-check.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/arch/powerpc/decode.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/elf.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/arch/powerpc/special.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/objtool.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libstring.o CC /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/libctype.o In file included from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/objtool.h:13, from weak.c:10: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include | ^~~~~~~~ compilation terminated. In file included from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/objtool.h:13, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/arch.h:11, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/check.h:11, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/special.h:10, from special.c:16: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include | ^~~~~~~~ compilation terminated. make[5]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:106: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/weak.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/objtool.h:13, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/arch.h:11, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/check.h:11, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/special.h:10, from arch/powerpc/special.c:4: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include | ^~~~~~~~ compilation terminated. make[5]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:106: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/special.o] Error 1 make[6]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:106: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/arch/powerpc/special.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/objtool.h:13, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/arch.h:11, from check.c:13: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include | ^~~~~~~~ compilation terminated. make[5]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:106: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/check.o] Error 1 In file included from elf.c:22: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include | ^~~~~~~~ compilation terminated. In file included from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/objtool.h:13, from builtin-check.c:10: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include | ^~~~~~~~ compilation terminated. make[5]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:106: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/elf.o] Error 1 make[5]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:106: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/builtin-check.o] Error 1 In file included from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/objtool.h:13, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/arch.h:11, from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/check.h:11, from arch/powerpc/decode.c:5: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include | ^~~~~~~~ compilation terminated. make[6]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:106: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/arch/powerpc/decode.o] Error 1 make[5]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:158: arch/powerpc] Error 2 In file included from /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/objtool.h:13, from objtool.c:16: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory 10 | #include | ^~~~~~~~ compilation terminated. make[5]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/build/Makefile.build:106: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/objtool.o] Error 1 make[4]: *** [Makefile:70: /home/buildroot/instance-0/output-1/build/linux-6.11.5/tools/objtool/objtool-in.o] Error 2 make[3]: *** [Makefile:72: objtool] Error 2 make[2]: *** [/home/buildroot/instance-0/output-1/build/linux-6.11.5/Makefile:1361: tools/objtool] Error 2 make[2]: *** Waiting for unfinished jobs.... HOSTLD scripts/genksyms/genksyms make[1]: *** [Makefile:224: __sub-make] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/linux-6.11.5' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/linux-6.11.5/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'