>>> safeclib 03032018 Downloading --2019-11-07 13:27:43-- https://github.com/rurban/safeclib/archive/v03032018/safeclib-03032018.tar.gz Resolving github.com (github.com)... 140.82.118.4 Connecting to github.com (github.com)|140.82.118.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/rurban/safeclib/tar.gz/v03032018 [following] --2019-11-07 13:27:44-- https://codeload.github.com/rurban/safeclib/tar.gz/v03032018 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/mark/buildroot-test/instance-1/output/build/.safeclib-03032018.tar.gz.51dG7m/output' 0K .......... .......... .......... .......... .......... 237K 50K .......... .......... .......... .......... .......... 1009K 100K .......... .......... .......... .......... .......... 1.09M 150K .......... .......... .......... .......... .......... 1.17M 200K .......... .......... .......... .......... .......... 1.21M 250K .......... .......... .......... .......... .......... 3.64M 300K .......... .......... .......... .......... .......... 3.81M 350K .......... .......... .......... .......... .......... 3.54M 400K .......... .......... .......... .......... .......... 3.91M 450K .......... .......... .......... .......... .......... 1.19M 500K .......... .......... .......... .......... .......... 3.90M 550K .......... .......... .......... .......... .......... 3.99M 600K .......... .......... .......... .......... .......... 4.08M 650K .......... .......... .......... .......... .......... 4.50M 700K .......... .......... .......... .......... .......... 4.76M 750K .......... .......... .......... .......... .......... 4.87M 800K .......... .......... .......... .......... .......... 3.57M 850K .......... .......... .......... .......... .......... 4.79M 900K .......... .......... .......... .......... .......... 4.53M 950K .......... .......... .......... .......... .......... 4.78M 1000K .......... .......... .......... .......... .......... 4.72M 1050K .......... .......... .......... .......... .......... 4.64M 1100K .......... .......... .......... .......... .......... 4.76M 1150K .......... .......... .......... .......... .......... 4.78M 1200K .......... .......... .......... .......... .......... 3.69M 1250K .......... .......... .......... .......... .......... 4.69M 1300K .......... .......... .......... .......... .......... 4.76M 1350K .......... .......... .......... .......... .......... 4.80M 1400K .......... .......... .......... .......... .......... 7.55M 1450K .......... .......... .......... .......... .......... 8.18M 1500K .......... .......... .......... .......... .......... 9.34M 1550K .......... .......... .......... .......... .......... 8.89M 1600K .......... .......... .......... .......... .......... 6.53M 1650K .......... .......... .......... .......... .......... 545K 1700K .......... .......... .......... .......... .......... 8.36M 1750K .......... .......... .......... .......... .......... 10.2M 1800K .......... .......... .......... .......... .......... 12.0M 1850K .......... .......... .......... .......... .......... 6.87M 1900K .......... .......... .......... .......... .......... 131M 1950K .......... .......... .......... .......... .......... 136M 2000K .......... .......... .......... .......... ......... 122M=0.8s 2019-11-07 13:27:45 (2.43 MB/s) - '/home/mark/buildroot-test/instance-1/output/build/.safeclib-03032018.tar.gz.51dG7m/output' saved [2098381] safeclib-03032018.tar.gz: OK (sha256: 51f66832853322a4fbe677e196ab4c68317261829edb5e56725ed96a07ea50e6) >>> safeclib 03032018 Extracting gzip -d -c /home/mark/buildroot-test/instance-1/dl/safeclib/safeclib-03032018.tar.gz | /home/mark/buildroot-test/instance-1/output/host/bin/tar --strip-components=1 -C /home/mark/buildroot-test/instance-1/output/build/safeclib-03032018 -xf - >>> safeclib 03032018 Patching Applying 0001-Add-disable-doc-option.patch using patch: patching file Makefile.am patching file configure.ac Applying 0002-add-pic_flag-to-RETPOLINE-cflags-and-ldflags.patch using patch: patching file configure.ac patching file m4/ax_compiler_flags_cflags.m4 patching file m4/ax_compiler_flags_ldflags.m4 Applying 0003-Define-_GNU_SOURCE-when-needed.patch using patch: patching file src/extmem/memzero_s.c Hunk #1 succeeded at 29 (offset -2 lines). patching file src/io/gets_s.c patching file src/os/asctime_s.c patching file src/os/ctime_s.c patching file src/os/gmtime_s.c patching file src/os/localtime_s.c >>> safeclib 03032018 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/mark/buildroot-test/instance-1/output/build/safeclib-03032018 -name $file); do cp support/gnuconfig/$file $i; done; done >>> safeclib 03032018 Configuring >>> safeclib 03032018 Autoreconfiguring libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-tools'. libtoolize: copying file 'build-tools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:68: installing 'build-tools/ar-lib' configure.ac:68: installing 'build-tools/compile' configure.ac:73: installing 'build-tools/config.guess' configure.ac:73: installing 'build-tools/config.sub' configure.ac:61: installing 'build-tools/install-sh' configure.ac:61: installing 'build-tools/missing' src/Makefile.am: installing 'build-tools/depcomp' parallel-tests: installing 'build-tools/test-driver' >>> safeclib 03032018 Patching libtool patching file /home/mark/buildroot-test/instance-1/output/build/safeclib-03032018/build-tools/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 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/mark/buildroot-test/instance-1/output/build/safeclib-03032018/ && rm -rf config.cache && PATH="/home/mark/buildroot-test/instance-1/output/host/bin:/home/mark/buildroot-test/instance-1/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar" AS="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-as" LD="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld" NM="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm" CC="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc" GCC="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc" CPP="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp" CXX="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-g++" FC="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gfortran" F77="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gfortran" RANLIB="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ranlib" READELF="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-readelf" STRIP="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-strip" OBJCOPY="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-objcopy" OBJDUMP="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-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/mark/buildroot-test/instance-1/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/mark/buildroot-test/instance-1/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/mark/buildroot-test/instance-1/output/host/include" LDFLAGS_FOR_BUILD="-L/home/mark/buildroot-test/instance-1/output/host/lib -Wl,-rpath,/home/mark/buildroot-test/instance-1/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-as" DEFAULT_LINKER="/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-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="/home/mark/buildroot-test/instance-1/output/host/bin/pkg-config" STAGING_DIR="/home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/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 gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-musl --host=riscv64-buildroot-linux-musl --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 ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --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 riscv64-buildroot-linux-musl-strip... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-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 nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for riscv64-buildroot-linux-musl-gcc... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-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 /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc accepts -g... yes checking for /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc option to enable C89 features... none needed checking whether /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc understands -c and -o together... yes checking dependency style of /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc... none checking for riscv64-buildroot-linux-musl-ar... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar checking the archiver (/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-buildroot-linux-musl checking how to print strings... printf 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/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld checking if the linker (/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm checking the name lister (/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-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-musl 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/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld option to reload object files... -r checking for riscv64-buildroot-linux-musl-objdump... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-buildroot-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-buildroot-linux-musl-ar... (cached) /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar checking for archiver @FILE support... @ checking for riscv64-buildroot-linux-musl-strip... (cached) /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-strip checking for riscv64-buildroot-linux-musl-ranlib... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ranlib checking command to parse /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm output from /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-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-musl-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 how to run the C preprocessor... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp 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 for dlfcn.h... yes checking for objdir... .libs checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc static flag -static works... yes checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -c -o file.o... yes checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc linker (/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-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 --enable-gcov... no (default) checking for --enable-debug... no CFLAGS = -O2 -D_FORTIFY_SOURCE=2 configure: WARNING: CFLAGS is not empty, will attempt to apply optimization flags to 'AM_CFLAGS' but depending on the contents of CFLAGS these may be overridden. CFLAGS = '-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' checking for --disable-extensions... no (default) checking for --enable-memmax... (256UL << 20) /* 256MB */ checking for --enable-strmax... (4UL << 10) /* 4KB */ checking for --disable-nullslack... no (default) checking for --disable-constraint-handler... no (default) checking for --enable-unsafe... no checking for --enable-norm-compat... no (default) checking for --enable-warn-dmax... no (default) checking for --enable-error-dmax... no (default) configure: Check programs checking for riscv64-buildroot-linux-musl-gcc... (cached) /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc accepts -g... (cached) yes checking for /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc option to enable C89 features... (cached) none needed checking whether /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc understands -c and -o together... (cached) yes checking dependency style of /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc... (cached) none checking how to run the C preprocessor... /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp checking for /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc option to enable C99 features... none needed checking for /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc option to enable C11 features... none needed checking for -Wmissing-format-attribute usability... no checking whether C compiler accepts -Werror=unknown-warning-option... no checking whether C compiler accepts -Wsuggest-attribute=format... yes checking whether C compiler accepts -mretpoline -DRETPOLINE -fPIC -DPIC... no checking whether C compiler accepts -mindirect-branch=thunk-extern -mfunction-return=thunk-extern -mindirect-branch-register -fPIC -DPIC -DRETPOLINE... no checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wundef... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Wmissing-declarations... yes checking whether C compiler accepts -Wredundant-decls... yes checking whether C compiler accepts -Wno-unused-parameter... yes checking whether C compiler accepts -Wno-missing-field-initializers... yes checking whether C compiler accepts -Wformat=2... (cached) no checking whether C compiler accepts -Wcast-align... yes checking whether C compiler accepts -Wformat-nonliteral... (cached) no checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wsign-compare... yes checking whether C compiler accepts -Wstrict-aliasing... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Winline... (cached) no checking whether C compiler accepts -Wpacked... yes checking whether C compiler accepts -Wmissing-format-attribute... (cached) no checking whether C compiler accepts -Wmissing-noreturn... yes checking whether C compiler accepts -Winit-self... yes checking whether C compiler accepts -Wredundant-decls... (cached) yes checking whether C compiler accepts -Wmissing-include-dirs... yes checking whether C compiler accepts -Wunused-but-set-variable... yes checking whether C compiler accepts -Warray-bounds... yes checking whether C compiler accepts -Wreturn-type... yes checking whether C compiler accepts -Wswitch-enum... yes checking whether C compiler accepts -Wswitch-default... yes checking whether C compiler accepts -Wduplicated-cond... yes checking whether C compiler accepts -Wduplicated-branches... yes checking whether C compiler accepts -Wlogical-op... yes checking whether C compiler accepts -Wrestrict... yes checking whether C compiler accepts -Wnull-dereference... yes checking whether C compiler accepts -Wdouble-promotion... yes checking whether C compiler accepts -Wnested-externs... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wstrict-prototypes... yes checking whether C compiler accepts -Wdeclaration-after-statement... yes checking whether C compiler accepts -Wimplicit-function-declaration... yes checking whether C compiler accepts -Wold-style-definition... yes checking whether C compiler accepts -Wjump-misses-init... yes checking whether C compiler accepts -Wno-suggest-attribute=format... yes checking whether C compiler accepts -Wno-error=unused-parameter... yes checking whether C compiler accepts -Wno-error=missing-field-initializers... yes checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no checking whether the linker accepts -Wl,--as-needed... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking whether the linker accepts -Wl,--fatal-warnings... (cached) no checking whether the linker accepts -Wl,-fatal_warnings... (cached) no checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no checking for __builtin_object_size... yes checking whether C compiler accepts -Wuser-defined-warnings... no checking whether C compiler accepts -Wgcc-compat... no checking for diagnose_if attribute... no checking for doxygen... no configure: WARNING: doxygen not found - continuing without doxygen support checking for pod2man... pod2man checking for valgrind... no configure: Check header files checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether time.h and sys/time.h may both be included... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for stdlib.h... (cached) yes checking for memory.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for sys/types.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no configure: Check typedefs, structures, and compiler characteristics checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for size_t... yes checking for int32_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uintptr_t... yes checking size of size_t... 8 checking for errno_t... no checking for mbstate_t... yes checking for struct tm.tm_gmtoff... yes checking size of time_t... 8 checking for wchar_t... yes checking for __builtin_ctz... yes checking for __builtin_constant_p... yes checking for __builtin___bnd_set_ptr_bounds... yes checking for __builtin___bnd_null_ptr_bounds... yes checking for __builtin___bnd_chk_ptr_bounds... yes configure: Check library functions checking for __bnd_chk_ptr_bounds... no checking for __bnd_set_ptr_bounds... no checking for __bnd_null_ptr_bounds... no checking for __memcpy_chk... no checking for __memmove_chk... no checking for __memset_chk... no checking for __strcpy_chk... no checking for __strncpy_chk... no checking for __strcat_chk... no checking for __strncat_chk... no checking for __printf_chk... no checking for __sprintf_chk... no checking for __snprintf_chk... no checking for __swprintf_chk... no checking for __vfprintf_chk... no checking for __vfwprintf_chk... no checking for __vsprintf_chk... no checking for __vsnprintf_chk... no checking for __vsscanf_chk... no checking for __vswscanf_chk... no checking for _memcpy_s_chk... no checking for _memmove_s_chk... no checking for _memset_s_chk... no checking for _memcmp_s_chk... no checking for _strcpy_s_chk... no checking for _strncpy_s_chk... no checking for _strcat_s_chk... no checking for _strncat_s_chk... no checking for _strnlen_s_chk... no checking for _printf_s_chk... no checking for _sprintf_s_chk... no checking for _snprintf_s_chk... no checking for _swprintf_s_chk... no checking for _vfprintf_s_chk... no checking for _vfwprintf_s_chk... no checking for _vsprintf_s_chk... no checking for _vsnprintf_s_chk... no checking for working memcmp... (cached) yes checking for memset... yes checking for strcmp... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strcspn... yes checking for strpbrk... yes checking for strspn... yes checking for strnstr... no checking for strnlen... yes checking for strrchr... yes checking for memrchr... yes checking for strstr... yes checking for wmemchr... yes checking for wmemcmp... yes checking for wcscmp... yes checking for wcsstr... yes checking for vswprintf... yes checking for vsnwprintf... no checking for vswscanf... yes checking for mbsrtowcs... yes checking for mbstowcs... yes checking for iswdigit... yes checking for iswspace... yes checking for towlower... yes checking for towupper... yes checking for towctrans... yes checking for bcmp... yes checking for secure_getenv... no checking for timingsafe_memcmp... no checking for timingsafe_bcmp... no checking for asctime_r... yes checking for ctime_r... yes checking for gmtime_r... yes checking for localtime_r... yes checking for memccpy... yes checking for memset_s... no checking for memcpy_s... no checking for memmove_s... no checking for memzero_s... no checking for memchr_s... no checking for memrchr_s... no checking for memccpy_s... no checking for sprintf_s... no checking for strcat_s... no checking for strcpy_s... no checking for strncat_s... no checking for strncpy_s... no checking for strnlen_s... no checking for strtok_s... no checking for strerror_s... no checking for vsprintf_s... no checking for tmpnam_s... no checking for snprintf_s... no checking for vsnprintf_s... no checking for snwprintf_s... no checking for strspn_s... no checking for strset_s... no checking for strchr_s... no checking for strrchr_s... no checking for strstr_s... no checking for strzero_s... no checking for strnset_s... no checking for mbsrtowcs_s... no checking for mbstowcs_s... no checking for wcsrtombs_s... no checking for wcstombs_s... no checking for wcrtomb_s... no checking for wctomb_s... no checking for wcsnlen_s... no checking for wcscpy_s... no checking for wcsncpy_s... no checking for wcscat_s... no checking for wcsncat_s... no checking for wmemcpy_s... no checking for wmemmove_s... no checking for wcstok_s... no checking for vswprintf_s... no checking for swprintf_s... no checking for vfwprintf_s... no checking for vwprintf_s... no checking for wprintf_s... no checking for fwprintf_s... no checking for swscanf_s... no checking for vswscanf_s... no checking for wscanf_s... no checking for vfwscanf_s... no checking for fwscanf_s... no checking for vwscanf_s... no checking for vsnwprintf_s... no checking for wcsstr_s... no checking for wmemcmp_s... no checking for wcscmp_s... no checking for wcsncmp_s... no checking for wcsicmp_s... no checking for wcsset_s... no checking for wcsnset_s... no checking for wcscoll_s... no checking for wcslwr_s... no checking for wcsupr_s... no checking for towfc_s... no checking for wcsfc_s... no checking for sscanf_s... no checking for fscanf_s... no checking for scanf_s... no checking for vfscanf_s... no checking for vsscanf_s... no checking for vscanf_s... no checking for printf_s... no checking for fprintf_s... no checking for tmpfile_s... no checking for vfprintf_s... no checking for vprintf_s... no checking for fopen_s... no checking for freopen_s... no checking for gets_s... no checking for bsearch_s... no checking for qsort_s... no checking for gmtime_s... no checking for localtime_s... no checking for asctime_s... no checking for ctime_s... no checking for getenv_s... no checking for towupper usability... no (cross) checking for --disable-wchar or broken wchar usability... no (default) checking size of wchar_t... 4 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating safec-3.3.pc config.status: creating include/safe_config.h config.status: creating include/safe_lib_errno.h config.status: creating include/safe_types.h config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile 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-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> safeclib 03032018 Building PATH="/home/mark/buildroot-test/instance-1/output/host/bin:/home/mark/buildroot-test/instance-1/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j2 -C /home/mark/buildroot-test/instance-1/output/build/safeclib-03032018/ make[1]: Entering directory '/home/mark/buildroot-test/instance-1/output/build/safeclib-03032018' echo fd215f > .version-t && mv .version-t .version /usr/bin/make all-recursive make[2]: Entering directory '/home/mark/buildroot-test/instance-1/output/build/safeclib-03032018' Making all in src make[3]: Entering directory '/home/mark/buildroot-test/instance-1/output/build/safeclib-03032018/src' CC mem/mem_primitives_lib.lo CC abort_handler_s.lo CC ignore_handler_s.lo CC mem/safe_mem_constraint.lo CC mem/memset_s.lo CC mem/memcpy_s.lo CC mem/memmove_s.lo CC str/safe_str_constraint.lo CC str/sprintf_s.lo CC str/strcat_s.lo CC str/strcpy_s.lo CC str/strncat_s.lo CC str/strncpy_s.lo CC str/strnlen_s.lo CC str/strtok_s.lo CC str/strerror_s.lo CC str/vsprintf_s.lo CC str/snprintf_s.lo CC str/vsnprintf_s.lo CC io/sscanf_s.lo CC io/fscanf_s.lo CC io/scanf_s.lo CC io/vfscanf_s.lo CC io/vsscanf_s.lo CC io/vscanf_s.lo CC io/printf_s.lo CC io/fprintf_s.lo CC io/tmpfile_s.lo CC io/vfprintf_s.lo CC io/vprintf_s.lo CC io/fopen_s.lo CC io/freopen_s.lo CC io/gets_s.lo io/gets_s.c: In function '_gets_s_chk': io/gets_s.c:146:32: error: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Werror=implicit-function-declaration] rsize_t len = (rsize_t)strnlen(dest, dmax); ^~~~~~~ strlen io/gets_s.c:146:32: error: nested extern declaration of 'strnlen' [-Werror=nested-externs] cc1: all warnings being treated as errors make[3]: *** [Makefile:1330: io/gets_s.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/mark/buildroot-test/instance-1/output/build/safeclib-03032018/src' make[2]: *** [Makefile:1179: all-recursive] Error 1 make[2]: Leaving directory '/home/mark/buildroot-test/instance-1/output/build/safeclib-03032018' make[1]: *** [Makefile:915: all] Error 2 make[1]: Leaving directory '/home/mark/buildroot-test/instance-1/output/build/safeclib-03032018' make: *** [package/pkg-generic.mk:241: /home/mark/buildroot-test/instance-1/output/build/safeclib-03032018/.stamp_built] Error 2 make: Leaving directory '/home/mark/buildroot-test/instance-1/buildroot'