>>> uboot-tools 2021.07 Extracting bzcat /home/buildroot/instance-0/dl/uboot-tools/u-boot-2021.07.tar.bz2 | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07 -xf - >>> uboot-tools 2021.07 Patching Applying 0001-drop-configh-from-tools.patch using patch: patching file tools/env/fw_env_private.h Applying 0002-tools-only-in-no-dot-config-targets.patch using patch: patching file Makefile Hunk #1 succeeded at 511 (offset 25 lines). Applying 0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch using patch: patching file tools/Makefile Hunk #1 succeeded at 310 (offset -6 lines). >>> uboot-tools 2021.07 Configuring mkdir -p /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/include/config touch /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/include/config/auto.conf mkdir -p /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/include/generated touch /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/include/generated/autoconf.h echo '#define CONFIG_FIT_PRINT 1' >> /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/include/generated/autoconf.h mkdir -p /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/include/asm touch /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/include/asm/linkage.h >>> uboot-tools 2021.07 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" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07 CROSS_COMPILE="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-gnu-" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 " LDFLAGS="" HOSTCFLAGS="-O2 -I/home/buildroot/instance-0/output-1/host/include" STRIP=/bin/true CONFIG_FIT=y CONFIG_MKIMAGE_DTC_PATH=dtc CROSS_BUILD_TOOLS=y tools-only make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07' HOSTCC scripts/basic/fixdep COPY tools/version.h UPD include/generated/timestamp_autogenerated.h UPD include/config/uboot.release UPD include/generated/version_autogenerated.h HOSTCC tools/mkenvimage.o HOSTCC tools/os_support.o WRAP tools/lib/crc32.c HOSTCC tools/aisimage.o HOSTCC tools/atmelimage.o HOSTCC tools/fit_common.o HOSTCC tools/fit_image.o HOSTCC tools/image-host.o WRAP tools/common/image-fit.c WRAP tools/common/fdt_region.c WRAP tools/common/bootm.c HOSTCC tools/lib/crc32.o HOSTCC tools/default_image.o WRAP tools/lib/fdtdec_common.c WRAP tools/lib/fdtdec.c WRAP tools/common/image.c HOSTCC tools/imagetool.o HOSTCC tools/imximage.o HOSTCC tools/imx8image.o HOSTCC tools/imx8mimage.o HOSTCC tools/kwbimage.o WRAP tools/lib/md5.c HOSTCC tools/lpc32xximage.o HOSTCC tools/mxsimage.o HOSTCC tools/omapimage.o HOSTCC tools/pblimage.o HOSTCC tools/pbl_crc32.o HOSTCC tools/vybridimage.o HOSTCC tools/stm32image.o WRAP tools/lib/rc4.c HOSTCC tools/rkcommon.o HOSTCC tools/rkimage.o HOSTCC tools/rksd.o HOSTCC tools/rkspi.o HOSTCC tools/socfpgaimage.o HOSTCC tools/sunxi_egon.o WRAP tools/lib/crc16.c WRAP tools/lib/hash-checksum.c WRAP tools/lib/sha1.c WRAP tools/lib/sha256.c WRAP tools/common/hash.c WRAP tools/lib/sha512.c HOSTCC tools/ublimage.o HOSTCC tools/zynqimage.o HOSTCC tools/zynqmpimage.o HOSTCC tools/zynqmpbif.o HOSTCC tools/libfdt/fdt.o HOSTCC tools/libfdt/fdt_ro.o HOSTCC tools/libfdt/fdt_wip.o HOSTCC tools/libfdt/fdt_sw.o HOSTCC tools/libfdt/fdt_rw.o HOSTCC tools/libfdt/fdt_strerror.o HOSTCC tools/libfdt/fdt_empty_tree.o HOSTCC tools/libfdt/fdt_addresses.o HOSTCC tools/libfdt/fdt_overlay.o HOSTCC tools/gpimage.o HOSTCC tools/gpimage-common.o HOSTCC tools/mtk_image.o HOSTCC tools/dumpimage.o HOSTCC tools/common/image-fit.o HOSTCC tools/common/fdt_region.o HOSTCC tools/common/bootm.o HOSTCC tools/lib/fdtdec_common.o HOSTCC tools/lib/fdtdec.o HOSTCC tools/common/image.o HOSTCC tools/lib/md5.o HOSTCC tools/lib/rc4.o HOSTCC tools/lib/crc16.o HOSTCC tools/lib/hash-checksum.o HOSTCC tools/lib/sha1.o HOSTCC tools/lib/sha256.o HOSTCC tools/lib/sha512.o HOSTCC tools/common/hash.o HOSTCC tools/mkimage.o HOSTCC tools/proftool HOSTCC tools/fdtgrep.o HOSTLD tools/mkenvimage HOSTLD tools/fdtgrep HOSTLD tools/dumpimage HOSTLD tools/mkimage /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: tools/image-host.o: in function `fit_image_setup_sig': /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:180:(.text+0xa24): undefined reference to `image_get_checksum_algo' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:180:(tools/image-host.o.text: in function `+0xa2c): undefined reference to `fit_image_setup_sigimage_get_checksum_algo': ' /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld180:: (/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:.text181:+0x(a24.text)+0x: undefined reference to `a48image_get_checksum_algo)' : undefined reference to `/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ldimage_get_crypto_algo: ' /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld180:: (/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:.text181:+0x(a2c.text)+0x: undefined reference to `a50image_get_checksum_algo)' : undefined reference to `/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ldimage_get_crypto_algo: ' /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld181:: (/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:.text182:+0x(a48.text)+0x: undefined reference to `a68image_get_crypto_algo)' : undefined reference to `/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ldimage_get_padding_algo: ' /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld181:: (/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:.text182:+0x(a50.text)+0x: undefined reference to `a70image_get_crypto_algo)' : undefined reference to `/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ldimage_get_padding_algo: ' /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:182:(.text+0xa68): undefined reference to `image_get_padding_algo' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:182:(.text+0xa70)/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: undefined reference to `: image_get_padding_algotools/image-host.o' : in function `fit_image_setup_cipher': /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:393:(.text+0x14e8): undefined reference to `image_get_cipher_algo' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:393:(/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld.text: +0xtools/image-host.o14f0: in function `)fit_image_setup_cipher: undefined reference to `': image_get_cipher_algo/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:' 393:(.text+0x14e8): undefined reference to `image_get_cipher_algo' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:393:(.text+0x14f0): undefined reference to `image_get_cipher_algo' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: tools/image-host.o: in function `fit_config_get_data': /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:893:(.text+0x2cec): undefined reference to `fit_region_make_list' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld/home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: : /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:tools/image-host.o893:: in function `(fit_config_get_data.text': +0x/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:2cf4893:)(: undefined reference to `.textfit_region_make_list+0x' 2cec): undefined reference to `fit_region_make_list' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/tools/image-host.c:893:(.text+0x2cf4): undefined reference to `fit_region_make_list' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: tools/common/image-fit.o: in function `fit_image_uncipher': /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/./tools/../common/image-fit.c:1463:(.text+0x3ce0): undefined reference to `fit_image_decrypt_data' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/./tools/../common/image-fit.c:tools/common/image-fit.o1463:: in function `(fit_image_uncipher.text': +0x/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/./tools/../common/image-fit.c:3ce81463:)(: undefined reference to `.textfit_image_decrypt_data+0x' 3ce0): undefined reference to `fit_image_decrypt_data' /home/buildroot/instance-0/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/13.3.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/./tools/../common/image-fit.c:1463:(.text+0x3ce8): undefined reference to `fit_image_decrypt_data' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status make[2]: *** [scripts/Makefile.host:104: tools/dumpimage] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [scripts/Makefile.host:104: tools/mkimage] Error 1 make[1]: *** [Makefile:2046: tools-only] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/uboot-tools-2021.07' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/uboot-tools-2021.07/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'