checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for gcc... 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... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... gcc -E checking whether compiler handles -Wall... yes checking whether compiler handles -Wextra... yes checking whether compiler handles -Wunused... yes checking whether compiler handles -Wmissing-prototypes... yes checking whether compiler handles -Wmissing-declarations... yes checking whether compiler handles -Wwrite-strings... yes checking whether compiler handles -Wjump-misses-init... yes checking whether compiler handles -Wuninitialized... yes checking whether compiler handles -Winit-self... yes checking whether compiler handles -Wlogical-op... yes checking whether compiler handles -Wunused-but-set-parameter... yes checking whether compiler handles -Wunused-but-set-variable... yes checking whether compiler handles -Wunused-parameter... yes checking whether compiler handles -Wunused-result... yes checking whether compiler handles -Wunused-variable... yes checking whether compiler handles -Wduplicated-cond... yes checking whether compiler handles -Wduplicated-branches... yes checking whether compiler handles -Wrestrict... yes checking whether compiler handles -Wnull-dereference... yes checking whether compiler handles -Wno-shadow... yes checking whether compiler handles -Wno-sign-compare... yes checking for ZLIB... yes checking for UUID... yes checking for library containing clock_gettime... none required checking for clock_gettime... yes checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for lzo1x_1_15_compress in -llzo2... yes checking for ZSTD... yes checking for sys/xattr.h... yes checking for sys/acl.h... yes checking for openssl/rand.h... yes checking for OPENSSL... yes checking for sys/random.h... yes checking for CMOCKA... yes checking for execinfo.h... yes checking size of off_t... 8 checking size of loff_t... 8 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating tests/fs-tests/fs_help_all.sh config.status: creating tests/fs-tests/fs_run_all.sh config.status: creating tests/fs-tests/stress/fs_stress00.sh config.status: creating tests/fs-tests/stress/fs_stress01.sh config.status: creating tests/ubi-tests/runubitests.sh config.status: creating tests/ubi-tests/ubi-stress-test.sh config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands CC ubi-utils/ubiupdatevol.o CC lib/libmtd.o CC lib/libfec.o CC lib/common.o CC lib/libcrc32.o CC lib/libmtd_legacy.o CC ubi-utils/ubimkvol.o CC lib/libubi.o CC ubi-utils/ubirmvol.o CC ubi-utils/ubicrc32.o CC ubi-utils/ubinfo.o CC ubi-utils/ubiattach.o CC ubi-utils/ubidetach.o CC ubi-utils/ubinize.o CC lib/libiniparser.o CC lib/libubigen.o CC lib/dictionary.o CC ubi-utils/ubiformat.o CC lib/libscan.o CC ubi-utils/ubirename.o CC ubi-utils/ubirsvol.o CC ubi-utils/mtdinfo.o CC ubi-utils/ubiblock.o CC ubi-utils/ubihealthd.o CC misc-utils/ftl_format.o CC misc-utils/doc_loadbios.o CC misc-utils/ftl_check.o CC misc-utils/mtd_debug.o CC misc-utils/docfdisk.o CC misc-utils/serve_image.o In file included from ubi-utils/mtdinfo.c:34: ./include/libubigen.h:124:32: warning: ‘struct ubi_ec_hdr’ declared inside parameter list will not be visible outside of this definition or declaration 124 | struct ubi_ec_hdr *hdr, long long ec); | ^~~~~~~~~~ ./include/libubigen.h:140:33: warning: ‘struct ubi_vid_hdr’ declared inside parameter list will not be visible outside of this definition or declaration 140 | struct ubi_vid_hdr *hdr, int lnum, | ^~~~~~~~~~~ CC misc-utils/recv_image.o CC misc-utils/fectest.o CC misc-utils/flash_erase.o CC misc-utils/flash_lock.o CC misc-utils/flash_unlock.o CC misc-utils/flash_otp_info.o misc-utils/fectest.c: In function ‘main’: misc-utils/fectest.c:81:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | write(fd, buf, ERASE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ misc-utils/fectest.c:85:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 85 | write(fd, pktbuf, ERASE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC misc-utils/flash_otp_lock.o CC misc-utils/flash_otp_erase.o CC misc-utils/flash_otp_write.o CC misc-utils/flash_otp_dump.o CC misc-utils/flashcp.o CC misc-utils/mtdpart.o misc-utils/fectest.c:37:25: warning: iteration 47 invokes undefined behavior [-Waggressive-loop-optimizations] 37 | srcs[i] = buf + (i * PKT_SIZE); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ misc-utils/fectest.c:36:21: note: within this loop 36 | for (i=0; i < NR_PKTS + DROPS; i++) | ^ CC misc-utils/lsmtd-lsmtd_scan.o CC misc-utils/lsmtd-lsmtd.o CC nand-utils/nanddump.o CC nand-utils/nandwrite.o CC nand-utils/nandtest.o CC nand-utils/nftldump.o misc-utils/flashcp.c: In function ‘main’: misc-utils/flashcp.c:277:2: warning: #warning "Check for smaller erase regions" [-Wcpp] 277 | #warning "Check for smaller erase regions" | ^~~~~~~ CC nand-utils/nftl_format.o CC nand-utils/nandflipbits.o CC nor-utils/rfddump.o CC nor-utils/rfdformat.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o nand-utils/nanddump.c: In function ‘process_options’: nand-utils/nanddump.c:165:38: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | free(dumpfile); | ^~~~~~~~ In file included from nand-utils/nanddump.c:23: /usr/include/stdlib.h:565:25: note: expected ‘void *’ but argument is of type ‘const char *’ 565 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-crc16.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-lpt.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-compr.o CC ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable.o CC ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable_itr.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-devtable.o nand-utils/nandflipbits.c: In function ‘main’: nand-utils/nandflipbits.c:206:65: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 206 | fprintf(stderr, "Invalid byte offset %lld (max %lld)\n", | ~~~^ | | | long long int | %ld 207 | bits_to_flip[i].offset, mtdlen); | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} nand-utils/nandflipbits.c:206:75: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 206 | fprintf(stderr, "Invalid byte offset %lld (max %lld)\n", | ~~~^ | | | long long int | %ld 207 | bits_to_flip[i].offset, mtdlen); | ~~~~~~ | | | uint64_t {aka long unsigned int} CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-crypto.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-fscrypt.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-sign.o CC jffsX-utils/mkfs_jffs2-mkfs.jffs2.o CC jffsX-utils/mkfs_jffs2-compr_zlib.o CC jffsX-utils/mkfs_jffs2-rbtree.o CC jffsX-utils/mkfs_jffs2-compr_lzo.o CC jffsX-utils/mkfs_jffs2-compr.o CC jffsX-utils/mkfs_jffs2-compr_rtime.o CC jffsX-utils/jffs2dump-jffs2dump.o CC jffsX-utils/jffs2reader-jffs2reader.o CC jffsX-utils/sumtool.o CC tests/ubi-tests/io_basic-helpers.o CC tests/ubi-tests/io_basic-io_basic.o jffsX-utils/jffs2reader.c: In function ‘printdir’: jffsX-utils/jffs2reader.c:340:51: warning: taking address of packed member of ‘struct jffs2_raw_inode’ may result in an unaligned pointer value [-Waddress-of-packed-member] 340 | filetime = ctime((const time_t *) &(ri->ctime)); | ^~~~~~~~~~~~ CC tests/ubi-tests/io_update-io_update.o CC tests/ubi-tests/io_update-helpers.o CC tests/ubi-tests/io_paral-io_paral.o CC tests/ubi-tests/io_paral-helpers.o CC tests/ubi-tests/io_read-io_read.o CC tests/ubi-tests/io_read-helpers.o CC tests/ubi-tests/volrefcnt-volrefcnt.o ubifs-utils/mkfs.ubifs/sign.c: In function ‘init_authentication’: ubifs-utils/mkfs.ubifs/sign.c:391:9: warning: ‘OPENSSL_config’ is deprecated [-Wdeprecated-declarations] 391 | OPENSSL_config(NULL); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ossl_typ.h:19, from /usr/include/openssl/rand.h:14, from ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:50, from ubifs-utils/mkfs.ubifs/sign.c:20: /usr/include/openssl/conf.h:91:1: note: declared here 91 | DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name)) | ^~~~~~~~~~~~~~~~~~ CC tests/ubi-tests/volrefcnt-helpers.o CC tests/ubi-tests/integ-integ.o CC tests/ubi-tests/integ-helpers.o CC tests/ubi-tests/mkvol_basic-helpers.o CC tests/ubi-tests/mkvol_basic-mkvol_basic.o CC tests/ubi-tests/mkvol_bad-mkvol_bad.o CC tests/ubi-tests/mkvol_bad-helpers.o CC tests/ubi-tests/mkvol_paral-mkvol_paral.o CC tests/ubi-tests/rsvol-rsvol.o CC tests/ubi-tests/mkvol_paral-helpers.o CC tests/ubi-tests/rsvol-helpers.o CC tests/jittertest/JitterTest-JitterTest.o CC tests/jittertest/plotJittervsFill-plotJittervsFill.o CC tests/checkfs/makefiles-makefiles.o CC tests/checkfs/checkfs-checkfs.o CC tests/checkfs/checkfs-comm.o CC tests/fs-tests/integrity/integck-integck.o tests/checkfs/comm.c:37:5: warning: no previous prototype for ‘do_pwr_dn’ [-Wmissing-prototypes] 37 | int do_pwr_dn(int fd, int cycleCnt) | ^~~~~~~~~ CC lib/execinfo.o CC tests/fs-tests/simple/test_1-test_1.o CC tests/fs-tests/lib/test_1-tests.o CC tests/fs-tests/simple/test_2-test_2.o CC tests/fs-tests/lib/test_2-tests.o CC tests/fs-tests/simple/ftrunc-ftrunc.o CC tests/fs-tests/lib/ftrunc-tests.o CC tests/fs-tests/simple/perf-perf.o CC tests/fs-tests/lib/perf-tests.o CC tests/fs-tests/simple/orph-orph.o CC tests/fs-tests/lib/orph-tests.o CC tests/fs-tests/stress/atoms/stress_1-stress_1.o CC tests/fs-tests/lib/stress_1-tests.o CC tests/fs-tests/stress/atoms/stress_2-stress_2.o CC tests/fs-tests/lib/stress_2-tests.o CC tests/fs-tests/stress/atoms/stress_3-stress_3.o CC tests/fs-tests/lib/stress_3-tests.o CC tests/fs-tests/stress/atoms/pdfrun-pdfrun.o CC tests/fs-tests/lib/pdfrun-tests.o CC tests/fs-tests/stress/atoms/gcd_hupper-gcd_hupper.o CC tests/fs-tests/lib/gcd_hupper-tests.o CC tests/fs-tests/stress/atoms/rndwrite00-rndwrite00.o CC tests/fs-tests/lib/rndwrite00-tests.o CC tests/fs-tests/stress/atoms/fwrite00-fwrite00.o CC tests/fs-tests/lib/fwrite00-tests.o CC tests/fs-tests/stress/atoms/rmdir00-rmdir00.o CC tests/fs-tests/lib/rmdir00-tests.o CC tests/fs-tests/stress/atoms/rndrm00-rndrm00.o CC tests/fs-tests/lib/rndrm00-tests.o CC tests/fs-tests/stress/atoms/rndrm99-rndrm99.o CC tests/fs-tests/lib/rndrm99-tests.o CC tests/fs-tests/utils/fstest_monitor.o CC tests/fs-tests/utils/free_space.o CC tests/mtd-tests/flash_torture-flash_torture.o CC tests/mtd-tests/flash_stress-flash_stress.o CC tests/mtd-tests/flash_speed-flash_speed.o CC tests/mtd-tests/nandbiterrs-nandbiterrs.o CC tests/mtd-tests/flash_readtest-flash_readtest.o CC tests/mtd-tests/nandpagetest-nandpagetest.o CC tests/mtd-tests/nandsubpagetest-nandsubpagetest.o AR libmtd.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') AR libubi.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') AR libubigen.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') AR libiniparser.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') AR libscan.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD ubirename CCLD ubirsvol CCLD mtdinfo CCLD ubiblock CCLD ubihealthd CCLD ftl_format CCLD doc_loadbios CCLD ftl_check CCLD mtd_debug CCLD docfdisk CCLD serve_image CCLD recv_image CCLD fectest CCLD flash_erase CCLD flash_lock CCLD flash_unlock CCLD flash_otp_info misc-utils/fectest.c: In function 'main': misc-utils/fectest.c:37:25: warning: iteration 47 invokes undefined behavior [-Waggressive-loop-optimizations] 37 | srcs[i] = buf + (i * PKT_SIZE); | ^ misc-utils/fectest.c:36:21: note: within this loop 36 | for (i=0; i < NR_PKTS + DROPS; i++) | ^ CCLD flash_otp_dump CCLD flash_otp_lock CCLD flash_otp_erase CCLD flash_otp_write CCLD flashcp CCLD mtdpart CCLD lsmtd CCLD nanddump CCLD nandwrite CCLD nandtest CCLD nftldump CCLD nftl_format CCLD nandflipbits CCLD rfddump CCLD rfdformat CCLD mkfs.ubifs CCLD mkfs.jffs2 CCLD jffs2dump CCLD jffs2reader CCLD sumtool CCLD io_basic CCLD io_update CCLD io_paral CCLD io_read CCLD volrefcnt CCLD integ CCLD mkvol_basic CCLD mkvol_bad CCLD mkvol_paral CCLD rsvol CCLD JitterTest CCLD plotJittervsFill CCLD makefiles CCLD checkfs AR libmissing.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD test_1 CCLD test_2 CCLD ftrunc CCLD perf CCLD orph CCLD stress_1 CCLD stress_2 CCLD stress_3 CCLD pdfrun CCLD gcd_hupper CCLD rndwrite00 CCLD fwrite00 CCLD rmdir00 CCLD rndrm00 CCLD rndrm99 CCLD fstest_monitor CCLD free_space CCLD flash_torture CCLD flash_stress CCLD flash_speed CCLD nandbiterrs CCLD flash_readtest CCLD nandpagetest CCLD nandsubpagetest CCLD ubiupdatevol CCLD ubimkvol CCLD ubirmvol CCLD ubicrc32 CCLD ubinfo CCLD ubiattach CCLD ubidetach CCLD ubinize CCLD ubiformat CCLD integck