This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Safe C Library configure fd215f, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./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 ## --------- ## ## Platform. ## ## --------- ## hostname = godzilla.lym.embecosm-corp.com uname -m = x86_64 uname -r = 4.18.0-25-generic uname -s = Linux uname -v = #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/mark/buildroot-test/instance-0/output/host/bin PATH: /home/mark/buildroot-test/instance-0/output/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2843: checking for a BSD-compatible install configure:2911: result: /usr/bin/install -c configure:2922: checking whether build environment is sane configure:2977: result: yes configure:3036: checking for riscv64-buildroot-linux-musl-strip configure:3063: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-strip configure:3128: checking for a thread-safe mkdir -p configure:3167: result: /bin/mkdir -p configure:3174: checking for gawk configure:3190: found /usr/bin/gawk configure:3201: result: gawk configure:3212: checking whether make sets $(MAKE) configure:3234: result: yes configure:3263: checking whether make supports nested variables configure:3280: result: yes configure:3410: checking whether make supports nested variables configure:3427: result: yes configure:3453: checking for style of include used by make configure:3481: result: GNU configure:3512: checking for riscv64-buildroot-linux-musl-gcc configure:3539: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc configure:3808: checking for C compiler version configure:3817: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc --version >&5 riscv64-buildroot-linux-musl-gcc.br_real (Buildroot 2019.11-git-01087-g5e968678fd) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3828: $? = 0 configure:3817: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc.br_real COLLECT_LTO_WRAPPER=/home/mark/buildroot-test/instance-0/output/host/libexec/gcc/riscv64-buildroot-linux-musl/8.3.0/lto-wrapper Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/home/mark/buildroot-test/instance-0/output/host --sysconfdir=/home/mark/buildroot-test/instance-0/output/host/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/mark/buildroot-test/instance-0/output/host --with-mpc=/home/mark/buildroot-test/instance-0/output/host --with-mpfr=/home/mark/buildroot-test/instance-0/output/host --with-pkgversion='Buildroot 2019.11-git-01087-g5e968678fd' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --disable-libquadmath --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix gcc version 8.3.0 (Buildroot 2019.11-git-01087-g5e968678fd) configure:3828: $? = 0 configure:3817: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -V >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-V' riscv64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:3828: $? = 1 configure:3817: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -qversion >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? riscv64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:3828: $? = 1 configure:3848: checking whether the C compiler works configure:3870: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3874: $? = 0 configure:3922: result: yes configure:3925: checking for C compiler default output file name configure:3927: result: a.out configure:3933: checking for suffix of executables configure:3940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3944: $? = 0 configure:3966: result: configure:3988: checking whether we are cross compiling configure:4026: result: yes configure:4031: checking for suffix of object files configure:4053: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4057: $? = 0 configure:4078: result: o configure:4082: checking whether we are using the GNU C compiler configure:4101: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4101: $? = 0 configure:4110: result: yes configure:4119: checking whether /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc accepts -g configure:4139: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4139: $? = 0 configure:4180: result: yes configure:4197: checking for /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc option to enable C89 features configure:4260: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4260: $? = 0 configure:4274: result: none needed configure:4300: checking whether /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc understands -c and -o together configure:4322: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:4325: $? = 0 configure:4322: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:4325: $? = 0 configure:4337: result: yes configure:4356: checking dependency style of /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc configure:4467: result: none configure:4488: checking for riscv64-buildroot-linux-musl-ar configure:4515: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar configure:4585: checking the archiver (/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar) interface configure:4601: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4601: $? = 0 configure:4603: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar cru libconftest.a conftest.o >&5 configure:4606: $? = 0 configure:4634: result: ar configure:4687: checking build system type configure:4701: result: x86_64-pc-linux-gnu configure:4721: checking host system type configure:4734: result: riscv64-buildroot-linux-musl configure:4775: checking how to print strings configure:4802: result: printf configure:4823: checking for a sed that does not truncate output configure:4887: result: /bin/sed configure:4905: checking for grep that handles long lines and -e configure:4963: result: /bin/grep configure:4968: checking for egrep configure:5030: result: /bin/grep -E configure:5035: checking for fgrep configure:5097: result: /bin/grep -F configure:5132: checking for ld used by /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc configure:5199: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ld configure:5206: checking if the linker (/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ld) is GNU ld configure:5221: result: yes configure:5233: checking for BSD- or MS-compatible name lister (nm) configure:5287: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-nm configure:5417: checking the name lister (/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-nm) interface configure:5424: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5427: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-nm "conftest.o" configure:5430: output 0000000000000000 S some_variable configure:5437: result: BSD nm configure:5440: checking whether ln -s works configure:5444: result: yes configure:5452: checking the maximum length of command line arguments configure:5583: result: 1572864 configure:5631: checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-musl format configure:5671: result: func_convert_file_noop configure:5678: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:5698: result: func_convert_file_noop configure:5705: checking for /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ld option to reload object files configure:5712: result: -r configure:5746: checking for riscv64-buildroot-linux-musl-objdump configure:5773: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-objdump configure:5845: checking how to recognize dependent libraries configure:6045: result: pass_all configure:6090: checking for riscv64-buildroot-linux-musl-dlltool configure:6120: result: no configure:6130: checking for dlltool configure:6160: result: no configure:6190: checking how to associate runtime and link libraries configure:6217: result: printf %s\n configure:6233: checking for riscv64-buildroot-linux-musl-ar configure:6260: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar configure:6341: checking for archiver @FILE support configure:6358: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6358: $? = 0 configure:6361: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar cru libconftest.a @conftest.lst >&5 configure:6364: $? = 0 configure:6369: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar cru libconftest.a @conftest.lst >&5 /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar: conftest.o: No such file or directory configure:6372: $? = 1 configure:6384: result: @ configure:6402: checking for riscv64-buildroot-linux-musl-strip configure:6429: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-strip configure:6501: checking for riscv64-buildroot-linux-musl-ranlib configure:6528: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ranlib configure:6670: checking command to parse /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-nm output from /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc object configure:6823: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6826: $? = 0 configure:6830: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:6833: $? = 0 configure:6899: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:6902: $? = 0 configure:6940: result: ok configure:6987: checking for sysroot configure:7017: result: no configure:7024: checking for a working dd configure:7062: result: /bin/dd configure:7066: checking how to truncate binary pipes configure:7081: result: /bin/dd bs=4096 count=1 configure:7370: checking for riscv64-buildroot-linux-musl-mt configure:7400: result: no configure:7410: checking for mt configure:7426: found /bin/mt configure:7437: result: mt configure:7449: WARNING: using cross tools not prefixed with host triplet configure:7460: checking if mt is a manifest tool configure:7466: mt '-?' configure:7474: result: no configure:8151: checking how to run the C preprocessor configure:8221: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp configure:8241: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:8241: $? = 0 configure:8255: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:8255: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | /* end confdefs.h. */ | #include configure:8284: checking for ANSI C header files configure:8304: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8304: $? = 0 configure:8388: result: yes configure:8401: checking for sys/types.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8401: checking for sys/stat.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8401: checking for stdlib.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8401: checking for string.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8401: checking for memory.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8401: checking for strings.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8401: checking for inttypes.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8401: checking for stdint.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8401: checking for unistd.h configure:8401: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8401: $? = 0 configure:8401: result: yes configure:8415: checking for dlfcn.h configure:8415: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8415: $? = 0 configure:8415: result: yes configure:8671: checking for objdir configure:8686: result: .libs configure:8946: checking if /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -fno-rtti -fno-exceptions configure:8964: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:8968: $? = 0 configure:8981: result: no configure:9339: checking for /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc option to produce PIC configure:9346: result: -fPIC -DPIC configure:9354: checking if /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc PIC flag -fPIC -DPIC works configure:9372: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:9376: $? = 0 configure:9389: result: yes configure:9418: checking if /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc static flag -static works configure:9446: result: yes configure:9461: checking if /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -c -o file.o configure:9482: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:9486: $? = 0 configure:9508: result: yes configure:9516: checking if /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -c -o file.o configure:9563: result: yes configure:9596: checking whether the /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc linker (/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ld) supports shared libraries configure:10855: result: yes configure:10892: checking whether -lc should be explicitly linked in configure:10900: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10903: $? = 0 configure:10918: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:10921: $? = 0 configure:10935: result: no configure:11095: checking dynamic linker characteristics configure:11676: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11676: $? = 0 configure:11913: result: GNU/Linux ld.so configure:12035: checking how to hardcode library paths into programs configure:12060: result: immediate configure:12608: checking whether stripping libraries is possible configure:12613: result: yes configure:12648: checking if libtool supports shared libraries configure:12650: result: yes configure:12653: checking whether to build shared libraries configure:12678: result: yes configure:12681: checking whether to build static libraries configure:12685: result: no configure:12750: checking for --enable-gcov configure:12765: result: no (default) configure:12788: checking for --enable-debug configure:12813: result: no CFLAGS = -O2 -D_FORTIFY_SOURCE=2 configure:12825: 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 ' configure:12851: checking for --disable-extensions configure:12858: result: no (default) configure:12885: checking for --enable-memmax configure:12887: result: (256UL << 20) /* 256MB */ configure:12906: checking for --enable-strmax configure:12908: result: (4UL << 10) /* 4KB */ configure:12924: checking for --disable-nullslack configure:12927: result: no (default) configure:12951: checking for --disable-constraint-handler configure:12958: result: no (default) configure:12975: checking for --enable-unsafe configure:12982: result: no configure:13007: checking for --enable-norm-compat configure:13016: result: no (default) configure:13031: checking for --enable-warn-dmax configure:13037: result: no (default) configure:13052: checking for --enable-error-dmax configure:13058: result: no (default) configure:13111: Check programs configure:13122: checking for riscv64-buildroot-linux-musl-gcc configure:13149: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc configure:13418: checking for C compiler version configure:13427: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc --version >&5 riscv64-buildroot-linux-musl-gcc.br_real (Buildroot 2019.11-git-01087-g5e968678fd) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:13438: $? = 0 configure:13427: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc.br_real COLLECT_LTO_WRAPPER=/home/mark/buildroot-test/instance-0/output/host/libexec/gcc/riscv64-buildroot-linux-musl/8.3.0/lto-wrapper Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/home/mark/buildroot-test/instance-0/output/host --sysconfdir=/home/mark/buildroot-test/instance-0/output/host/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/mark/buildroot-test/instance-0/output/host --with-mpc=/home/mark/buildroot-test/instance-0/output/host --with-mpfr=/home/mark/buildroot-test/instance-0/output/host --with-pkgversion='Buildroot 2019.11-git-01087-g5e968678fd' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --disable-libquadmath --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix gcc version 8.3.0 (Buildroot 2019.11-git-01087-g5e968678fd) configure:13438: $? = 0 configure:13427: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -V >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-V' riscv64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:13438: $? = 1 configure:13427: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -qversion >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? riscv64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:13438: $? = 1 configure:13442: checking whether we are using the GNU C compiler configure:13470: result: yes configure:13479: checking whether /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc accepts -g configure:13540: result: yes configure:13557: checking for /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc option to enable C89 features configure:13634: result: none needed configure:13660: checking whether /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc understands -c and -o together configure:13697: result: yes configure:13716: checking dependency style of /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc configure:13827: result: none configure:13847: checking how to run the C preprocessor configure:13917: result: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp configure:13937: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:13937: $? = 0 configure:13951: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:21:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:13951: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:13981: checking for /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc option to enable C99 features configure:14130: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14130: $? = 0 configure:14144: result: none needed configure:14160: checking for /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc option to enable C11 features configure:14363: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14363: $? = 0 configure:14377: result: none needed configure:14435: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:25:7: error: #error "no C++" #error "no C++" ^~~~~ configure:14435: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | /* end confdefs.h. */ | | #ifndef __cplusplus | #error "no C++" | #endif | int | main () | { | | ; | return 0; | } configure:14459: checking for -Wmissing-format-attribute usability configure:14497: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -Wmissing-format-attribute -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:30:5: error: conflicting types for 'myvsprintf' int myvsprintf(char *dest, const char *fmt, va_list ap) { ^~~~~~~~~~ conftest.c:27:6: note: previous declaration of 'myvsprintf' was here void myvsprintf(char *dest, const char *fmt, va_list ap); ^~~~~~~~~~ conftest.c: In function 'myvsprintf': conftest.c:31:5: error: function 'myvsprintf' might be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format] return vsprintf(dest, fmt, ap); ^~~~~~ cc1: all warnings being treated as errors configure:14497: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | /* end confdefs.h. */ | | #include | #include | | void myvsprintf(char *dest, const char *fmt, va_list ap); | int mysprintf(char *dest, const char *fmt, ...); | | int myvsprintf(char *dest, const char *fmt, va_list ap) { | return vsprintf(dest, fmt, ap); | } | int mysprintf(char *dest, const char *fmt, ...) { | va_list ap; | int ret; | va_start(ap, fmt); | ret = myvsprintf(dest, fmt, ap); | va_end(ap); | return ret; | } | | int | main () | { | | const char* fmt = "%s"; | char dest[12]; | return mysprintf(dest, fmt) ? 0: 1; | | | ; | return 0; | } configure:14501: result: no configure:14587: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:25:9: error: #error "no C++" #error "no C++" ^~~~~ configure:14587: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | /* end confdefs.h. */ | | #ifndef __cplusplus | #error "no C++" | #endif | int | main () | { | | ; | return 0; | } configure:14599: checking whether C compiler accepts -Werror=unknown-warning-option configure:14618: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Werror=unknown-warning-option -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 cc1: error: -Werror=unknown-warning-option: no option -Wunknown-warning-option configure:14618: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:14626: result: no configure:14640: checking whether C compiler accepts -Wsuggest-attribute=format configure:14659: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wsuggest-attribute=format -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14659: $? = 0 configure:14667: result: yes configure:14687: checking whether C compiler accepts -mretpoline -DRETPOLINE -fPIC -DPIC configure:14706: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -mretpoline -DRETPOLINE -fPIC -DPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-mretpoline'; did you mean '-Wtrampolines'? configure:14706: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:14715: result: no configure:14764: checking whether C compiler accepts -mindirect-branch=thunk-extern -mfunction-return=thunk-extern -mindirect-branch-register -fPIC -DPIC -DRETPOLINE configure:14783: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -mindirect-branch=thunk-extern -mfunction-return=thunk-extern -mindirect-branch-register -fPIC -DPIC -DRETPOLINE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-mindirect-branch=thunk-extern' riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-mfunction-return=thunk-extern' riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-mindirect-branch-register' configure:14783: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:14792: result: no configure:14842: checking whether C compiler accepts -fno-strict-aliasing configure:14861: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14861: $? = 0 configure:14870: result: yes configure:14897: : WARN_CFLAGS="$WARN_CFLAGS" configure:14900: $? = 0 configure:14921: checking whether C compiler accepts -Wall configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wextra configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wextra -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wundef configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wundef -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wwrite-strings configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wwrite-strings -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wpointer-arith configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wpointer-arith -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wmissing-declarations configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wmissing-declarations -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wredundant-decls configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wredundant-decls -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wno-unused-parameter configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wno-unused-parameter -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wno-missing-field-initializers configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wno-missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wformat=2 configure:14949: result: no configure:14921: checking whether C compiler accepts -Wcast-align configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wcast-align -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wformat-nonliteral configure:14949: result: no configure:14921: checking whether C compiler accepts -Wformat-security configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 cc1: warning: -Wformat-security ignored without -Wformat [-Wformat-security] configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wsign-compare configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wsign-compare -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wstrict-aliasing configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wstrict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wshadow configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wshadow -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Winline configure:14949: result: no configure:14921: checking whether C compiler accepts -Wpacked configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wpacked -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wmissing-format-attribute configure:14949: result: no configure:14921: checking whether C compiler accepts -Wmissing-noreturn configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wmissing-noreturn -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Winit-self configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Winit-self -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wredundant-decls configure:14949: result: yes configure:14957: : WARN_CFLAGS already contains $flag configure:14960: $? = 0 configure:14921: checking whether C compiler accepts -Wmissing-include-dirs configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wmissing-include-dirs -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wunused-but-set-variable configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wunused-but-set-variable -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Warray-bounds configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Warray-bounds -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wreturn-type configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wreturn-type -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wswitch-enum configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wswitch-enum -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wswitch-default configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wswitch-default -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wduplicated-cond configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wduplicated-cond -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wduplicated-branches configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wduplicated-branches -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wlogical-op configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wlogical-op -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wrestrict configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wrestrict -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wnull-dereference configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wnull-dereference -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14921: checking whether C compiler accepts -Wdouble-promotion configure:14940: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wdouble-promotion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14940: $? = 0 configure:14949: result: yes configure:14965: : WARN_CFLAGS="$WARN_CFLAGS" configure:14968: $? = 0 configure:14998: checking whether C compiler accepts -Wnested-externs configure:15017: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wnested-externs -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15017: $? = 0 configure:15026: result: yes configure:15042: : WARN_CFLAGS="$WARN_CFLAGS" configure:15045: $? = 0 configure:14998: checking whether C compiler accepts -Wmissing-prototypes configure:15017: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15017: $? = 0 configure:15026: result: yes configure:15042: : WARN_CFLAGS="$WARN_CFLAGS" configure:15045: $? = 0 configure:14998: checking whether C compiler accepts -Wstrict-prototypes configure:15017: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] main () ^~~~ configure:15017: $? = 0 configure:15026: result: yes configure:15042: : WARN_CFLAGS="$WARN_CFLAGS" configure:15045: $? = 0 configure:14998: checking whether C compiler accepts -Wdeclaration-after-statement configure:15017: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15017: $? = 0 configure:15026: result: yes configure:15042: : WARN_CFLAGS="$WARN_CFLAGS" configure:15045: $? = 0 configure:14998: checking whether C compiler accepts -Wimplicit-function-declaration configure:15017: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wimplicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15017: $? = 0 configure:15026: result: yes configure:15042: : WARN_CFLAGS="$WARN_CFLAGS" configure:15045: $? = 0 configure:14998: checking whether C compiler accepts -Wold-style-definition configure:15017: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wold-style-definition -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:25:1: warning: old-style function definition [-Wold-style-definition] main () ^~~~ configure:15017: $? = 0 configure:15026: result: yes configure:15042: : WARN_CFLAGS="$WARN_CFLAGS" configure:15045: $? = 0 configure:14998: checking whether C compiler accepts -Wjump-misses-init configure:15017: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wjump-misses-init -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15017: $? = 0 configure:15026: result: yes configure:15042: : WARN_CFLAGS="$WARN_CFLAGS" configure:15045: $? = 0 configure:15090: : WARN_CFLAGS="$WARN_CFLAGS" configure:15093: $? = 0 configure:15116: checking whether C compiler accepts -Wno-suggest-attribute=format configure:15135: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wno-suggest-attribute=format -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15135: $? = 0 configure:15144: result: yes configure:15160: : WARN_CFLAGS="$WARN_CFLAGS" configure:15163: $? = 0 configure:15204: checking whether C compiler accepts -Wno-error=unused-parameter configure:15223: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wno-error=unused-parameter -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15223: $? = 0 configure:15232: result: yes configure:15248: : WARN_CFLAGS="$WARN_CFLAGS" configure:15251: $? = 0 configure:15204: checking whether C compiler accepts -Wno-error=missing-field-initializers configure:15223: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15223: $? = 0 configure:15232: result: yes configure:15248: : WARN_CFLAGS="$WARN_CFLAGS" configure:15251: $? = 0 configure:15308: checking whether C compiler accepts -Werror=unknown-warning-option configure:15335: result: no configure:15358: checking whether the linker accepts -Wl,--as-needed configure:15377: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,--as-needed conftest.c >&5 configure:15377: $? = 0 configure:15387: result: yes configure:15414: : AM_LDFLAGS="$AM_LDFLAGS" configure:15417: $? = 0 configure:15436: checking whether the linker accepts -Wl,-z,relro configure:15455: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,relro conftest.c >&5 configure:15455: $? = 0 configure:15465: result: yes configure:15481: : AM_LDFLAGS="$AM_LDFLAGS" configure:15484: $? = 0 configure:15512: checking whether the linker accepts -Wl,-z,now configure:15531: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,now conftest.c >&5 configure:15531: $? = 0 configure:15541: result: yes configure:15557: : AM_LDFLAGS="$AM_LDFLAGS" configure:15560: $? = 0 configure:15588: checking whether the linker accepts -Wl,-z,noexecstack configure:15607: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,noexecstack conftest.c >&5 configure:15607: $? = 0 configure:15617: result: yes configure:15633: : AM_LDFLAGS="$AM_LDFLAGS" configure:15636: $? = 0 configure:15824: checking whether the linker accepts -Wl,--fatal-warnings configure:15852: result: no configure:15862: checking whether the linker accepts -Wl,-fatal_warnings configure:15890: result: no configure:16181: : WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS" configure:16184: $? = 0 configure:16206: : WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS" configure:16209: $? = 0 configure:16243: : WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS" configure:16246: $? = 0 configure:16278: checking whether C compiler accepts -Werror=unknown-warning-option configure:16305: result: no configure:16444: checking for __builtin_object_size configure:16463: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16463: $? = 0 configure:16472: result: yes configure:16489: checking whether C compiler accepts -Wuser-defined-warnings configure:16508: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wuser-defined-warnings -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-Wuser-defined-warnings'; did you mean '--extra-warnings'? configure:16508: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:16516: result: no configure:16525: checking whether C compiler accepts -Wgcc-compat configure:16544: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wgcc-compat -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-Wgcc-compat'; did you mean '-Wc++-compat'? configure:16544: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:16553: result: no configure:16660: checking for diagnose_if attribute configure:16688: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:28:33: error: 'ptr' undeclared here (not in a function); did you mean 'putw'? __attribute__((diagnose_if(!ptr, "empty ptr", "error"))); ^~~ putw conftest.c:28:5: error: 'diagnose_if' attribute directive ignored [-Werror=attributes] __attribute__((diagnose_if(!ptr, "empty ptr", "error"))); ^~~~~~~~~~~~~ cc1: all warnings being treated as errors configure:16688: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | /* end confdefs.h. */ | | #include | | int myfunc(char *ptr) | __attribute__((diagnose_if(!ptr, "empty ptr", "error"))); | | int myfunc(char *ptr) { | return ptr ? 1 : 0; | } | | int | main () | { | | char dest[12]; | return myfunc(dest); | | | ; | return 0; | } configure:16697: result: no configure:16788: checking for doxygen configure:16804: found /home/mark/buildroot-test/instance-0/output/host/bin/doxygen configure:16815: result: doxygen configure:16834: checking for pod2man configure:16850: found /usr/bin/pod2man configure:16861: result: pod2man configure:16908: checking for valgrind configure:16938: result: no configure:17305: Check header files configure:17308: checking for ANSI C header files configure:17412: result: yes configure:17420: checking for stdbool.h that conforms to C99 configure:17487: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17487: $? = 0 configure:17494: result: yes configure:17496: checking for _Bool configure:17496: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17496: $? = 0 configure:17496: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:61:20: error: expected expression before ')' token if (sizeof ((_Bool))) ^ configure:17496: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((_Bool))) | return 0; | ; | return 0; | } configure:17496: result: yes configure:17513: checking whether time.h and sys/time.h may both be included configure:17533: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17533: $? = 0 configure:17540: result: yes configure:17550: checking sys/time.h usability configure:17550: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17550: $? = 0 configure:17550: result: yes configure:17550: checking sys/time.h presence configure:17550: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17550: $? = 0 configure:17550: result: yes configure:17550: checking for sys/time.h configure:17550: result: yes configure:17576: checking for stdlib.h configure:17576: result: yes configure:17576: checking for memory.h configure:17576: result: yes configure:17576: checking ctype.h usability configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking ctype.h presence configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking for ctype.h configure:17576: result: yes configure:17576: checking malloc.h usability configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking malloc.h presence configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking for malloc.h configure:17576: result: yes configure:17576: checking for string.h configure:17576: result: yes configure:17576: checking limits.h usability configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking limits.h presence configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking for limits.h configure:17576: result: yes configure:17576: checking for sys/types.h configure:17576: result: yes configure:17576: checking for inttypes.h configure:17576: result: yes configure:17576: checking for stdint.h configure:17576: result: yes configure:17576: checking errno.h usability configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking errno.h presence configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking for errno.h configure:17576: result: yes configure:17576: checking wchar.h usability configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking wchar.h presence configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking for wchar.h configure:17576: result: yes configure:17576: checking langinfo.h usability configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking langinfo.h presence configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17576: $? = 0 configure:17576: result: yes configure:17576: checking for langinfo.h configure:17576: result: yes configure:17576: checking valgrind/valgrind.h usability configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:74:10: fatal error: valgrind/valgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17576: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:17576: result: no configure:17576: checking valgrind/valgrind.h presence configure:17576: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:41:10: fatal error: valgrind/valgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17576: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | /* end confdefs.h. */ | #include configure:17576: result: no configure:17576: checking for valgrind/valgrind.h configure:17576: result: no configure:17633: Check typedefs, structures, and compiler characteristics configure:17636: checking for an ANSI C-conforming const configure:17702: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17702: $? = 0 configure:17709: result: yes configure:17717: checking for inline configure:17733: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17733: $? = 0 configure:17741: result: inline configure:17759: checking for C/C++ restrict keyword configure:17784: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17784: $? = 0 configure:17792: result: __restrict configure:17805: checking for size_t configure:17805: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17805: $? = 0 configure:17805: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:78:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:17805: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:17805: result: yes configure:17816: checking for int32_t configure:17816: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17816: $? = 0 configure:17816: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:53: warning: integer overflow in expression of type 'int' results in '-2147483648' [-Woverflow] < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; ^ conftest.c:79:12: error: storage size of 'test_array' isn't constant static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) ^~~~~~~~~~ configure:17816: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | enum { N = 32 / 2 - 1 }; | int | main () | { | static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) | < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:17816: result: yes configure:17827: checking for uint8_t configure:17827: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17827: $? = 0 configure:17827: result: yes configure:17841: checking for uint16_t configure:17841: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17841: $? = 0 configure:17841: result: yes configure:17853: checking for uint32_t configure:17853: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17853: $? = 0 configure:17853: result: yes configure:17867: checking for uint64_t configure:17867: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17867: $? = 0 configure:17867: result: yes configure:17882: checking for uintptr_t configure:17882: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17882: $? = 0 configure:17882: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:78:24: error: expected expression before ')' token if (sizeof ((uintptr_t))) ^ configure:17882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((uintptr_t))) | return 0; | ; | return 0; | } configure:17882: result: yes configure:17922: checking size of size_t configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17927: $? = 0 configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)]; ^~~~~~~~~~ configure:17927: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)]; ^~~~~~~~~~ configure:17927: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)]; ^~~~~~~~~~ configure:17927: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 7)]; ^~~~~~~~~~ configure:17927: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17927: $? = 0 configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17927: $? = 0 configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17927: $? = 0 configure:17927: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17927: $? = 0 configure:17941: result: 8 configure:17951: checking for errno_t configure:17951: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:49:13: error: 'errno_t' undeclared (first use in this function); did you mean 'errno'? if (sizeof (errno_t)) ^~~~~~~ errno conftest.c:49:13: note: each undeclared identifier is reported only once for each function it appears in configure:17951: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | /* end confdefs.h. */ | #include | | int | main () | { | if (sizeof (errno_t)) | return 0; | ; | return 0; | } configure:17951: result: no configure:17960: checking for mbstate_t configure:17977: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17977: $? = 0 configure:17984: result: yes configure:17995: checking for struct tm.tm_gmtoff configure:17995: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17995: $? = 0 configure:17995: result: yes configure:18003: checking size of time_t configure:18023: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:53:20: error: duplicate case value switch (0) case 0: case (sizeof (time_t) == 4):; ^~~~ conftest.c:53:12: note: previously used here switch (0) case 0: case (sizeof (time_t) == 4):; ^~~~ configure:18023: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | switch (0) case 0: case (sizeof (time_t) == 4):; | ; | return 0; | } configure:18023: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18023: $? = 0 configure:18035: result: 8 configure:18043: checking for wchar_t configure:18043: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18043: $? = 0 configure:18043: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:52:22: error: expected expression before ')' token if (sizeof ((wchar_t))) ^ configure:18043: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | /* end confdefs.h. */ | #include | | int | main () | { | if (sizeof ((wchar_t))) | return 0; | ; | return 0; | } configure:18043: result: yes configure:18053: checking for __builtin_ctz configure:18072: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18072: $? = 0 configure:18081: result: yes configure:18097: checking for __builtin_constant_p configure:18116: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18116: $? = 0 configure:18125: result: yes configure:18175: checking for __builtin___bnd_set_ptr_bounds configure:18194: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18194: $? = 0 configure:18203: result: yes configure:18219: checking for __builtin___bnd_null_ptr_bounds configure:18238: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18238: $? = 0 configure:18247: result: yes configure:18265: checking for __builtin___bnd_chk_ptr_bounds configure:18284: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18284: $? = 0 configure:18293: result: yes configure:18309: Check library functions configure:18316: checking for __bnd_chk_ptr_bounds configure:18316: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__bnd_chk_ptr_bounds' [-Wbuiltin-declaration-mismatch] char __bnd_chk_ptr_bounds (); ^~~~~~~~~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccYnqXca.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__bnd_chk_ptr_bounds' collect2: error: ld returned 1 exit status configure:18316: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __bnd_chk_ptr_bounds to an innocuous variant, in case declares __bnd_chk_ptr_bounds. | For example, HP-UX 11i declares gettimeofday. */ | #define __bnd_chk_ptr_bounds innocuous___bnd_chk_ptr_bounds | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __bnd_chk_ptr_bounds (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __bnd_chk_ptr_bounds | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __bnd_chk_ptr_bounds (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___bnd_chk_ptr_bounds || defined __stub_____bnd_chk_ptr_bounds | choke me | #endif | | int | main () | { | return __bnd_chk_ptr_bounds (); | ; | return 0; | } configure:18316: result: no configure:18316: checking for __bnd_set_ptr_bounds configure:18316: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__bnd_set_ptr_bounds' [-Wbuiltin-declaration-mismatch] char __bnd_set_ptr_bounds (); ^~~~~~~~~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccuXW26B.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__bnd_set_ptr_bounds' collect2: error: ld returned 1 exit status configure:18316: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __bnd_set_ptr_bounds to an innocuous variant, in case declares __bnd_set_ptr_bounds. | For example, HP-UX 11i declares gettimeofday. */ | #define __bnd_set_ptr_bounds innocuous___bnd_set_ptr_bounds | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __bnd_set_ptr_bounds (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __bnd_set_ptr_bounds | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __bnd_set_ptr_bounds (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___bnd_set_ptr_bounds || defined __stub_____bnd_set_ptr_bounds | choke me | #endif | | int | main () | { | return __bnd_set_ptr_bounds (); | ; | return 0; | } configure:18316: result: no configure:18316: checking for __bnd_null_ptr_bounds configure:18316: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__bnd_null_ptr_bounds' [-Wbuiltin-declaration-mismatch] char __bnd_null_ptr_bounds (); ^~~~~~~~~~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccQ7plOi.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__bnd_null_ptr_bounds' collect2: error: ld returned 1 exit status configure:18316: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __bnd_null_ptr_bounds to an innocuous variant, in case declares __bnd_null_ptr_bounds. | For example, HP-UX 11i declares gettimeofday. */ | #define __bnd_null_ptr_bounds innocuous___bnd_null_ptr_bounds | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __bnd_null_ptr_bounds (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __bnd_null_ptr_bounds | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __bnd_null_ptr_bounds (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___bnd_null_ptr_bounds || defined __stub_____bnd_null_ptr_bounds | choke me | #endif | | int | main () | { | return __bnd_null_ptr_bounds (); | ; | return 0; | } configure:18316: result: no configure:18334: checking for __memcpy_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__memcpy_chk' [-Wbuiltin-declaration-mismatch] char __memcpy_chk (); ^~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccAHHZbi.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__memcpy_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __memcpy_chk to an innocuous variant, in case declares __memcpy_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __memcpy_chk innocuous___memcpy_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __memcpy_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __memcpy_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __memcpy_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___memcpy_chk || defined __stub_____memcpy_chk | choke me | #endif | | int | main () | { | return __memcpy_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __memmove_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__memmove_chk' [-Wbuiltin-declaration-mismatch] char __memmove_chk (); ^~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cca6HwQj.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__memmove_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __memmove_chk to an innocuous variant, in case declares __memmove_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __memmove_chk innocuous___memmove_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __memmove_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __memmove_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __memmove_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___memmove_chk || defined __stub_____memmove_chk | choke me | #endif | | int | main () | { | return __memmove_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __memset_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__memset_chk' [-Wbuiltin-declaration-mismatch] char __memset_chk (); ^~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccsDp5Nm.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__memset_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __memset_chk to an innocuous variant, in case declares __memset_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __memset_chk innocuous___memset_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __memset_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __memset_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __memset_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___memset_chk || defined __stub_____memset_chk | choke me | #endif | | int | main () | { | return __memset_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __strcpy_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__strcpy_chk' [-Wbuiltin-declaration-mismatch] char __strcpy_chk (); ^~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccUzkDwp.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__strcpy_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __strcpy_chk to an innocuous variant, in case declares __strcpy_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __strcpy_chk innocuous___strcpy_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __strcpy_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __strcpy_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __strcpy_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___strcpy_chk || defined __stub_____strcpy_chk | choke me | #endif | | int | main () | { | return __strcpy_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __strncpy_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__strncpy_chk' [-Wbuiltin-declaration-mismatch] char __strncpy_chk (); ^~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccoCCHAt.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__strncpy_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __strncpy_chk to an innocuous variant, in case declares __strncpy_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __strncpy_chk innocuous___strncpy_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __strncpy_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __strncpy_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __strncpy_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___strncpy_chk || defined __stub_____strncpy_chk | choke me | #endif | | int | main () | { | return __strncpy_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __strcat_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__strcat_chk' [-Wbuiltin-declaration-mismatch] char __strcat_chk (); ^~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cci7rl6u.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__strcat_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __strcat_chk to an innocuous variant, in case declares __strcat_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __strcat_chk innocuous___strcat_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __strcat_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __strcat_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __strcat_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___strcat_chk || defined __stub_____strcat_chk | choke me | #endif | | int | main () | { | return __strcat_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __strncat_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__strncat_chk' [-Wbuiltin-declaration-mismatch] char __strncat_chk (); ^~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccEglmQw.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__strncat_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __strncat_chk to an innocuous variant, in case declares __strncat_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __strncat_chk innocuous___strncat_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __strncat_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __strncat_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __strncat_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___strncat_chk || defined __stub_____strncat_chk | choke me | #endif | | int | main () | { | return __strncat_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __printf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__printf_chk' [-Wbuiltin-declaration-mismatch] char __printf_chk (); ^~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccqH06Kz.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__printf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __printf_chk to an innocuous variant, in case declares __printf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __printf_chk innocuous___printf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __printf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __printf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __printf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___printf_chk || defined __stub_____printf_chk | choke me | #endif | | int | main () | { | return __printf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __sprintf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__sprintf_chk' [-Wbuiltin-declaration-mismatch] char __sprintf_chk (); ^~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccOLHoTC.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__sprintf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __sprintf_chk to an innocuous variant, in case declares __sprintf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __sprintf_chk innocuous___sprintf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __sprintf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __sprintf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __sprintf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___sprintf_chk || defined __stub_____sprintf_chk | choke me | #endif | | int | main () | { | return __sprintf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __snprintf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__snprintf_chk' [-Wbuiltin-declaration-mismatch] char __snprintf_chk (); ^~~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccKLHuAE.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__snprintf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __snprintf_chk to an innocuous variant, in case declares __snprintf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __snprintf_chk innocuous___snprintf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __snprintf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __snprintf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __snprintf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___snprintf_chk || defined __stub_____snprintf_chk | choke me | #endif | | int | main () | { | return __snprintf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __swprintf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccwYDIT7.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__swprintf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __swprintf_chk to an innocuous variant, in case declares __swprintf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __swprintf_chk innocuous___swprintf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __swprintf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __swprintf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __swprintf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___swprintf_chk || defined __stub_____swprintf_chk | choke me | #endif | | int | main () | { | return __swprintf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __vfprintf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__vfprintf_chk' [-Wbuiltin-declaration-mismatch] char __vfprintf_chk (); ^~~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccYBQHnN.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__vfprintf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __vfprintf_chk to an innocuous variant, in case declares __vfprintf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __vfprintf_chk innocuous___vfprintf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __vfprintf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __vfprintf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __vfprintf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___vfprintf_chk || defined __stub_____vfprintf_chk | choke me | #endif | | int | main () | { | return __vfprintf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __vfwprintf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc1K7EVH.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__vfwprintf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __vfwprintf_chk to an innocuous variant, in case declares __vfwprintf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __vfwprintf_chk innocuous___vfwprintf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __vfwprintf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __vfwprintf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __vfwprintf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___vfwprintf_chk || defined __stub_____vfwprintf_chk | choke me | #endif | | int | main () | { | return __vfwprintf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __vsprintf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__vsprintf_chk' [-Wbuiltin-declaration-mismatch] char __vsprintf_chk (); ^~~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccrQihzK.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__vsprintf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __vsprintf_chk to an innocuous variant, in case declares __vsprintf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __vsprintf_chk innocuous___vsprintf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __vsprintf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __vsprintf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __vsprintf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___vsprintf_chk || defined __stub_____vsprintf_chk | choke me | #endif | | int | main () | { | return __vsprintf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __vsnprintf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function '__vsnprintf_chk' [-Wbuiltin-declaration-mismatch] char __vsnprintf_chk (); ^~~~~~~~~~~~~~~ /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc7jVSXJ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__vsnprintf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __vsnprintf_chk to an innocuous variant, in case declares __vsnprintf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __vsnprintf_chk innocuous___vsnprintf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __vsnprintf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __vsnprintf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __vsnprintf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___vsnprintf_chk || defined __stub_____vsnprintf_chk | choke me | #endif | | int | main () | { | return __vsnprintf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __vsscanf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccLtcVvP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__vsscanf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __vsscanf_chk to an innocuous variant, in case declares __vsscanf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __vsscanf_chk innocuous___vsscanf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __vsscanf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __vsscanf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __vsscanf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___vsscanf_chk || defined __stub_____vsscanf_chk | choke me | #endif | | int | main () | { | return __vsscanf_chk (); | ; | return 0; | } configure:18334: result: no configure:18334: checking for __vswscanf_chk configure:18334: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccxrPGqS.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__vswscanf_chk' collect2: error: ld returned 1 exit status configure:18334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define __vswscanf_chk to an innocuous variant, in case declares __vswscanf_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define __vswscanf_chk innocuous___vswscanf_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __vswscanf_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __vswscanf_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char __vswscanf_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub___vswscanf_chk || defined __stub_____vswscanf_chk | choke me | #endif | | int | main () | { | return __vswscanf_chk (); | ; | return 0; | } configure:18334: result: no configure:18350: checking for _memcpy_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccXloKRU.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_memcpy_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _memcpy_s_chk to an innocuous variant, in case declares _memcpy_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _memcpy_s_chk innocuous__memcpy_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _memcpy_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _memcpy_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _memcpy_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__memcpy_s_chk || defined __stub____memcpy_s_chk | choke me | #endif | | int | main () | { | return _memcpy_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _memmove_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc5YH3gg.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_memmove_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _memmove_s_chk to an innocuous variant, in case declares _memmove_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _memmove_s_chk innocuous__memmove_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _memmove_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _memmove_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _memmove_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__memmove_s_chk || defined __stub____memmove_s_chk | choke me | #endif | | int | main () | { | return _memmove_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _memset_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc1lrFeX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_memset_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _memset_s_chk to an innocuous variant, in case declares _memset_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _memset_s_chk innocuous__memset_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _memset_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _memset_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _memset_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__memset_s_chk || defined __stub____memset_s_chk | choke me | #endif | | int | main () | { | return _memset_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _memcmp_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccj3MaRY.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_memcmp_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _memcmp_s_chk to an innocuous variant, in case declares _memcmp_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _memcmp_s_chk innocuous__memcmp_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _memcmp_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _memcmp_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _memcmp_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__memcmp_s_chk || defined __stub____memcmp_s_chk | choke me | #endif | | int | main () | { | return _memcmp_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _strcpy_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc3rbZm5.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strcpy_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _strcpy_s_chk to an innocuous variant, in case declares _strcpy_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _strcpy_s_chk innocuous__strcpy_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _strcpy_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _strcpy_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _strcpy_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__strcpy_s_chk || defined __stub____strcpy_s_chk | choke me | #endif | | int | main () | { | return _strcpy_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _strncpy_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccTddc67.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strncpy_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _strncpy_s_chk to an innocuous variant, in case declares _strncpy_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _strncpy_s_chk innocuous__strncpy_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _strncpy_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _strncpy_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _strncpy_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__strncpy_s_chk || defined __stub____strncpy_s_chk | choke me | #endif | | int | main () | { | return _strncpy_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _strcat_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc7nunv7.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strcat_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _strcat_s_chk to an innocuous variant, in case declares _strcat_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _strcat_s_chk innocuous__strcat_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _strcat_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _strcat_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _strcat_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__strcat_s_chk || defined __stub____strcat_s_chk | choke me | #endif | | int | main () | { | return _strcat_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _strncat_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc3wJYNd.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strncat_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _strncat_s_chk to an innocuous variant, in case declares _strncat_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _strncat_s_chk innocuous__strncat_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _strncat_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _strncat_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _strncat_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__strncat_s_chk || defined __stub____strncat_s_chk | choke me | #endif | | int | main () | { | return _strncat_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _strnlen_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccxwV3rf.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strnlen_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _strnlen_s_chk to an innocuous variant, in case declares _strnlen_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _strnlen_s_chk innocuous__strnlen_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _strnlen_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _strnlen_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _strnlen_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__strnlen_s_chk || defined __stub____strnlen_s_chk | choke me | #endif | | int | main () | { | return _strnlen_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _printf_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc7A2gaD.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_printf_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _printf_s_chk to an innocuous variant, in case declares _printf_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _printf_s_chk innocuous__printf_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _printf_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _printf_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _printf_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__printf_s_chk || defined __stub____printf_s_chk | choke me | #endif | | int | main () | { | return _printf_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _sprintf_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccXcKAwk.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_sprintf_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _sprintf_s_chk to an innocuous variant, in case declares _sprintf_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _sprintf_s_chk innocuous__sprintf_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _sprintf_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _sprintf_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _sprintf_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__sprintf_s_chk || defined __stub____sprintf_s_chk | choke me | #endif | | int | main () | { | return _sprintf_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _snprintf_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccHdaRkm.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_snprintf_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _snprintf_s_chk to an innocuous variant, in case declares _snprintf_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _snprintf_s_chk innocuous__snprintf_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _snprintf_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _snprintf_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _snprintf_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__snprintf_s_chk || defined __stub____snprintf_s_chk | choke me | #endif | | int | main () | { | return _snprintf_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _swprintf_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccbHaN3K.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_swprintf_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _swprintf_s_chk to an innocuous variant, in case declares _swprintf_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _swprintf_s_chk innocuous__swprintf_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _swprintf_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _swprintf_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _swprintf_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__swprintf_s_chk || defined __stub____swprintf_s_chk | choke me | #endif | | int | main () | { | return _swprintf_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _vfprintf_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccrNndAr.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_vfprintf_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _vfprintf_s_chk to an innocuous variant, in case declares _vfprintf_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _vfprintf_s_chk innocuous__vfprintf_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _vfprintf_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _vfprintf_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _vfprintf_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__vfprintf_s_chk || defined __stub____vfprintf_s_chk | choke me | #endif | | int | main () | { | return _vfprintf_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _vfwprintf_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccvddiJv.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_vfwprintf_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _vfwprintf_s_chk to an innocuous variant, in case declares _vfwprintf_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _vfwprintf_s_chk innocuous__vfwprintf_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _vfwprintf_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _vfwprintf_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _vfwprintf_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__vfwprintf_s_chk || defined __stub____vfwprintf_s_chk | choke me | #endif | | int | main () | { | return _vfwprintf_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _vsprintf_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccdsjTyw.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_vsprintf_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _vsprintf_s_chk to an innocuous variant, in case declares _vsprintf_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _vsprintf_s_chk innocuous__vsprintf_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _vsprintf_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _vsprintf_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _vsprintf_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__vsprintf_s_chk || defined __stub____vsprintf_s_chk | choke me | #endif | | int | main () | { | return _vsprintf_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18350: checking for _vsnprintf_s_chk configure:18350: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccb267nz.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_vsnprintf_s_chk' collect2: error: ld returned 1 exit status configure:18350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | /* end confdefs.h. */ | /* Define _vsnprintf_s_chk to an innocuous variant, in case declares _vsnprintf_s_chk. | For example, HP-UX 11i declares gettimeofday. */ | #define _vsnprintf_s_chk innocuous__vsnprintf_s_chk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _vsnprintf_s_chk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _vsnprintf_s_chk | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _vsnprintf_s_chk (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__vsnprintf_s_chk || defined __stub____vsnprintf_s_chk | choke me | #endif | | int | main () | { | return _vsnprintf_s_chk (); | ; | return 0; | } configure:18350: result: no configure:18359: checking for working memcmp configure:18412: result: yes configure:18428: checking for memset configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:75:6: warning: conflicting types for built-in function 'memset' [-Wbuiltin-declaration-mismatch] char memset (); ^~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strcmp configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:6: warning: conflicting types for built-in function 'strcmp' [-Wbuiltin-declaration-mismatch] char strcmp (); ^~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strcasecmp configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:77:6: warning: conflicting types for built-in function 'strcasecmp' [-Wbuiltin-declaration-mismatch] char strcasecmp (); ^~~~~~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strcasestr configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strcspn configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:79:6: warning: conflicting types for built-in function 'strcspn' [-Wbuiltin-declaration-mismatch] char strcspn (); ^~~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strpbrk configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:80:6: warning: conflicting types for built-in function 'strpbrk' [-Wbuiltin-declaration-mismatch] char strpbrk (); ^~~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strspn configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:81:6: warning: conflicting types for built-in function 'strspn' [-Wbuiltin-declaration-mismatch] char strspn (); ^~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strnstr configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccnxjzGf.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnstr' collect2: error: ld returned 1 exit status configure:18428: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | /* end confdefs.h. */ | /* Define strnstr to an innocuous variant, in case declares strnstr. | For example, HP-UX 11i declares gettimeofday. */ | #define strnstr innocuous_strnstr | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strnstr (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strnstr | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strnstr (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strnstr || defined __stub___strnstr | choke me | #endif | | int | main () | { | return strnstr (); | ; | return 0; | } configure:18428: result: no configure:18428: checking for strnlen configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strrchr configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:83:6: warning: conflicting types for built-in function 'strrchr' [-Wbuiltin-declaration-mismatch] char strrchr (); ^~~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for memrchr configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for strstr configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:85:6: warning: conflicting types for built-in function 'strstr' [-Wbuiltin-declaration-mismatch] char strstr (); ^~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for wmemchr configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for wmemcmp configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for wcscmp configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for wcsstr configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for vswprintf configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for vsnwprintf configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccAuV6U9.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsnwprintf' collect2: error: ld returned 1 exit status configure:18428: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | /* end confdefs.h. */ | /* Define vsnwprintf to an innocuous variant, in case declares vsnwprintf. | For example, HP-UX 11i declares gettimeofday. */ | #define vsnwprintf innocuous_vsnwprintf | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vsnwprintf (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vsnwprintf | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vsnwprintf (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vsnwprintf || defined __stub___vsnwprintf | choke me | #endif | | int | main () | { | return vsnwprintf (); | ; | return 0; | } configure:18428: result: no configure:18428: checking for vswscanf configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for mbsrtowcs configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for mbstowcs configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for iswdigit configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:94:6: warning: conflicting types for built-in function 'iswdigit' [-Wbuiltin-declaration-mismatch] char iswdigit (); ^~~~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for iswspace configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:95:6: warning: conflicting types for built-in function 'iswspace' [-Wbuiltin-declaration-mismatch] char iswspace (); ^~~~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for towlower configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:96:6: warning: conflicting types for built-in function 'towlower' [-Wbuiltin-declaration-mismatch] char towlower (); ^~~~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for towupper configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:97:6: warning: conflicting types for built-in function 'towupper' [-Wbuiltin-declaration-mismatch] char towupper (); ^~~~~~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for towctrans configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for bcmp configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:99:6: warning: conflicting types for built-in function 'bcmp' [-Wbuiltin-declaration-mismatch] char bcmp (); ^~~~ configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for secure_getenv configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for timingsafe_memcmp configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccEhBj7y.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `timingsafe_memcmp' collect2: error: ld returned 1 exit status configure:18428: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | /* end confdefs.h. */ | /* Define timingsafe_memcmp to an innocuous variant, in case declares timingsafe_memcmp. | For example, HP-UX 11i declares gettimeofday. */ | #define timingsafe_memcmp innocuous_timingsafe_memcmp | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char timingsafe_memcmp (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef timingsafe_memcmp | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char timingsafe_memcmp (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_timingsafe_memcmp || defined __stub___timingsafe_memcmp | choke me | #endif | | int | main () | { | return timingsafe_memcmp (); | ; | return 0; | } configure:18428: result: no configure:18428: checking for timingsafe_bcmp configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccEby1YB.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `timingsafe_bcmp' collect2: error: ld returned 1 exit status configure:18428: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | /* end confdefs.h. */ | /* Define timingsafe_bcmp to an innocuous variant, in case declares timingsafe_bcmp. | For example, HP-UX 11i declares gettimeofday. */ | #define timingsafe_bcmp innocuous_timingsafe_bcmp | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char timingsafe_bcmp (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef timingsafe_bcmp | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char timingsafe_bcmp (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_timingsafe_bcmp || defined __stub___timingsafe_bcmp | choke me | #endif | | int | main () | { | return timingsafe_bcmp (); | ; | return 0; | } configure:18428: result: no configure:18428: checking for asctime_r configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for ctime_r configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for gmtime_r configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for localtime_r configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18428: checking for memccpy configure:18428: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18428: $? = 0 configure:18428: result: yes configure:18454: checking for memset_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccgcM1pV.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memset_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define memset_s to an innocuous variant, in case declares memset_s. | For example, HP-UX 11i declares gettimeofday. */ | #define memset_s innocuous_memset_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memset_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memset_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char memset_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_memset_s || defined __stub___memset_s | choke me | #endif | | int | main () | { | return memset_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for memcpy_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccMglfVX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memcpy_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define memcpy_s to an innocuous variant, in case declares memcpy_s. | For example, HP-UX 11i declares gettimeofday. */ | #define memcpy_s innocuous_memcpy_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memcpy_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memcpy_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char memcpy_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_memcpy_s || defined __stub___memcpy_s | choke me | #endif | | int | main () | { | return memcpy_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for memmove_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc2pHPFZ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memmove_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define memmove_s to an innocuous variant, in case declares memmove_s. | For example, HP-UX 11i declares gettimeofday. */ | #define memmove_s innocuous_memmove_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memmove_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memmove_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char memmove_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_memmove_s || defined __stub___memmove_s | choke me | #endif | | int | main () | { | return memmove_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for memzero_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccy805l2.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memzero_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define memzero_s to an innocuous variant, in case declares memzero_s. | For example, HP-UX 11i declares gettimeofday. */ | #define memzero_s innocuous_memzero_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memzero_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memzero_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char memzero_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_memzero_s || defined __stub___memzero_s | choke me | #endif | | int | main () | { | return memzero_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for memchr_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccaF7Z7q.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memchr_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define memchr_s to an innocuous variant, in case declares memchr_s. | For example, HP-UX 11i declares gettimeofday. */ | #define memchr_s innocuous_memchr_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memchr_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memchr_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char memchr_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_memchr_s || defined __stub___memchr_s | choke me | #endif | | int | main () | { | return memchr_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for memrchr_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccThPPVV.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memrchr_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define memrchr_s to an innocuous variant, in case declares memrchr_s. | For example, HP-UX 11i declares gettimeofday. */ | #define memrchr_s innocuous_memrchr_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memrchr_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memrchr_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char memrchr_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_memrchr_s || defined __stub___memrchr_s | choke me | #endif | | int | main () | { | return memrchr_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for memccpy_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc3QmszY.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memccpy_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define memccpy_s to an innocuous variant, in case declares memccpy_s. | For example, HP-UX 11i declares gettimeofday. */ | #define memccpy_s innocuous_memccpy_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memccpy_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memccpy_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char memccpy_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_memccpy_s || defined __stub___memccpy_s | choke me | #endif | | int | main () | { | return memccpy_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for sprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccTxCLT0.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define sprintf_s to an innocuous variant, in case declares sprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define sprintf_s innocuous_sprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char sprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_sprintf_s || defined __stub___sprintf_s | choke me | #endif | | int | main () | { | return sprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strcat_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccRY1yI3.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strcat_s to an innocuous variant, in case declares strcat_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strcat_s innocuous_strcat_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strcat_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strcat_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strcat_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strcat_s || defined __stub___strcat_s | choke me | #endif | | int | main () | { | return strcat_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strcpy_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccHZuCyt.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strcpy_s to an innocuous variant, in case declares strcpy_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strcpy_s innocuous_strcpy_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strcpy_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strcpy_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strcpy_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strcpy_s || defined __stub___strcpy_s | choke me | #endif | | int | main () | { | return strcpy_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strncat_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cczlEqsa.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strncat_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strncat_s to an innocuous variant, in case declares strncat_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strncat_s innocuous_strncat_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strncat_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strncat_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strncat_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strncat_s || defined __stub___strncat_s | choke me | #endif | | int | main () | { | return strncat_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strncpy_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccTWbUcc.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strncpy_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strncpy_s to an innocuous variant, in case declares strncpy_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strncpy_s innocuous_strncpy_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strncpy_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strncpy_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strncpy_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strncpy_s || defined __stub___strncpy_s | choke me | #endif | | int | main () | { | return strncpy_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strnlen_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccVkNM5A.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnlen_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strnlen_s to an innocuous variant, in case declares strnlen_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strnlen_s innocuous_strnlen_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strnlen_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strnlen_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strnlen_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strnlen_s || defined __stub___strnlen_s | choke me | #endif | | int | main () | { | return strnlen_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strtok_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccb6A0me.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strtok_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strtok_s to an innocuous variant, in case declares strtok_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strtok_s innocuous_strtok_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strtok_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strtok_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strtok_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strtok_s || defined __stub___strtok_s | choke me | #endif | | int | main () | { | return strtok_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strerror_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccv4TFah.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strerror_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strerror_s to an innocuous variant, in case declares strerror_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strerror_s innocuous_strerror_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strerror_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strerror_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strerror_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strerror_s || defined __stub___strerror_s | choke me | #endif | | int | main () | { | return strerror_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vsprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccHM46Fj.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vsprintf_s to an innocuous variant, in case declares vsprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vsprintf_s innocuous_vsprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vsprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vsprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vsprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vsprintf_s || defined __stub___vsprintf_s | choke me | #endif | | int | main () | { | return vsprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for tmpnam_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccFXgCnI.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `tmpnam_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define tmpnam_s to an innocuous variant, in case declares tmpnam_s. | For example, HP-UX 11i declares gettimeofday. */ | #define tmpnam_s innocuous_tmpnam_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char tmpnam_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef tmpnam_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char tmpnam_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_tmpnam_s || defined __stub___tmpnam_s | choke me | #endif | | int | main () | { | return tmpnam_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for snprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc71lXao.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `snprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define snprintf_s to an innocuous variant, in case declares snprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define snprintf_s innocuous_snprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char snprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef snprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char snprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_snprintf_s || defined __stub___snprintf_s | choke me | #endif | | int | main () | { | return snprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vsnprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccPZmXzq.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsnprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vsnprintf_s to an innocuous variant, in case declares vsnprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vsnprintf_s innocuous_vsnprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vsnprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vsnprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vsnprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vsnprintf_s || defined __stub___vsnprintf_s | choke me | #endif | | int | main () | { | return vsnprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for snwprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccpRCFxt.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `snwprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define snwprintf_s to an innocuous variant, in case declares snwprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define snwprintf_s innocuous_snwprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char snwprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef snwprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char snwprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_snwprintf_s || defined __stub___snwprintf_s | choke me | #endif | | int | main () | { | return snwprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strspn_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccVnSf8R.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strspn_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strspn_s to an innocuous variant, in case declares strspn_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strspn_s innocuous_strspn_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strspn_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strspn_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strspn_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strspn_s || defined __stub___strspn_s | choke me | #endif | | int | main () | { | return strspn_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strset_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccn0VieA.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strset_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strset_s to an innocuous variant, in case declares strset_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strset_s innocuous_strset_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strset_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strset_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strset_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strset_s || defined __stub___strset_s | choke me | #endif | | int | main () | { | return strset_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strchr_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccVlfJ3Y.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strchr_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strchr_s to an innocuous variant, in case declares strchr_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strchr_s innocuous_strchr_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strchr_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strchr_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strchr_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strchr_s || defined __stub___strchr_s | choke me | #endif | | int | main () | { | return strchr_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strrchr_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccdjclPE.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strrchr_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strrchr_s to an innocuous variant, in case declares strrchr_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strrchr_s innocuous_strrchr_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strrchr_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strrchr_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strrchr_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strrchr_s || defined __stub___strrchr_s | choke me | #endif | | int | main () | { | return strrchr_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strstr_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc7m9EhE.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strstr_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strstr_s to an innocuous variant, in case declares strstr_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strstr_s innocuous_strstr_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strstr_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strstr_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strstr_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strstr_s || defined __stub___strstr_s | choke me | #endif | | int | main () | { | return strstr_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strzero_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cclZVvcH.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strzero_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strzero_s to an innocuous variant, in case declares strzero_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strzero_s innocuous_strzero_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strzero_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strzero_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strzero_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strzero_s || defined __stub___strzero_s | choke me | #endif | | int | main () | { | return strzero_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for strnset_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccRwfuM4.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnset_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define strnset_s to an innocuous variant, in case declares strnset_s. | For example, HP-UX 11i declares gettimeofday. */ | #define strnset_s innocuous_strnset_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strnset_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strnset_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char strnset_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_strnset_s || defined __stub___strnset_s | choke me | #endif | | int | main () | { | return strnset_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for mbsrtowcs_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccDkUP0M.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `mbsrtowcs_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define mbsrtowcs_s to an innocuous variant, in case declares mbsrtowcs_s. | For example, HP-UX 11i declares gettimeofday. */ | #define mbsrtowcs_s innocuous_mbsrtowcs_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char mbsrtowcs_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef mbsrtowcs_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char mbsrtowcs_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_mbsrtowcs_s || defined __stub___mbsrtowcs_s | choke me | #endif | | int | main () | { | return mbsrtowcs_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for mbstowcs_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cct8ytTP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `mbstowcs_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define mbstowcs_s to an innocuous variant, in case declares mbstowcs_s. | For example, HP-UX 11i declares gettimeofday. */ | #define mbstowcs_s innocuous_mbstowcs_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char mbstowcs_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef mbstowcs_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char mbstowcs_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_mbstowcs_s || defined __stub___mbstowcs_s | choke me | #endif | | int | main () | { | return mbstowcs_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsrtombs_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccrIp6FR.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsrtombs_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsrtombs_s to an innocuous variant, in case declares wcsrtombs_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsrtombs_s innocuous_wcsrtombs_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsrtombs_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsrtombs_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsrtombs_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsrtombs_s || defined __stub___wcsrtombs_s | choke me | #endif | | int | main () | { | return wcsrtombs_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcstombs_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc3bgoBU.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcstombs_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcstombs_s to an innocuous variant, in case declares wcstombs_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcstombs_s innocuous_wcstombs_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcstombs_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcstombs_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcstombs_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcstombs_s || defined __stub___wcstombs_s | choke me | #endif | | int | main () | { | return wcstombs_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcrtomb_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccNPN5RT.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcrtomb_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcrtomb_s to an innocuous variant, in case declares wcrtomb_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcrtomb_s innocuous_wcrtomb_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcrtomb_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcrtomb_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcrtomb_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcrtomb_s || defined __stub___wcrtomb_s | choke me | #endif | | int | main () | { | return wcrtomb_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wctomb_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccPFiFHi.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wctomb_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wctomb_s to an innocuous variant, in case declares wctomb_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wctomb_s innocuous_wctomb_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wctomb_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wctomb_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wctomb_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wctomb_s || defined __stub___wctomb_s | choke me | #endif | | int | main () | { | return wctomb_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsnlen_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccFGMXyk.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsnlen_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsnlen_s to an innocuous variant, in case declares wcsnlen_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsnlen_s innocuous_wcsnlen_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsnlen_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsnlen_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsnlen_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsnlen_s || defined __stub___wcsnlen_s | choke me | #endif | | int | main () | { | return wcsnlen_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcscpy_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccfmZwD2.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcscpy_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcscpy_s to an innocuous variant, in case declares wcscpy_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcscpy_s innocuous_wcscpy_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcscpy_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcscpy_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcscpy_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcscpy_s || defined __stub___wcscpy_s | choke me | #endif | | int | main () | { | return wcscpy_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsncpy_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cchdbry5.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsncpy_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsncpy_s to an innocuous variant, in case declares wcsncpy_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsncpy_s innocuous_wcsncpy_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsncpy_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsncpy_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsncpy_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsncpy_s || defined __stub___wcsncpy_s | choke me | #endif | | int | main () | { | return wcsncpy_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcscat_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccNTfUh7.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcscat_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcscat_s to an innocuous variant, in case declares wcscat_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcscat_s innocuous_wcscat_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcscat_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcscat_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcscat_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcscat_s || defined __stub___wcscat_s | choke me | #endif | | int | main () | { | return wcscat_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsncat_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccbIDvH6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsncat_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsncat_s to an innocuous variant, in case declares wcsncat_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsncat_s innocuous_wcsncat_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsncat_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsncat_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsncat_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsncat_s || defined __stub___wcsncat_s | choke me | #endif | | int | main () | { | return wcsncat_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wmemcpy_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccrXquI9.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wmemcpy_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wmemcpy_s to an innocuous variant, in case declares wmemcpy_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wmemcpy_s innocuous_wmemcpy_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wmemcpy_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wmemcpy_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wmemcpy_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wmemcpy_s || defined __stub___wmemcpy_s | choke me | #endif | | int | main () | { | return wmemcpy_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wmemmove_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccOuAWo4.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wmemmove_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wmemmove_s to an innocuous variant, in case declares wmemmove_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wmemmove_s innocuous_wmemmove_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wmemmove_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wmemmove_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wmemmove_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wmemmove_s || defined __stub___wmemmove_s | choke me | #endif | | int | main () | { | return wmemmove_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcstok_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccCeEpZ6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcstok_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcstok_s to an innocuous variant, in case declares wcstok_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcstok_s innocuous_wcstok_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcstok_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcstok_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcstok_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcstok_s || defined __stub___wcstok_s | choke me | #endif | | int | main () | { | return wcstok_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vswprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccgpXfp6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vswprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vswprintf_s to an innocuous variant, in case declares vswprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vswprintf_s innocuous_vswprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vswprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vswprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vswprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vswprintf_s || defined __stub___vswprintf_s | choke me | #endif | | int | main () | { | return vswprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for swprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc4Wts87.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `swprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define swprintf_s to an innocuous variant, in case declares swprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define swprintf_s innocuous_swprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char swprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef swprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char swprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_swprintf_s || defined __stub___swprintf_s | choke me | #endif | | int | main () | { | return swprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vfwprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccOBrD3a.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vfwprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vfwprintf_s to an innocuous variant, in case declares vfwprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vfwprintf_s innocuous_vfwprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vfwprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vfwprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vfwprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vfwprintf_s || defined __stub___vfwprintf_s | choke me | #endif | | int | main () | { | return vfwprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vwprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccadjief.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vwprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vwprintf_s to an innocuous variant, in case declares vwprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vwprintf_s innocuous_vwprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vwprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vwprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vwprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vwprintf_s || defined __stub___vwprintf_s | choke me | #endif | | int | main () | { | return vwprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccmt4eWg.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wprintf_s to an innocuous variant, in case declares wprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wprintf_s innocuous_wprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wprintf_s || defined __stub___wprintf_s | choke me | #endif | | int | main () | { | return wprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for fwprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc2YZCRj.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fwprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define fwprintf_s to an innocuous variant, in case declares fwprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define fwprintf_s innocuous_fwprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fwprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fwprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char fwprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_fwprintf_s || defined __stub___fwprintf_s | choke me | #endif | | int | main () | { | return fwprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for swscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccWB8WkF.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `swscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define swscanf_s to an innocuous variant, in case declares swscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define swscanf_s innocuous_swscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char swscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef swscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char swscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_swscanf_s || defined __stub___swscanf_s | choke me | #endif | | int | main () | { | return swscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vswscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccoFzsYl.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vswscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vswscanf_s to an innocuous variant, in case declares vswscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vswscanf_s innocuous_vswscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vswscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vswscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vswscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vswscanf_s || defined __stub___vswscanf_s | choke me | #endif | | int | main () | { | return vswscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccA065Go.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wscanf_s to an innocuous variant, in case declares wscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wscanf_s innocuous_wscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wscanf_s || defined __stub___wscanf_s | choke me | #endif | | int | main () | { | return wscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vfwscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccKrcFqq.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vfwscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vfwscanf_s to an innocuous variant, in case declares vfwscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vfwscanf_s innocuous_vfwscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vfwscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vfwscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vfwscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vfwscanf_s || defined __stub___vfwscanf_s | choke me | #endif | | int | main () | { | return vfwscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for fwscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cck0ieat.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fwscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define fwscanf_s to an innocuous variant, in case declares fwscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define fwscanf_s innocuous_fwscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fwscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fwscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char fwscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_fwscanf_s || defined __stub___fwscanf_s | choke me | #endif | | int | main () | { | return fwscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vwscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccYvQUdx.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vwscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vwscanf_s to an innocuous variant, in case declares vwscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vwscanf_s innocuous_vwscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vwscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vwscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vwscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vwscanf_s || defined __stub___vwscanf_s | choke me | #endif | | int | main () | { | return vwscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vsnwprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccgTdf6z.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsnwprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vsnwprintf_s to an innocuous variant, in case declares vsnwprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vsnwprintf_s innocuous_vsnwprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vsnwprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vsnwprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vsnwprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vsnwprintf_s || defined __stub___vsnwprintf_s | choke me | #endif | | int | main () | { | return vsnwprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsstr_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccCXDqUX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsstr_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsstr_s to an innocuous variant, in case declares wcsstr_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsstr_s innocuous_wcsstr_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsstr_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsstr_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsstr_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsstr_s || defined __stub___wcsstr_s | choke me | #endif | | int | main () | { | return wcsstr_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wmemcmp_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccMszyjX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wmemcmp_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wmemcmp_s to an innocuous variant, in case declares wmemcmp_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wmemcmp_s innocuous_wmemcmp_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wmemcmp_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wmemcmp_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wmemcmp_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wmemcmp_s || defined __stub___wmemcmp_s | choke me | #endif | | int | main () | { | return wmemcmp_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcscmp_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccyVBU1F.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcscmp_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcscmp_s to an innocuous variant, in case declares wcscmp_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcscmp_s innocuous_wcscmp_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcscmp_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcscmp_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcscmp_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcscmp_s || defined __stub___wcscmp_s | choke me | #endif | | int | main () | { | return wcscmp_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsncmp_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccYkE09J.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsncmp_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsncmp_s to an innocuous variant, in case declares wcsncmp_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsncmp_s innocuous_wcsncmp_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsncmp_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsncmp_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsncmp_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsncmp_s || defined __stub___wcsncmp_s | choke me | #endif | | int | main () | { | return wcsncmp_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsicmp_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccAEviW8.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsicmp_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsicmp_s to an innocuous variant, in case declares wcsicmp_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsicmp_s innocuous_wcsicmp_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsicmp_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsicmp_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsicmp_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsicmp_s || defined __stub___wcsicmp_s | choke me | #endif | | int | main () | { | return wcsicmp_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsset_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccWVYlEa.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsset_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsset_s to an innocuous variant, in case declares wcsset_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsset_s innocuous_wcsset_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsset_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsset_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsset_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsset_s || defined __stub___wcsset_s | choke me | #endif | | int | main () | { | return wcsset_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsnset_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccoXpDvR.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsnset_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsnset_s to an innocuous variant, in case declares wcsnset_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsnset_s innocuous_wcsnset_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsnset_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsnset_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsnset_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsnset_s || defined __stub___wcsnset_s | choke me | #endif | | int | main () | { | return wcsnset_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcscoll_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccy4k5SQ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcscoll_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcscoll_s to an innocuous variant, in case declares wcscoll_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcscoll_s innocuous_wcscoll_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcscoll_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcscoll_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcscoll_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcscoll_s || defined __stub___wcscoll_s | choke me | #endif | | int | main () | { | return wcscoll_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcslwr_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccEdOKLT.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcslwr_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcslwr_s to an innocuous variant, in case declares wcslwr_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcslwr_s innocuous_wcslwr_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcslwr_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcslwr_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcslwr_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcslwr_s || defined __stub___wcslwr_s | choke me | #endif | | int | main () | { | return wcslwr_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsupr_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cci8QQiW.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsupr_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsupr_s to an innocuous variant, in case declares wcsupr_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsupr_s innocuous_wcsupr_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsupr_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsupr_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsupr_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsupr_s || defined __stub___wcsupr_s | choke me | #endif | | int | main () | { | return wcsupr_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for towfc_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccInFzXX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `towfc_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define towfc_s to an innocuous variant, in case declares towfc_s. | For example, HP-UX 11i declares gettimeofday. */ | #define towfc_s innocuous_towfc_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char towfc_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef towfc_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char towfc_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_towfc_s || defined __stub___towfc_s | choke me | #endif | | int | main () | { | return towfc_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for wcsfc_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccs9h2T0.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsfc_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define wcsfc_s to an innocuous variant, in case declares wcsfc_s. | For example, HP-UX 11i declares gettimeofday. */ | #define wcsfc_s innocuous_wcsfc_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char wcsfc_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef wcsfc_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char wcsfc_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_wcsfc_s || defined __stub___wcsfc_s | choke me | #endif | | int | main () | { | return wcsfc_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for sscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cciMsjT4.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define sscanf_s to an innocuous variant, in case declares sscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define sscanf_s innocuous_sscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char sscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_sscanf_s || defined __stub___sscanf_s | choke me | #endif | | int | main () | { | return sscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for fscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccEV1HM7.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define fscanf_s to an innocuous variant, in case declares fscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define fscanf_s innocuous_fscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char fscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_fscanf_s || defined __stub___fscanf_s | choke me | #endif | | int | main () | { | return fscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for scanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccU0kjB9.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `scanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define scanf_s to an innocuous variant, in case declares scanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define scanf_s innocuous_scanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char scanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef scanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char scanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_scanf_s || defined __stub___scanf_s | choke me | #endif | | int | main () | { | return scanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vfscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccwfOYX8.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vfscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vfscanf_s to an innocuous variant, in case declares vfscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vfscanf_s innocuous_vfscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vfscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vfscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vfscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vfscanf_s || defined __stub___vfscanf_s | choke me | #endif | | int | main () | { | return vfscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vsscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccyPwDNb.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vsscanf_s to an innocuous variant, in case declares vsscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vsscanf_s innocuous_vsscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vsscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vsscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vsscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vsscanf_s || defined __stub___vsscanf_s | choke me | #endif | | int | main () | { | return vsscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vscanf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccME9nyd.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vscanf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vscanf_s to an innocuous variant, in case declares vscanf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vscanf_s innocuous_vscanf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vscanf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vscanf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vscanf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vscanf_s || defined __stub___vscanf_s | choke me | #endif | | int | main () | { | return vscanf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for printf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccknrfhC.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `printf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define printf_s to an innocuous variant, in case declares printf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define printf_s innocuous_printf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char printf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef printf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char printf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_printf_s || defined __stub___printf_s | choke me | #endif | | int | main () | { | return printf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for fprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cclizULb.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define fprintf_s to an innocuous variant, in case declares fprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define fprintf_s innocuous_fprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char fprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_fprintf_s || defined __stub___fprintf_s | choke me | #endif | | int | main () | { | return fprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for tmpfile_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccrvuJab.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `tmpfile_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define tmpfile_s to an innocuous variant, in case declares tmpfile_s. | For example, HP-UX 11i declares gettimeofday. */ | #define tmpfile_s innocuous_tmpfile_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char tmpfile_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef tmpfile_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char tmpfile_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_tmpfile_s || defined __stub___tmpfile_s | choke me | #endif | | int | main () | { | return tmpfile_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vfprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc56LJ5d.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vfprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vfprintf_s to an innocuous variant, in case declares vfprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vfprintf_s innocuous_vfprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vfprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vfprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vfprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vfprintf_s || defined __stub___vfprintf_s | choke me | #endif | | int | main () | { | return vfprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for vprintf_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccVlI1Rf.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vprintf_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define vprintf_s to an innocuous variant, in case declares vprintf_s. | For example, HP-UX 11i declares gettimeofday. */ | #define vprintf_s innocuous_vprintf_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char vprintf_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef vprintf_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char vprintf_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_vprintf_s || defined __stub___vprintf_s | choke me | #endif | | int | main () | { | return vprintf_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for fopen_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cczVyHwi.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fopen_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define fopen_s to an innocuous variant, in case declares fopen_s. | For example, HP-UX 11i declares gettimeofday. */ | #define fopen_s innocuous_fopen_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fopen_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fopen_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char fopen_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_fopen_s || defined __stub___fopen_s | choke me | #endif | | int | main () | { | return fopen_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for freopen_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccrx7Zym.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `freopen_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define freopen_s to an innocuous variant, in case declares freopen_s. | For example, HP-UX 11i declares gettimeofday. */ | #define freopen_s innocuous_freopen_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char freopen_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef freopen_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char freopen_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_freopen_s || defined __stub___freopen_s | choke me | #endif | | int | main () | { | return freopen_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for gets_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc96YGtp.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `gets_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define gets_s to an innocuous variant, in case declares gets_s. | For example, HP-UX 11i declares gettimeofday. */ | #define gets_s innocuous_gets_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char gets_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef gets_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char gets_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_gets_s || defined __stub___gets_s | choke me | #endif | | int | main () | { | return gets_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for bsearch_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccJXoehr.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `bsearch_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define bsearch_s to an innocuous variant, in case declares bsearch_s. | For example, HP-UX 11i declares gettimeofday. */ | #define bsearch_s innocuous_bsearch_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char bsearch_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef bsearch_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char bsearch_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_bsearch_s || defined __stub___bsearch_s | choke me | #endif | | int | main () | { | return bsearch_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for qsort_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cczWVlFq.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `qsort_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define qsort_s to an innocuous variant, in case declares qsort_s. | For example, HP-UX 11i declares gettimeofday. */ | #define qsort_s innocuous_qsort_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char qsort_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef qsort_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char qsort_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_qsort_s || defined __stub___qsort_s | choke me | #endif | | int | main () | { | return qsort_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for gmtime_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccJEQMLJ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `gmtime_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define gmtime_s to an innocuous variant, in case declares gmtime_s. | For example, HP-UX 11i declares gettimeofday. */ | #define gmtime_s innocuous_gmtime_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char gmtime_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef gmtime_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char gmtime_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_gmtime_s || defined __stub___gmtime_s | choke me | #endif | | int | main () | { | return gmtime_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for localtime_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccLPs6pM.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `localtime_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define localtime_s to an innocuous variant, in case declares localtime_s. | For example, HP-UX 11i declares gettimeofday. */ | #define localtime_s innocuous_localtime_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char localtime_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef localtime_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char localtime_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_localtime_s || defined __stub___localtime_s | choke me | #endif | | int | main () | { | return localtime_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for asctime_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccvt1meP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `asctime_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define asctime_s to an innocuous variant, in case declares asctime_s. | For example, HP-UX 11i declares gettimeofday. */ | #define asctime_s innocuous_asctime_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char asctime_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef asctime_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char asctime_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_asctime_s || defined __stub___asctime_s | choke me | #endif | | int | main () | { | return asctime_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for ctime_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cclNnBYP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `ctime_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define ctime_s to an innocuous variant, in case declares ctime_s. | For example, HP-UX 11i declares gettimeofday. */ | #define ctime_s innocuous_ctime_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char ctime_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef ctime_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char ctime_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_ctime_s || defined __stub___ctime_s | choke me | #endif | | int | main () | { | return ctime_s (); | ; | return 0; | } configure:18454: result: no configure:18454: checking for getenv_s configure:18454: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-0/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc9HsimT.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getenv_s' collect2: error: ld returned 1 exit status configure:18454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "fd215f" | #define PACKAGE_STRING "Safe C Library fd215f" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_C99 1 | #define HAVE_C11 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define STDC_HEADERS 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LANGINFO_H 1 | #define restrict __restrict | #define HAVE_UINTPTR_T 1 | #define SIZEOF_SIZE_T 8 | #define HAVE_MBSTATE_T 1 | #define HAVE_TM_GMTOFF 1 | #define SIZEOF_TIME_T 8 | #define HAVE___BUILTIN_CTZ 1 | #define HAVE___BUILTIN_CONSTANT_P 1 | #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 | #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 | #define HAVE_MEMSET 1 | #define HAVE_STRCMP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRSPN 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRSTR 1 | #define HAVE_WMEMCHR 1 | #define HAVE_WMEMCMP 1 | #define HAVE_WCSCMP 1 | #define HAVE_WCSSTR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_VSWSCANF 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_ISWDIGIT 1 | #define HAVE_ISWSPACE 1 | #define HAVE_TOWLOWER 1 | #define HAVE_TOWUPPER 1 | #define HAVE_TOWCTRANS 1 | #define HAVE_BCMP 1 | #define HAVE_SECURE_GETENV 1 | #define HAVE_ASCTIME_R 1 | #define HAVE_CTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMCCPY 1 | /* end confdefs.h. */ | /* Define getenv_s to an innocuous variant, in case declares getenv_s. | For example, HP-UX 11i declares gettimeofday. */ | #define getenv_s innocuous_getenv_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getenv_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getenv_s | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char getenv_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_getenv_s || defined __stub___getenv_s | choke me | #endif | | int | main () | { | return getenv_s (); | ; | return 0; | } configure:18454: result: no configure:18505: checking for towupper usability configure:18508: result: no (cross) configure:18607: checking for --disable-wchar or broken wchar usability configure:18620: result: no (default) configure:18623: checking size of wchar_t configure:18643: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18643: $? = 0 configure:18655: result: 4 configure:18885: checking that generated files are newer than configure configure:18891: result: done configure:18998: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by Safe C Library config.status fd215f, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on godzilla.lym.embecosm-corp.com config.status:1327: creating safec-3.3.pc config.status:1327: creating include/safe_config.h config.status:1327: creating include/safe_lib_errno.h config.status:1327: creating include/safe_types.h config.status:1327: creating Makefile config.status:1327: creating src/Makefile config.status:1327: creating tests/Makefile config.status:1327: creating Doxyfile config.status:1327: creating doc/footer config.status:1327: creating config.h config.status:1556: executing depfiles commands config.status:1556: executing libtool commands configure:21146: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_c_int32_t=yes ac_cv_c_restrict=__restrict ac_cv_c_uint16_t=yes ac_cv_c_uint32_t=yes ac_cv_c_uint64_t=yes ac_cv_c_uint8_t=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=riscv64-buildroot-linux-musl ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-musl ac_cv_func___bnd_chk_ptr_bounds=no ac_cv_func___bnd_null_ptr_bounds=no ac_cv_func___bnd_set_ptr_bounds=no ac_cv_func___memcpy_chk=no ac_cv_func___memmove_chk=no ac_cv_func___memset_chk=no ac_cv_func___printf_chk=no ac_cv_func___snprintf_chk=no ac_cv_func___sprintf_chk=no ac_cv_func___strcat_chk=no ac_cv_func___strcpy_chk=no ac_cv_func___strncat_chk=no ac_cv_func___strncpy_chk=no ac_cv_func___swprintf_chk=no ac_cv_func___vfprintf_chk=no ac_cv_func___vfwprintf_chk=no ac_cv_func___vsnprintf_chk=no ac_cv_func___vsprintf_chk=no ac_cv_func___vsscanf_chk=no ac_cv_func___vswscanf_chk=no ac_cv_func__memcmp_s_chk=no ac_cv_func__memcpy_s_chk=no ac_cv_func__memmove_s_chk=no ac_cv_func__memset_s_chk=no ac_cv_func__printf_s_chk=no ac_cv_func__snprintf_s_chk=no ac_cv_func__sprintf_s_chk=no ac_cv_func__strcat_s_chk=no ac_cv_func__strcpy_s_chk=no ac_cv_func__strncat_s_chk=no ac_cv_func__strncpy_s_chk=no ac_cv_func__strnlen_s_chk=no ac_cv_func__swprintf_s_chk=no ac_cv_func__vfprintf_s_chk=no ac_cv_func__vfwprintf_s_chk=no ac_cv_func__vsnprintf_s_chk=no ac_cv_func__vsprintf_s_chk=no ac_cv_func_asctime_r=yes ac_cv_func_asctime_s=no ac_cv_func_bcmp=yes ac_cv_func_bsearch_s=no ac_cv_func_calloc_0_nonnull=yes ac_cv_func_ctime_r=yes ac_cv_func_ctime_s=no ac_cv_func_fopen_s=no ac_cv_func_fprintf_s=no ac_cv_func_freopen_s=no ac_cv_func_fscanf_s=no ac_cv_func_fwprintf_s=no ac_cv_func_fwscanf_s=no ac_cv_func_getenv_s=no ac_cv_func_gets_s=no ac_cv_func_gmtime_r=yes ac_cv_func_gmtime_s=no ac_cv_func_iswdigit=yes ac_cv_func_iswspace=yes ac_cv_func_localtime_r=yes ac_cv_func_localtime_s=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_mbsrtowcs=yes ac_cv_func_mbsrtowcs_s=no ac_cv_func_mbstowcs=yes ac_cv_func_mbstowcs_s=no ac_cv_func_memccpy=yes ac_cv_func_memccpy_s=no ac_cv_func_memchr_s=no ac_cv_func_memcmp_working=yes ac_cv_func_memcpy_s=no ac_cv_func_memmove_s=no ac_cv_func_memrchr=yes ac_cv_func_memrchr_s=no ac_cv_func_memset=yes ac_cv_func_memset_s=no ac_cv_func_memzero_s=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_printf_s=no ac_cv_func_qsort_s=no ac_cv_func_realloc_0_nonnull=yes ac_cv_func_scanf_s=no ac_cv_func_secure_getenv=yes ac_cv_func_snprintf_s=no ac_cv_func_snwprintf_s=no ac_cv_func_sprintf_s=no ac_cv_func_sscanf_s=no ac_cv_func_strcasecmp=yes ac_cv_func_strcasestr=yes ac_cv_func_strcat_s=no ac_cv_func_strchr_s=no ac_cv_func_strcmp=yes ac_cv_func_strcpy_s=no ac_cv_func_strcspn=yes ac_cv_func_strerror_s=no ac_cv_func_strncat_s=no ac_cv_func_strncpy_s=no ac_cv_func_strnlen=yes ac_cv_func_strnlen_s=no ac_cv_func_strnset_s=no ac_cv_func_strnstr=no ac_cv_func_strpbrk=yes ac_cv_func_strrchr=yes ac_cv_func_strrchr_s=no ac_cv_func_strset_s=no ac_cv_func_strspn=yes ac_cv_func_strspn_s=no ac_cv_func_strstr=yes ac_cv_func_strstr_s=no ac_cv_func_strtok_s=no ac_cv_func_strzero_s=no ac_cv_func_swprintf_s=no ac_cv_func_swscanf_s=no ac_cv_func_timingsafe_bcmp=no ac_cv_func_timingsafe_memcmp=no ac_cv_func_tmpfile_s=no ac_cv_func_tmpnam_s=no ac_cv_func_towctrans=yes ac_cv_func_towfc_s=no ac_cv_func_towlower=yes ac_cv_func_towupper=yes ac_cv_func_vfprintf_s=no ac_cv_func_vfscanf_s=no ac_cv_func_vfwprintf_s=no ac_cv_func_vfwscanf_s=no ac_cv_func_vprintf_s=no ac_cv_func_vscanf_s=no ac_cv_func_vsnprintf_s=no ac_cv_func_vsnwprintf=no ac_cv_func_vsnwprintf_s=no ac_cv_func_vsprintf_s=no ac_cv_func_vsscanf_s=no ac_cv_func_vswprintf=yes ac_cv_func_vswprintf_s=no ac_cv_func_vswscanf=yes ac_cv_func_vswscanf_s=no ac_cv_func_vwprintf_s=no ac_cv_func_vwscanf_s=no ac_cv_func_wcrtomb_s=no ac_cv_func_wcscat_s=no ac_cv_func_wcscmp=yes ac_cv_func_wcscmp_s=no ac_cv_func_wcscoll_s=no ac_cv_func_wcscpy_s=no ac_cv_func_wcsfc_s=no ac_cv_func_wcsicmp_s=no ac_cv_func_wcslwr_s=no ac_cv_func_wcsncat_s=no ac_cv_func_wcsncmp_s=no ac_cv_func_wcsncpy_s=no ac_cv_func_wcsnlen_s=no ac_cv_func_wcsnset_s=no ac_cv_func_wcsrtombs_s=no ac_cv_func_wcsset_s=no ac_cv_func_wcsstr=yes ac_cv_func_wcsstr_s=no ac_cv_func_wcstok_s=no ac_cv_func_wcstombs_s=no ac_cv_func_wcsupr_s=no ac_cv_func_wctomb_s=no ac_cv_func_wmemchr=yes ac_cv_func_wmemcmp=yes ac_cv_func_wmemcmp_s=no ac_cv_func_wmemcpy_s=no ac_cv_func_wmemmove_s=no ac_cv_func_wprintf_s=no ac_cv_func_wscanf_s=no ac_cv_have_decl_malloc=yes ac_cv_header_ctype_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_langinfo_h=yes ac_cv_header_limits_h=yes ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdbool_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_time=yes ac_cv_header_unistd_h=yes ac_cv_header_valgrind_valgrind_h=no ac_cv_header_wchar_h=yes ac_cv_host=riscv64-buildroot-linux-musl ac_cv_lbl_unaligned_fail=yes ac_cv_member_struct_tm_tm_gmtoff=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc ac_cv_prog_CPP=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp ac_cv_prog_DOXYGEN=doxygen ac_cv_prog_OBJDUMP=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-objdump ac_cv_prog_POD2MAN=pod2man ac_cv_prog_RANLIB=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ranlib ac_cv_prog_STRIP=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-strip ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c11= ac_cv_prog_cc_c89= ac_cv_prog_cc_c99= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_sizeof_size_t=8 ac_cv_sizeof_time_t=8 ac_cv_sizeof_wchar_t=4 ac_cv_type__Bool=yes ac_cv_type_errno_t=no ac_cv_type_mbstate_t=yes ac_cv_type_size_t=yes ac_cv_type_uintptr_t=yes ac_cv_type_wchar_t=yes am_cv_CC_dependencies_compiler_type=none am_cv_ar_interface=ar am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv_check_cflags__Wall=yes ax_cv_check_cflags__Warray_bounds=yes ax_cv_check_cflags__Wcast_align=yes ax_cv_check_cflags__Wdeclaration_after_statement=yes ax_cv_check_cflags__Wdouble_promotion=yes ax_cv_check_cflags__Wduplicated_branches=yes ax_cv_check_cflags__Wduplicated_cond=yes ax_cv_check_cflags__Wextra=yes ax_cv_check_cflags__Wformat_2=no ax_cv_check_cflags__Wformat_nonliteral=no ax_cv_check_cflags__Wformat_security=yes ax_cv_check_cflags__Wimplicit_function_declaration=yes ax_cv_check_cflags__Winit_self=yes ax_cv_check_cflags__Winline=no ax_cv_check_cflags__Wjump_misses_init=yes ax_cv_check_cflags__Wlogical_op=yes ax_cv_check_cflags__Wmissing_declarations=yes ax_cv_check_cflags__Wmissing_format_attribute=no ax_cv_check_cflags__Wmissing_include_dirs=yes ax_cv_check_cflags__Wmissing_noreturn=yes ax_cv_check_cflags__Wmissing_prototypes=yes ax_cv_check_cflags__Wnested_externs=yes ax_cv_check_cflags__Wno_error_missing_field_initializers=yes ax_cv_check_cflags__Wno_error_unused_parameter=yes ax_cv_check_cflags__Wno_missing_field_initializers=yes ax_cv_check_cflags__Wno_suggest_attribute_format=yes ax_cv_check_cflags__Wno_unused_parameter=yes ax_cv_check_cflags__Wnull_dereference=yes ax_cv_check_cflags__Wold_style_definition=yes ax_cv_check_cflags__Wpacked=yes ax_cv_check_cflags__Wpointer_arith=yes ax_cv_check_cflags__Wredundant_decls=yes ax_cv_check_cflags__Wrestrict=yes ax_cv_check_cflags__Wreturn_type=yes ax_cv_check_cflags__Wshadow=yes ax_cv_check_cflags__Wsign_compare=yes ax_cv_check_cflags__Wstrict_aliasing=yes ax_cv_check_cflags__Wstrict_prototypes=yes ax_cv_check_cflags__Wswitch_default=yes ax_cv_check_cflags__Wswitch_enum=yes ax_cv_check_cflags__Wundef=yes ax_cv_check_cflags__Wunused_but_set_variable=yes ax_cv_check_cflags__Wwrite_strings=yes ax_cv_check_cflags___Werror_unknown_warning_option=no ax_cv_check_cflags___Wsuggest_attribute_format=yes ax_cv_check_cflags___Wuser_defined_warnings=no ax_cv_check_cflags____Wgcc_compat=no ax_cv_check_cflags__fno_strict_aliasing=yes ax_cv_check_cflags__mindirect_branch_thunk_extern__mfunction_return_thunk_extern__mindirect_branch_register___fPIC__DPIC__DRETPOLINE=no ax_cv_check_cflags__mretpoline__DRETPOLINE___fPIC__DPIC=no ax_cv_check_ldflags__Wl___as_needed=yes ax_cv_check_ldflags__Wl__z_noexecstack=yes ax_cv_check_ldflags__Wl__z_now=yes ax_cv_check_ldflags__Wl__z_relro=yes ax_cv_check_ldflags___Wl___fatal_warnings=no ax_cv_check_ldflags___Wl__fatal_warnings=no ax_cv_have___builtin___bnd_chk_ptr_bounds=yes ax_cv_have___builtin___bnd_null_ptr_bounds=yes ax_cv_have___builtin___bnd_set_ptr_bounds=yes ax_cv_have___builtin_constant_p=yes ax_cv_have___builtin_ctz=yes ax_cv_have___builtin_object_size=yes gl_cv_func_malloc_0_nonnull=yes gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ld lt_cv_path_NM=/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_lib_search_path_spec= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \ LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \ LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \ LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \ LOG_FLAGS="$(valgrind_drd_flags)" \ LOG_FLAGS="$(valgrind_helgrind_flags)" \ LOG_FLAGS="$(valgrind_memcheck_flags)" \ LOG_FLAGS="$(valgrind_sgcheck_flags)" \ TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \ TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \ TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \ TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \ TEST_SUITE_LOG=test-suite-drd.log TEST_SUITE_LOG=test-suite-helgrind.log TEST_SUITE_LOG=test-suite-memcheck.log TEST_SUITE_LOG=test-suite-sgcheck.log $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \ $(TESTS_ENVIRONMENT) \ $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) $(valgrind_lt) \ $(valgrind_v_use)$(MAKE) check-TESTS \ $(valgrind_v_use)$(MAKE) check-TESTS \ $(valgrind_v_use)$(MAKE) check-TESTS \ $(valgrind_v_use)$(MAKE) check-TESTS \ G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly G_SLICE=always-malloc,debug-blocks \ env VALGRIND=$(VALGRIND) \ # # (Default: --num-callers=30) # memcheck, helgrind, drd, sgcheck). (Default: various) # - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of: # - VALGRIND_FLAGS: General flags to pass to all Valgrind tools. # - VALGRIND_SUPPRESSIONS_FILE: Valgrind suppressions file to load. (Default: empty) # Internal use # Optional variables # Optional: # Use recursive makes in order to ignore errors during check # Valgrind check # Valgrind running #VALGRIND_SUPPRESSIONS ?= --suppressions=$(VALGRIND_SUPPRESSIONS_FILE) ' .PHONY: check-vg check-valgrind ACLOCAL='${SHELL} /home/mark/buildroot-test/instance-0/output/build/safeclib-03032018/build-tools/missing aclocal-1.15' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_CFLAGS='' AM_CPPFLAGS='-I$(top_srcdir)/include' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind AM_DISTCHECK_CONFIGURE_FLAGS ?= AM_LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack ' AM_V='$(V)' AR='/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ar' AUTOCONF='${SHELL} /home/mark/buildroot-test/instance-0/output/build/safeclib-03032018/build-tools/missing autoconf' AUTOHEADER='${SHELL} /home/mark/buildroot-test/instance-0/output/build/safeclib-03032018/build-tools/missing autoheader' AUTOMAKE='${SHELL} /home/mark/buildroot-test/instance-0/output/build/safeclib-03032018/build-tools/missing automake-1.15' AWK='gawk' CC='/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' CPP='/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DOXYGEN='doxygen' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_DEBUG_BUILD_FALSE='' ENABLE_DEBUG_BUILD_TRUE='#' ENABLE_DEBUG_FALSE='' ENABLE_DEBUG_TRUE='#' ENABLE_DOC_FALSE='' ENABLE_DOC_TRUE='#' ENABLE_EXTS_FALSE='#' ENABLE_EXTS_TRUE='' ENABLE_GCOV_FALSE='' ENABLE_GCOV_TRUE='#' ENABLE_UNSAFE_FALSE='' ENABLE_UNSAFE_TRUE='#' ENABLE_VALGRIND_drd='no' ENABLE_VALGRIND_helgrind='no' ENABLE_VALGRIND_memcheck='no' ENABLE_VALGRIND_sgcheck='no' ENABLE_WCHAR_FALSE='#' ENABLE_WCHAR_TRUE='' EXEEXT='' FALLBACK_ERRNO_T='typedef int errno_t;' FGREP='/bin/grep -F' GCOV='' GCOV_CFLAGS='' GCOV_LIBS='' GREP='/bin/grep' HAVE_ATTRIBUTE_DIAGNOSE_IF_FALSE='' HAVE_ATTRIBUTE_DIAGNOSE_IF_TRUE='#' HAVE_C11='' HAVE_C99='' HAVE_DOXYGEN_FALSE='#' HAVE_DOXYGEN_TRUE='' HAVE_DSYMUTIL_FALSE='' HAVE_DSYMUTIL_TRUE='#' HAVE_MBSTOWCS_FALSE='#' HAVE_MBSTOWCS_TRUE='' HAVE_MEMCPY_S_FALSE='' HAVE_MEMCPY_S_TRUE='#' HAVE_MINGW_CROSS_FALSE='' HAVE_MINGW_CROSS_TRUE='#' HAVE_MINGW_FALSE='' HAVE_MINGW_TRUE='#' HAVE_POD2MAN_FALSE='#' HAVE_POD2MAN_TRUE='' HAVE_TIMINGSAFE_BCMP_FALSE='' HAVE_TIMINGSAFE_BCMP_TRUE='#' HAVE_VSNWPRINTF_S_FALSE='' HAVE_VSNWPRINTF_S_TRUE='#' HAVE_WCSSTR_FALSE='#' HAVE_WCSSTR_TRUE='' HAVE_WINE_FALSE='' HAVE_WINE_TRUE='#' INSERT_BOOL_SUPPORT='#include ' INSERT_CONSTANT_P='#define HAVE___BUILTIN_CONSTANT_P 1' INSERT_CONSTRAINT_HANDLER='#undef SAFECLIB_DISABLE_CONSTRAINT_HANDLER' INSERT_DISABLE_DLLIMPORT='#undef DISABLE_DLLIMPORT' INSERT_DISABLE_WCHAR='#undef SAFECLIB_DISABLE_WCHAR' INSERT_ERRNO_H='#include ' INSERT_ERROR_DMAX='#undef HAVE_ERROR_DMAX' INSERT_EXTS='#undef SAFECLIB_DISABLE_EXTENSIONS' INSERT_INTTYPES_H='#include ' INSERT_NULLSLACK='#define SAFECLIB_STR_NULL_SLACK 1' INSERT_OBJECT_SIZE='# define HAVE___BUILTIN_OBJECT_SIZE 1' INSERT_STDINT_H='#include ' INSERT_SYS_TYPES_H='#include ' INSERT_UNSAFE='#undef SAFECLIB_ENABLE_UNSAFE' INSERT_WARN_DMAX='#undef HAVE_WARN_DMAX' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/mark/buildroot-test/instance-0/output/build/safeclib-03032018/build-tools/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' MOSTLYCLEANFILES += $(valgrind_log_files) MOSTLYCLEANFILES ?= NM='/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-nm' NMEDIT='' OBJDUMP='/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='libsafec' PACKAGE_BUGREPORT='https://github.com/rurban/safeclib/issues' PACKAGE_NAME='Safe C Library' PACKAGE_STRING='Safe C Library fd215f' PACKAGE_TARNAME='libsafec' PACKAGE_URL='http://github.com/rurban/safeclib/' PACKAGE_VERSION='fd215f' PATH_SEPARATOR=':' POD2MAN='pod2man' RANLIB='/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-ranlib' RSIZE_MAX_MEM='(256UL << 20) /* 256MB */' RSIZE_MAX_STR='(4UL << 10) /* 4KB */' SAFEC_API_VERSION='3.3' SAFEC_SO_VERSION='3:3:0' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-strip' TARBALL_VERSION_FILE='.tarball-version' VALGRIND='' VALGRIND_CHECK_RULES=' VALGRIND_ENABLED='no' VALGRIND_ENABLED_FALSE='' VALGRIND_ENABLED_TRUE='#' VALGRIND_FLAGS ?= --num-callers=30 VALGRIND_LOG_COMPILER = \ VALGRIND_TESTS_ENVIRONMENT = \ VALGRIND_drd_FLAGS ?= VALGRIND_helgrind_FLAGS ?= --history-level=approx VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no VALGRIND_sgcheck_FLAGS ?= VERSION='fd215f' WARN_CFLAGS='-fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers' WARN_LDFLAGS='' WARN_SCANNERFLAGS=' --warn-all --warn-error ' WINE='' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' check-valgrind-am: check-valgrind-drd-am: check-valgrind-helgrind-am: check-valgrind-memcheck-am: check-valgrind-sgcheck-am: check-vg-am: check-valgrind-am datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='riscv64-buildroot-linux-musl' host_alias='riscv64-buildroot-linux-musl' host_cpu='riscv64' host_os='linux-musl' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/mark/buildroot-test/instance-0/output/build/safeclib-03032018/build-tools/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='riscv64-buildroot-linux-musl' valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS) valgrind_enabled_tools='' valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS) valgrind_log_files = test-suite-memcheck.log test-suite-helgrind.log test-suite-drd.log test-suite-sgcheck.log valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS) valgrind_quiet = $(valgrind_quiet_$(V)) valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY)) valgrind_quiet_0 = --quiet valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS) valgrind_tools='memcheck helgrind drd sgcheck' valgrind_v_use = $(valgrind_v_use_$(V)) valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY)) valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%-am,%,$@):; ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Safe C Library" #define PACKAGE_TARNAME "libsafec" #define PACKAGE_VERSION "fd215f" #define PACKAGE_STRING "Safe C Library fd215f" #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" #define PACKAGE_URL "http://github.com/rurban/safeclib/" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_C99 1 #define HAVE_C11 1 #define HAVE___BUILTIN_OBJECT_SIZE 1 #define STDC_HEADERS 1 #define HAVE__BOOL 1 #define HAVE_STDBOOL_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TIME_H 1 #define HAVE_STDLIB_H 1 #define HAVE_MEMORY_H 1 #define HAVE_CTYPE_H 1 #define HAVE_MALLOC_H 1 #define HAVE_STRING_H 1 #define HAVE_LIMITS_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_WCHAR_H 1 #define HAVE_LANGINFO_H 1 #define restrict __restrict #define HAVE_UINTPTR_T 1 #define SIZEOF_SIZE_T 8 #define HAVE_MBSTATE_T 1 #define HAVE_TM_GMTOFF 1 #define SIZEOF_TIME_T 8 #define HAVE___BUILTIN_CTZ 1 #define HAVE___BUILTIN_CONSTANT_P 1 #define HAVE___BUILTIN___BND_SET_PTR_BOUNDS 1 #define HAVE___BUILTIN___BND_NULL_PTR_BOUNDS 1 #define HAVE___BUILTIN___BND_CHK_PTR_BOUNDS 1 #define HAVE_MEMSET 1 #define HAVE_STRCMP 1 #define HAVE_STRCASECMP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRCSPN 1 #define HAVE_STRPBRK 1 #define HAVE_STRSPN 1 #define HAVE_STRNLEN 1 #define HAVE_STRRCHR 1 #define HAVE_MEMRCHR 1 #define HAVE_STRSTR 1 #define HAVE_WMEMCHR 1 #define HAVE_WMEMCMP 1 #define HAVE_WCSCMP 1 #define HAVE_WCSSTR 1 #define HAVE_VSWPRINTF 1 #define HAVE_VSWSCANF 1 #define HAVE_MBSRTOWCS 1 #define HAVE_MBSTOWCS 1 #define HAVE_ISWDIGIT 1 #define HAVE_ISWSPACE 1 #define HAVE_TOWLOWER 1 #define HAVE_TOWUPPER 1 #define HAVE_TOWCTRANS 1 #define HAVE_BCMP 1 #define HAVE_SECURE_GETENV 1 #define HAVE_ASCTIME_R 1 #define HAVE_CTIME_R 1 #define HAVE_GMTIME_R 1 #define HAVE_LOCALTIME_R 1 #define HAVE_MEMCCPY 1 #define SIZEOF_WCHAR_T 4 configure: exit 0