>>> kmod 27 Extracting xzcat /nvme/rc-buildroot-test/scripts/instance-1/dl/kmod/kmod-27.tar.xz | tar --strip-components=1 -C /nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27 -xf - >>> kmod 27 Patching Applying 0001-fix-O_CLOEXEC.patch using patch: patching file shared/missing.h >>> kmod 27 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27 -name $file); do cp support/gnuconfig/$file $i; done; done >>> kmod 27 Patching libtool patching file /nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27/build-aux/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8142 (offset 30 lines). Hunk #8 succeeded at 10771 (offset 61 lines). >>> kmod 27 Configuring (cd /nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27/ && rm -rf config.cache && PATH="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin" AR="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar" AS="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm" CC="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-ranlib" READELF="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip" OBJCOPY="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-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/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/lib -Wl,-rpath,/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-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 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl 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=no CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-uclibc --host=riscv64-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 --disable-static --enable-shared --disable-manpages --with-zlib --with-xz --with-openssl --enable-python ) 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 riscv64-buildroot-linux-uclibc-gcc... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-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 /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g... yes checking for /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C89... none needed checking whether /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking how to run the C preprocessor... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether to enable maintainer-specific portions of Makefiles... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv64-buildroot-linux-uclibc-strip... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking dependency style of /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc... none checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-buildroot-linux-uclibc checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld checking if the linker (/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm checking the name lister (/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-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 riscv64-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 /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld option to reload object files... -r checking for riscv64-buildroot-linux-uclibc-objdump... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-buildroot-linux-uclibc-ar... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar checking for archiver @FILE support... @ checking for riscv64-buildroot-linux-uclibc-strip... (cached) /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip checking for riscv64-buildroot-linux-uclibc-ranlib... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-ranlib checking command to parse /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm output from /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-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 riscv64-buildroot-linux-uclibc-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc static flag -static works... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -c -o file.o... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc linker (/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-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... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a sed that does not truncate output... (cached) /bin/sed checking whether ln -s works... yes checking pkg-config is at least version 0.9.0... yes checking for xsltproc... /usr/bin/xsltproc checking for mkosi... no checking for /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C99... none needed checking for __xstat... no checking for __secure_getenv... no checking for secure_getenv... yes checking for finit_module... no checking if compiler has __builtin_clz builtin function... yes checking if compiler has __builtin_types_compatible_p builtin function... yes checking if compiler has __builtin_uaddl_overflow builtin function... yes checking if compiler has __builtin_uaddll_overflow builtin function... yes checking for struct stat.st_mtim... yes checking whether strndupa is declared... yes checking whether be32toh is declared... yes checking for linux/module.h... yes checking whether _Static_assert() is supported... yes checking whether _Noreturn is supported... yes checking for liblzma... yes checking for zlib... yes checking for libcrypto... yes checking for python... /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for cython... : checking for PYTHON... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -pipe in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -DANOTHER_BRICK_IN_THE in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wall in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -W in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wextra in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wno-inline in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wvla in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wundef in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wformat=2 in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wlogical-op in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wsign-compare in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wformat-security in envvar CFLAGS... no checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wmissing-include-dirs in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wformat-nonliteral in envvar CFLAGS... no checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wold-style-definition in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wpointer-arith in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Winit-self in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wdeclaration-after-statement in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wfloat-equal in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wmissing-prototypes in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wstrict-prototypes in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wredundant-decls in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wmissing-declarations in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wmissing-noreturn in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wshadow in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wendif-labels in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wstrict-aliasing=3 in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wwrite-strings in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wno-long-long in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wno-overlength-strings in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wno-unused-parameter in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wno-missing-field-initializers in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wno-unused-result in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wnested-externs in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wchar-subscripts in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wtype-limits in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wuninitialized in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -fno-common in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -fdiagnostics-show-option in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -fvisibility=hidden in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -ffunction-sections in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -fdata-sections in envvar CFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wl,--as-needed in envvar LDFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wl,--no-undefined in envvar LDFLAGS... yes checking if /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports flag -Wl,--gc-sections in envvar LDFLAGS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating libkmod/docs/Makefile config.status: creating libkmod/docs/version.xml config.status: creating 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 kmod 27 ======= prefix: /usr sysconfdir: /etc libdir: ${exec_prefix}/lib rootlibdir: ${exec_prefix}/lib includedir: ${prefix}/include bindir: ${exec_prefix}/bin Bash completions dir: ${datarootdir}/bash-completion/completions compiler: /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc cflags: -pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=3 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits -Wuninitialized -fno-common -fdiagnostics-show-option -fvisibility=hidden -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ldflags: -Wl,--as-needed -Wl,--no-undefined -Wl,--gc-sections experimental features: no tools: yes python bindings: yes logging: yes compression: xz=yes zlib=yes debug: no coverage: no doc: no man: no test-modules: yes features: +XZ +ZLIB +LIBCRYPTO -EXPERIMENTAL >>> kmod 27 Building PATH="/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin" /usr/bin/make -j4 -C /nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27/ make[1]: Entering directory '/nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27' /usr/bin/make --no-print-directory all-recursive Making all in . GEN libkmod/libkmod.pc CC tools/kmod.o CC tools/lsmod.o CC tools/rmmod.o CC tools/insmod.o CC tools/modinfo.o CC tools/modprobe.o CC tools/depmod.o CC tools/log.o CC tools/static-nodes.o CC shared/array.lo CC shared/hash.lo CC shared/scratchbuf.lo CC shared/strbuf.lo CC shared/util.lo CC libkmod/libkmod.lo CC libkmod/libkmod-builtin.lo CC libkmod/libkmod-list.lo CC libkmod/libkmod-config.lo CC libkmod/libkmod-index.lo CC libkmod/libkmod-module.lo CC libkmod/libkmod-file.lo CC libkmod/libkmod-elf.lo CC libkmod/libkmod-signature.lo CC libkmod/python/kmod/kmod_la-kmod.lo CC libkmod/python/kmod/list_la-list.lo CC libkmod/python/kmod/module_la-module.lo CC libkmod/python/kmod/_util_la-_util.lo CCLD shared/libshared.la CCLD libkmod/libkmod.la CCLD libkmod/libkmod-internal.la CCLD libkmod/python/kmod/list.la CCLD libkmod/python/kmod/_util.la CCLD tools/kmod libtool: warning: '/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib/liblzma.la' seems to be moved libtool: warning: '/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib/liblzma.la' seems to be moved CCLD libkmod/python/kmod/kmod.la CCLD libkmod/python/kmod/module.la /nvme/rc-buildroot-test/scripts/instance-1/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: tools/depmod.o: in function `.L687': depmod.c:(.text.do_depmod+0x22c0): undefined reference to `renameat' collect2: error: ld returned 1 exit status Makefile:1662: recipe for target 'tools/kmod' failed make[3]: *** [tools/kmod] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: warning: '/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib/liblzma.la' seems to be moved libtool: warning: '/nvme/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib/liblzma.la' seems to be moved Makefile:2174: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 Makefile:1218: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27' package/pkg-generic.mk:247: recipe for target '/nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27/.stamp_built' failed make: *** [/nvme/rc-buildroot-test/scripts/instance-1/output-1/build/kmod-27/.stamp_built] Error 2 make: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-1/buildroot'