>>> mtd 2.1.5 Extracting bzcat /home/buildroot/autobuild/instance-1/dl/mtd/mtd-utils-2.1.5.tar.bz2 | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5 -xf - >>> mtd 2.1.5 Patching >>> mtd 2.1.5 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5 -name $file); do cp support/gnuconfig/$file $i; done; done >>> mtd 2.1.5 Patching libtool patching file /home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5/ltmain.sh Hunk #1 succeeded at 2940 (offset 253 lines). Hunk #2 succeeded at 4533 (offset 256 lines). Hunk #3 succeeded at 6829 (offset 275 lines). Hunk #4 succeeded at 6839 (offset 275 lines). Hunk #5 succeeded at 7139 (offset 282 lines). Hunk #6 succeeded at 7443 (offset 294 lines). Hunk #7 succeeded at 8419 (offset 307 lines). Hunk #8 succeeded at 11051 (offset 341 lines). >>> mtd 2.1.5 Configuring (cd /home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-as" LD="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-ld" NM="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-g++" FC="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-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/home/buildroot/autobuild/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-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 -O0 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 " LDFLAGS="" FCFLAGS=" -O0 -g0" FFLAGS=" -O0 -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-1/output-1/host/or1k-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes 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 LDFLAGS="" CONFIG_SITE=/dev/null ./configure --target=or1k-buildroot-linux-uclibc --host=or1k-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-jffs --without-ubifs --disable-ubihealthd --enable-tests --without-xattr ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for or1k-buildroot-linux-uclibc-strip... /bin/true checking for a race-free mkdir -p... /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... x86_64-pc-linux-gnu checking host system type... or1k-buildroot-linux-uclibc checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for or1k-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-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 the compiler supports GNU C... yes checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc option to enable C11 features... none needed checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking dependency style of /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc... /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-ld checking if the linker (/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc-nm checking the name lister (/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to or1k-buildroot-linux-uclibc format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-ld option to reload object files... -r checking for or1k-buildroot-linux-uclibc-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for or1k-buildroot-linux-uclibc-objdump... /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for or1k-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for or1k-buildroot-linux-uclibc-ar... /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc-ar checking for archiver @FILE support... @ checking for or1k-buildroot-linux-uclibc-strip... (cached) /bin/true checking for or1k-buildroot-linux-uclibc-ranlib... /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc-ranlib checking command to parse /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc-nm output from /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for or1k-buildroot-linux-uclibc-mt... no checking for mt... mt checking if mt 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 /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc static flag -static works... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc linker (/home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-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... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for or1k-buildroot-linux-uclibc-gcc... (cached) /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc accepts -g... (cached) yes checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc option to enable C11 features... (cached) none needed checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc understands -c and -o together... (cached) yes checking dependency style of /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc... (cached) none checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-cpp 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 library containing clock_gettime... none required checking for clock_gettime... yes checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/or1k-buildroot-linux-uclibc-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... no checking for execinfo.h... no 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 configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> mtd 2.1.5 Building PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5/ make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5' CC lib/execinfo.o 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 lib/libubi.o CC ubi-utils/ubimkvol.o CC ubi-utils/ubirmvol.o CC ubi-utils/ubicrc32.o CC ubi-utils/ubinfo.o ubi-utils/ubinfo.c: In function 'main': ubi-utils/ubinfo.c:430:1: warning: label 'out' defined but not used [-Wunused-label] 430 | out: | ^~~ CC ubi-utils/ubiattach.o CC ubi-utils/ubidetach.o CC ubi-utils/ubinize.o CC lib/libubigen.o CC lib/libiniparser.o CC lib/dictionary.o lib/libiniparser.c: In function 'iniparser_load': lib/libiniparser.c:560:30: warning: '%s' directive writing up to 1024 bytes into a region of size between 0 and 1024 [-Wformat-overflow=] 560 | sprintf(tmp, "%s:%s", section, key); | ^~ ~~~ lib/libiniparser.c:560:13: note: 'sprintf' output between 2 and 2050 bytes into a destination of size 1025 560 | sprintf(tmp, "%s:%s", section, key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC ubi-utils/ubiformat.o CC lib/libscan.o CC ubi-utils/ubirename.o CC ubi-utils/mtdinfo.o In file included from ubi-utils/mtdinfo.c:34: ./include/libubigen.h:124:18: 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:12: 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 ubi-utils/ubirsvol.o CC ubi-utils/ubiblock.o CC ubi-utils/ubiscan.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 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/flash_erase.c: In function 'main': misc-utils/flash_erase.c:310:1: error: unrecognizable insn: 310 | } | ^ (insn 535 534 536 55 (set (reg/f:SI 344) (lo_sum:SI (reg:SI 334) (plus:SI (unspec:SI [ (symbol_ref:SI ("cleanmarker") [flags 0x2] ) ] UNSPEC_GOTOFF) (const_int 1 [0x1])))) "misc-utils/flash_erase.c":212:21 -1 (nil)) during RTL pass: vregs misc-utils/flash_erase.c:310:1: internal compiler error: in extract_insn, at recog.c:2294 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Makefile:3065: recipe for target 'misc-utils/flash_erase.o' failed make[1]: *** [misc-utils/flash_erase.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.5/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'