>>> kexec 2.0.22 Extracting xzcat /tmp/instance-1/dl/kexec/kexec-tools-2.0.22.tar.xz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/kexec-2.0.22 -xf - >>> kexec 2.0.22 Patching >>> kexec 2.0.22 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-1/output-1/build/kexec-2.0.22 -name $file); do cp support/gnuconfig/$file $i; done; done >>> kexec 2.0.22 Patching libtool >>> kexec 2.0.22 Configuring (cd /tmp/instance-1/output-1/build/kexec-2.0.22/ && rm -rf config.cache && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-ar" AS="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-as" LD="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-ld" NM="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-nm" CC="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc" GCC="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc" CPP="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-cpp" CXX="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-g++" FC="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gfortran" F77="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gfortran" RANLIB="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-ranlib" READELF="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-readelf" STRIP="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-strip" OBJCOPY="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-objcopy" OBJDUMP="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-1/output-1/host/lib -Wl,-rpath,/tmp/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-as" DEFAULT_LINKER="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/tmp/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=yes CONFIG_SITE=/dev/null ./configure --target=powerpc-buildroot-linux-uclibc --host=powerpc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --without-zlib --with-lzma ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared checking for powerpc-buildroot-linux-uclibc-gcc... /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc accepts -g... yes checking for /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc option to accept ISO C89... none needed checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc-buildroot-linux-uclibc checking target system type... powerpc-buildroot-linux-uclibc checking for x86_64-pc-linux-gnu-gcc... no checking for x86_64-pc-linux-gnu-gcc... no checking for gcc... gcc checking how to run the C preprocessor... /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-cpp checking for powerpc-buildroot-linux-uclibc-ld... /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-ld checking for powerpc-buildroot-linux-uclibc-as... /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-as checking for powerpc-buildroot-linux-uclibc-objcopy... /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-objcopy checking for powerpc-buildroot-linux-uclibc-ar... /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-ar checking for powerpc-buildroot-linux-uclibc-strip... /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-strip checking whether /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc accepts -fno-zero-initialized-in-bss... Yes checking for a BSD-compatible install... /usr/bin/install -c checking for chmod... chmod checking for mkdir... mkdir checking for rm... rm checking for cp... cp checking for ln... ln checking for tar... tar checking for rpmbuild... no checking for sed... sed checking for find... find checking for xargs... xargs checking for dirname... dirname checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_code in -llzma... yes checking xenctrl.h usability... no checking xenctrl.h presence... no checking for xenctrl.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating include/config.h configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared >>> kexec 2.0.22 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 STRIP="/tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-strip" -C /tmp/instance-1/output-1/build/kexec-2.0.22/ make[1]: Entering directory '/tmp/instance-1/output-1/build/kexec-2.0.22' /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec.o kexec/kexec.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/ifdown.o kexec/ifdown.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec-elf.o kexec/kexec-elf.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec-elf-exec.o kexec/kexec-elf-exec.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec-elf-core.o kexec/kexec-elf-core.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec-elf-rel.o kexec/kexec-elf-rel.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec-elf-boot.o kexec/kexec-elf-boot.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec-iomem.o kexec/kexec-iomem.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/firmware_memmap.o kexec/firmware_memmap.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/crashdump.o kexec/crashdump.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/crashdump-xen.o kexec/crashdump-xen.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/phys_arch.o kexec/phys_arch.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/lzma.o kexec/lzma.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/zlib.o kexec/zlib.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec-xen.o kexec/kexec-xen.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/symbols.o kexec/symbols.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/proc_iomem.o kexec/proc_iomem.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/virt_to_phys.o kexec/virt_to_phys.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/phys_to_virt.o kexec/phys_to_virt.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/add_segment.o kexec/add_segment.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/add_buffer.o kexec/add_buffer.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/kexec-uImage.o kexec/kexec-uImage.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/kexec-ppc.o kexec/arch/ppc/kexec-ppc.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/kexec-elf-ppc.o kexec/arch/ppc/kexec-elf-ppc.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/kexec-elf-rel-ppc.o kexec/arch/ppc/kexec-elf-rel-ppc.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/kexec-dol-ppc.o kexec/arch/ppc/kexec-dol-ppc.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/kexec-uImage-ppc.o kexec/arch/ppc/kexec-uImage-ppc.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wa,--noexecstack -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/ppc-setup-simple.o kexec/arch/ppc/ppc-setup-simple.S /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wa,--noexecstack -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/ppc-setup-dol.o kexec/arch/ppc/ppc-setup-dol.S /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/fixup_dtb.o kexec/arch/ppc/fixup_dtb.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/fs2dt.o kexec/arch/ppc/fs2dt.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/crashdump-powerpc.o kexec/arch/ppc/crashdump-powerpc.c In file included from kexec/lzma.c:6: kexec/lzma.c: In function 'lzma_decompress_file': kexec/lzma.c:189:14: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 189 | dbgprintf("%s: read on %s of %ld bytes failed\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 190 | __func__, filename, (allocated - size) + 0UL); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long long int} kexec/kexec.h:122:19: note: in definition of macro 'dbgprintf' 122 | fprintf(stderr, __VA_ARGS__); \ | ^~~~~~~~~~~ kexec/lzma.c:189:35: note: format string is defined here 189 | dbgprintf("%s: read on %s of %ld bytes failed\n", | ~~^ | | | long int | %lld /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/libfdt/fdt.o kexec/libfdt/fdt.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/libfdt/fdt_ro.o kexec/libfdt/fdt_ro.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/libfdt/fdt_wip.o kexec/libfdt/fdt_wip.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/libfdt/fdt_sw.o kexec/libfdt/fdt_sw.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/libfdt/fdt_rw.o kexec/libfdt/fdt_rw.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/libfdt/fdt_strerror.o kexec/libfdt/fdt_strerror.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/arch/ppc/libfdt-wrapper.o kexec/arch/ppc/libfdt-wrapper.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -fno-zero-initialized-in-bss -msoft-float -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -msoft-float -I./purgatory/include -I./purgatory/arch/ppc/include -I./util_lib/include -I./include -Iinclude -I/tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/include -c -MD -o purgatory/purgatory.o purgatory/purgatory.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -fno-zero-initialized-in-bss -msoft-float -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -msoft-float -I./purgatory/include -I./purgatory/arch/ppc/include -I./util_lib/include -I./include -Iinclude -I/tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/include -c -MD -o purgatory/printf.o purgatory/printf.c kexec/arch/ppc/kexec-ppc.c: In function 'read_memory_region_limits': kexec/arch/ppc/kexec-ppc.c:112:5: warning: assignment to 'long unsigned int *' from incompatible pointer type 'long long unsigned int *' [-Wincompatible-pointer-types] 112 | p = (unsigned long long *)p + 1; | ^ /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -fno-zero-initialized-in-bss -msoft-float -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -msoft-float -I./purgatory/include -I./purgatory/arch/ppc/include -I./util_lib/include -I./include -Iinclude -I/tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/include -c -MD -o purgatory/string.o purgatory/string.c kexec/arch/ppc/kexec-ppc.c: In function 'get_base_ranges': kexec/arch/ppc/kexec-ppc.c:324:6: warning: unused variable 'n' [-Wunused-variable] 324 | int n, fd; | ^ kexec/arch/ppc/kexec-ppc.c:321:7: warning: unused variable 'buf' [-Wunused-variable] 321 | char buf[MAXBYTES]; | ^~~ kexec/arch/ppc/kexec-uImage-ppc.c: In function 'slurp_ramdisk_ppc': kexec/arch/ppc/kexec-uImage-ppc.c:63:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | return buf; | ^~~ /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wa,--noexecstack -msoft-float -I./purgatory/include -I./purgatory/arch/ppc/include -I./util_lib/include -I./include -Iinclude -I/tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/include -c -MD -o purgatory/arch/ppc/v2wrap_32.o purgatory/arch/ppc/v2wrap_32.S kexec/arch/ppc/kexec-uImage-ppc.c:69:27: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'off_t' {aka 'long long int'} [-Wformat=] 69 | die("uImage: Reading %ld bytes from %s failed\n", | ~~^ | | | long int | %lld 70 | size, filename); | ~~~~ | | | off_t {aka long long int} kexec/arch/ppc/kexec-uImage-ppc.c:76:9: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | return buf; | ^~~ kexec/arch/ppc/kexec-uImage-ppc.c: In function 'ppc_load_bare_bits': kexec/arch/ppc/kexec-uImage-ppc.c:173:54: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'off_t' {aka 'long long int'} [-Wformat=] 173 | printf("Can't allocate memory for kernel of len %ld\n", | ~~^ | | | long int | %lld /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -Wa,--noexecstack -msoft-float -I./purgatory/include -I./purgatory/arch/ppc/include -I./util_lib/include -I./include -Iinclude -I/tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/include -c -MD -o purgatory/arch/ppc/misc.o purgatory/arch/ppc/misc.S kexec/arch/ppc/kexec-elf-ppc.c: In function 'elf_ppc_load': kexec/arch/ppc/kexec-elf-ppc.c:182:6: warning: variable 'target_is_gamecube' set but not used [-Wunused-but-set-variable] 182 | int target_is_gamecube = 0; | ^~~~~~~~~~~~~~~~~~ /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -fno-zero-initialized-in-bss -msoft-float -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -msoft-float -I./purgatory/include -I./purgatory/arch/ppc/include -I./util_lib/include -I./include -Iinclude -I/tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/include -c -MD -o purgatory/arch/ppc/purgatory-ppc.o purgatory/arch/ppc/purgatory-ppc.c kexec/arch/ppc/fs2dt.c: In function 'add_usable_mem_property': kexec/arch/ppc/fs2dt.c:128:16: warning: unused variable 'buf' [-Wunused-variable] 128 | unsigned long buf[2]; | ^~~ /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -fno-zero-initialized-in-bss -msoft-float -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -msoft-float -I./purgatory/include -I./purgatory/arch/ppc/include -I./util_lib/include -I./include -Iinclude -I/tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/include -c -MD -o purgatory/arch/ppc/console-ppc.o purgatory/arch/ppc/console-ppc.c kexec/arch/ppc/fs2dt.c: In function 'putnode': kexec/arch/ppc/fs2dt.c:338:44: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 338 | numlist = scandir(pathname, &namelist, 0, comparefunc); | ^~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from /tmp/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/features.h:395, from /tmp/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/sys/types.h:26, from kexec/arch/ppc/fs2dt.c:21: /tmp/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/dirent.h:259:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 259 | extern int __REDIRECT (scandir, | ^~~~~~~~~~ mkdir -p purgatory kexec/arch/ppc/fixup_dtb.c: In function 'fixup_nodes': kexec/arch/ppc/fixup_dtb.c:79:34: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 79 | die("setprop of %s/%s size: %ld failed: %s\n", | ~~^ | | | long int | %lld 80 | node_name, prop_name, content_size, | ~~~~~~~~~~~~ | | | off_t {aka long long int} kexec/arch/ppc/fixup_dtb.c: In function 'fixup_reserve_regions': kexec/arch/ppc/fixup_dtb.c:141:6: warning: unused variable 'val' [-Wunused-variable] 141 | u64 val = 0; | ^~~ kexec/arch/ppc/fixup_dtb.c:140:6: warning: unused variable 'nodeoffset' [-Wunused-variable] 140 | int nodeoffset; | ^~~~~~~~~~ /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -fno-zero-initialized-in-bss -msoft-float -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -O2 -msoft-float -I./purgatory/include -I./purgatory/arch/ppc/include -I./util_lib/include -I./include -Iinclude -I/tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/include -c -o purgatory/sha256.o util_lib/sha256.c gcc -O2 -Wall -o bin/bin-to-hex util/bin-to-hex.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -I./util_lib/include -c -MD -o util_lib/compute_ip_checksum.o util_lib/compute_ip_checksum.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -I./util_lib/include -c -MD -o util_lib/elf_info.o util_lib/elf_info.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -I./util_lib/include -c -MD -o util_lib/sha256.o util_lib/sha256.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -c -MD -o vmcore-dmesg/vmcore-dmesg.o vmcore-dmesg/vmcore-dmesg.c cp kexec/kexec.8 build/man/man8/kexec.8 mkdir -p build/man/man8 cp vmcore-dmesg/vmcore-dmesg.8 build/man/man8/vmcore-dmesg.8 kexec/arch/ppc/kexec-elf-ppc.c:452:2: warning: 'crash_cmdline' may be used uninitialized in this function [-Wmaybe-uninitialized] 452 | free(crash_cmdline); | ^~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c: In function 'get_devtree_details': kexec/arch/ppc/kexec-ppc.c:518:25: warning: '%s' directive writing 23 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 518 | sprintf(fname, "%s%s%s", | ^~ 519 | device_tree, dentry->d_name, 520 | "/linux,crashkernel-base"); | ~~~~~~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:518:5: note: 'sprintf' output 24 or more bytes (assuming 279) into a destination of size 256 518 | sprintf(fname, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 519 | device_tree, dentry->d_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 520 | "/linux,crashkernel-base"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:541:25: warning: '%s' directive writing 23 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 541 | sprintf(fname, "%s%s%s", | ^~ 542 | device_tree, dentry->d_name, 543 | "/linux,crashkernel-size"); | ~~~~~~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:541:5: note: 'sprintf' output 24 or more bytes (assuming 279) into a destination of size 256 541 | sprintf(fname, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 542 | device_tree, dentry->d_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 543 | "/linux,crashkernel-size"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:584:40: warning: '%s' directive output may be truncated writing 19 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 584 | snprintf(fname, sizeof(fname), "%s%s%s", device_tree, | ^~ 585 | dentry->d_name, "/linux,memory-limit"); | ~~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:584:4: note: 'snprintf' output 20 or more bytes (assuming 275) into a destination of size 256 584 | snprintf(fname, sizeof(fname), "%s%s%s", device_tree, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 585 | dentry->d_name, "/linux,memory-limit"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:591:24: warning: '%s' directive writing 19 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 591 | sprintf(fname, "%s%s%s", | ^~ 592 | device_tree, dentry->d_name, 593 | "/linux,initrd-start"); | ~~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:591:4: note: 'sprintf' output 20 or more bytes (assuming 275) into a destination of size 256 591 | sprintf(fname, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 592 | device_tree, dentry->d_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | "/linux,initrd-start"); | ~~~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:615:24: warning: '%s' directive writing 17 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 615 | sprintf(fname, "%s%s%s", | ^~ 616 | device_tree, dentry->d_name, 617 | "/linux,initrd-end"); | ~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:615:4: note: 'sprintf' output 18 or more bytes (assuming 273) into a destination of size 256 615 | sprintf(fname, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 616 | device_tree, dentry->d_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 617 | "/linux,initrd-end"); | ~~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:654:24: warning: '%s' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 654 | sprintf(fname, "%s%s%s", | ^~ 655 | device_tree, dentry->d_name, 656 | "/linux,htab-base"); | ~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:654:4: note: 'sprintf' output 17 or more bytes (assuming 272) into a destination of size 256 654 | sprintf(fname, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 655 | device_tree, dentry->d_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 656 | "/linux,htab-base"); | ~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:674:24: warning: '%s' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 674 | sprintf(fname, "%s%s%s", | ^~ 675 | device_tree, dentry->d_name, 676 | "/linux,htab-size"); | ~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:674:4: note: 'sprintf' output 17 or more bytes (assuming 272) into a destination of size 256 674 | sprintf(fname, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 675 | device_tree, dentry->d_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 676 | "/linux,htab-size"); | ~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:707:24: warning: '%s' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 707 | sprintf(fname, "%s%s%s", | ^~ 708 | device_tree, dentry->d_name, 709 | "/linux,rtas-size"); | ~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:707:4: note: 'sprintf' output 17 or more bytes (assuming 272) into a destination of size 256 707 | sprintf(fname, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 708 | device_tree, dentry->d_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 709 | "/linux,rtas-size"); | ~~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:765:24: warning: '%s' directive writing 15 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 765 | sprintf(fname, "%s%s%s", | ^~ 766 | device_tree, dentry->d_name, 767 | "/linux,tce-size"); | ~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:765:4: note: 'sprintf' output 16 or more bytes (assuming 271) into a destination of size 256 765 | sprintf(fname, "%s%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~ 766 | device_tree, dentry->d_name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 767 | "/linux,tce-size"); | ~~~~~~~~~~~~~~~~~~ kexec/arch/ppc/kexec-ppc.c:803:2: warning: 'file' may be used uninitialized in this function [-Wmaybe-uninitialized] 803 | fclose(file); | ^~~~~~~~~~~~ mkdir -p purgatory /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -fno-zero-initialized-in-bss -msoft-float -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -msoft-float -Wl,--no-undefined -nostartfiles -nostdlib -nodefaultlibs -e purgatory_start -r -Wl,-Map=purgatory/purgatory.map -o purgatory/purgatory.ro.sym purgatory/purgatory.o purgatory/printf.o purgatory/string.o purgatory/arch/ppc/v2wrap_32.o purgatory/arch/ppc/misc.o purgatory/arch/ppc/purgatory-ppc.o purgatory/arch/ppc/console-ppc.o purgatory/sha256.o /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-ar rs libutil.a util_lib/compute_ip_checksum.o util_lib/elf_info.o util_lib/sha256.o /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-ar: creating libutil.a /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o build/sbin/vmcore-dmesg vmcore-dmesg/vmcore-dmesg.o libutil.a -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -llzma /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-strip --strip-debug -o purgatory/purgatory.ro purgatory/purgatory.ro.sym mkdir -p kexec bin/bin-to-hex purgatory < purgatory/purgatory.ro > kexec/purgatory.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/ppc/include -c -MD -o kexec/purgatory.o kexec/purgatory.c /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o build/sbin/kexec kexec/kexec.o kexec/ifdown.o kexec/kexec-elf.o kexec/kexec-elf-exec.o kexec/kexec-elf-core.o kexec/kexec-elf-rel.o kexec/kexec-elf-boot.o kexec/kexec-iomem.o kexec/firmware_memmap.o kexec/crashdump.o kexec/crashdump-xen.o kexec/phys_arch.o kexec/lzma.o kexec/zlib.o kexec/kexec-xen.o kexec/symbols.o kexec/proc_iomem.o kexec/virt_to_phys.o kexec/phys_to_virt.o kexec/add_segment.o kexec/add_buffer.o kexec/kexec-uImage.o kexec/arch/ppc/kexec-ppc.o kexec/arch/ppc/kexec-elf-ppc.o kexec/arch/ppc/kexec-elf-rel-ppc.o kexec/arch/ppc/kexec-dol-ppc.o kexec/arch/ppc/kexec-uImage-ppc.o kexec/arch/ppc/ppc-setup-simple.o kexec/arch/ppc/ppc-setup-dol.o kexec/arch/ppc/fixup_dtb.o kexec/arch/ppc/fs2dt.o kexec/arch/ppc/crashdump-powerpc.o kexec/libfdt/fdt.o kexec/libfdt/fdt_ro.o kexec/libfdt/fdt_wip.o kexec/libfdt/fdt_sw.o kexec/libfdt/fdt_rw.o kexec/libfdt/fdt_strerror.o kexec/arch/ppc/libfdt-wrapper.o kexec/purgatory.o libutil.a -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fno-strict-aliasing -Wall -Wstrict-prototypes -llzma /tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: kexec/arch/ppc/kexec-elf-ppc.o:(.sbss+0x0): multiple definition of `ramdisk'; kexec/arch/ppc/kexec-ppc.o:(.sbss+0x0): first defined here collect2: error: ld returned 1 exit status make[1]: *** [kexec/Makefile:111: build/sbin/kexec] Error 1 make[1]: Leaving directory '/tmp/instance-1/output-1/build/kexec-2.0.22' make: *** [package/pkg-generic.mk:270: /tmp/instance-1/output-1/build/kexec-2.0.22/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'