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 08112019.0-gad76c7, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=riscv64-buildroot-linux-gnu --host=riscv64-buildroot-linux-gnu --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 = ns304657.ip-46-105-103.eu uname -m = x86_64 uname -r = 4.4.0-201-generic uname -s = Linux uname -v = #233-Ubuntu SMP Thu Jan 14 06:10:28 UTC 2021 /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/buildroot/autobuild/run/instance-2/output-1/host/bin PATH: /home/buildroot/autobuild/run/instance-2/output-1/host/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/games PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2861: checking for a BSD-compatible install configure:2929: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/install -c configure:2940: checking whether build environment is sane configure:2995: result: yes configure:3054: checking for riscv64-buildroot-linux-gnu-strip configure:3081: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-strip configure:3146: checking for a thread-safe mkdir -p configure:3185: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/mkdir -p configure:3192: checking for gawk configure:3208: found /home/buildroot/autobuild/run/instance-2/output-1/host/bin/gawk configure:3219: result: gawk configure:3230: checking whether make sets $(MAKE) configure:3252: result: yes configure:3281: checking whether make supports nested variables configure:3298: result: yes configure:3428: checking whether make supports nested variables configure:3445: result: yes configure:3463: checking whether make supports the include directive configure:3478: make -f confmf.GNU && cat confinc.out make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output-1/build/safeclib-08112019' make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output-1/build/safeclib-08112019' this is the am__doit target configure:3481: $? = 0 configure:3500: result: yes (GNU style) configure:3530: checking for riscv64-buildroot-linux-gnu-gcc configure:3557: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc configure:3826: checking for C compiler version configure:3835: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc --version >&5 riscv64-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0 Copyright (C) 2020 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:3846: $? = 0 configure:3835: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/10.2.0/lto-wrapper Target: riscv64-buildroot-linux-gnu Configured with: ./configure --prefix=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--glibc--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-gnu --with-sysroot=/opt/riscv64--glibc--bleeding-edge-2020.08-1/riscv64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--glibc--bleeding-edge-2020.08-1/riscv64-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/10.2.0/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/lib/:/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib/:/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3846: $? = 1 configure:3835: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:3846: $? = 1 configure:3835: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -qversion >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:3846: $? = 1 configure:3866: checking whether the C compiler works configure:3888: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3892: $? = 0 configure:3940: result: yes configure:3943: checking for C compiler default output file name configure:3945: result: a.out configure:3951: checking for suffix of executables configure:3958: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3962: $? = 0 configure:3984: result: configure:4006: checking whether we are cross compiling configure:4044: result: yes configure:4049: checking for suffix of object files configure:4071: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4075: $? = 0 configure:4096: result: o configure:4100: checking whether we are using the GNU C compiler configure:4119: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4119: $? = 0 configure:4128: result: yes configure:4137: checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc accepts -g configure:4157: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4157: $? = 0 configure:4198: result: yes configure:4215: checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc option to enable C89 features configure:4278: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4278: $? = 0 configure:4292: result: none needed configure:4318: checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc understands -c and -o together configure:4340: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4343: $? = 0 configure:4340: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4343: $? = 0 configure:4355: result: yes configure:4374: checking dependency style of /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc configure:4485: result: none configure:4506: checking for riscv64-buildroot-linux-gnu-ar configure:4533: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar configure:4603: checking the archiver (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar) interface configure:4619: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4619: $? = 0 configure:4621: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar cru libconftest.a conftest.o >&5 configure:4624: $? = 0 configure:4652: result: ar configure:4705: checking build system type configure:4719: result: x86_64-pc-linux-gnu configure:4739: checking host system type configure:4752: result: riscv64-buildroot-linux-gnu configure:4793: checking how to print strings configure:4820: result: printf configure:4841: checking for a sed that does not truncate output configure:4905: result: /bin/sed configure:4923: checking for grep that handles long lines and -e configure:4981: result: /bin/grep configure:4986: checking for egrep configure:5048: result: /bin/grep -E configure:5053: checking for fgrep configure:5115: result: /bin/grep -F configure:5150: checking for ld used by /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc configure:5217: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ld configure:5224: checking if the linker (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ld) is GNU ld configure:5239: result: yes configure:5251: checking for BSD- or MS-compatible name lister (nm) configure:5305: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-nm configure:5435: checking the name lister (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-nm) interface configure:5442: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5445: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-nm "conftest.o" configure:5448: output 0000000000000000 B some_variable configure:5455: result: BSD nm configure:5458: checking whether ln -s works configure:5462: result: yes configure:5470: checking the maximum length of command line arguments configure:5601: result: 3458764513820540925 configure:5649: checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-gnu format configure:5689: result: func_convert_file_noop configure:5696: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:5716: result: func_convert_file_noop configure:5723: checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ld option to reload object files configure:5730: result: -r configure:5764: checking for riscv64-buildroot-linux-gnu-objdump configure:5791: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-objdump configure:5863: checking how to recognize dependent libraries configure:6063: result: pass_all configure:6108: checking for riscv64-buildroot-linux-gnu-dlltool configure:6138: result: no configure:6148: checking for dlltool configure:6178: result: no configure:6208: checking how to associate runtime and link libraries configure:6235: result: printf %s\n configure:6251: checking for riscv64-buildroot-linux-gnu-ar configure:6278: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar configure:6359: checking for archiver @FILE support configure:6376: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6376: $? = 0 configure:6379: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar cru libconftest.a @conftest.lst >&5 configure:6382: $? = 0 configure:6387: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar cru libconftest.a @conftest.lst >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar: conftest.o: No such file or directory configure:6390: $? = 1 configure:6402: result: @ configure:6420: checking for riscv64-buildroot-linux-gnu-strip configure:6447: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-strip configure:6519: checking for riscv64-buildroot-linux-gnu-ranlib configure:6546: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ranlib configure:6688: checking command to parse /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-nm output from /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc object configure:6841: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6844: $? = 0 configure:6848: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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:6914: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:6917: $? = 0 configure:6955: result: ok configure:7002: checking for sysroot configure:7032: result: no configure:7039: checking for a working dd configure:7077: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/dd configure:7081: checking how to truncate binary pipes configure:7096: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/dd bs=4096 count=1 configure:7385: checking for riscv64-buildroot-linux-gnu-mt configure:7415: result: no configure:7425: checking for mt configure:7441: found /bin/mt configure:7452: result: mt configure:7464: WARNING: using cross tools not prefixed with host triplet configure:7475: checking if mt is a manifest tool configure:7481: mt '-?' configure:7489: result: no configure:8166: checking how to run the C preprocessor configure:8236: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp configure:8256: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:8256: $? = 0 configure:8270: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:8270: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #define PACKAGE_BUGREPORT "https://github.com/rurban/safeclib/issues" | #define PACKAGE_URL "http://github.com/rurban/safeclib/" | /* end confdefs.h. */ | #include configure:8299: checking for ANSI C header files configure:8319: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8319: $? = 0 configure:8403: result: yes configure:8416: checking for sys/types.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8416: checking for sys/stat.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8416: checking for stdlib.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8416: checking for string.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8416: checking for memory.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8416: checking for strings.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8416: checking for inttypes.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8416: checking for stdint.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8416: checking for unistd.h configure:8416: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8416: $? = 0 configure:8416: result: yes configure:8430: checking for dlfcn.h configure:8430: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8430: $? = 0 configure:8430: result: yes configure:8686: checking for objdir configure:8701: result: .libs configure:8965: checking if /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc supports -fno-rtti -fno-exceptions configure:8983: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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++/D/ObjC++ but not for C configure:8987: $? = 0 configure:9000: result: no configure:9358: checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc option to produce PIC configure:9365: result: -fPIC -DPIC configure:9373: checking if /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc PIC flag -fPIC -DPIC works configure:9391: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:9395: $? = 0 configure:9408: result: yes configure:9437: checking if /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc static flag -static works configure:9465: result: yes configure:9480: checking if /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o configure:9501: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:9505: $? = 0 configure:9527: result: yes configure:9535: checking if /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc supports -c -o file.o configure:9582: result: yes configure:9615: checking whether the /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc linker (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ld) supports shared libraries configure:10878: result: yes configure:10915: checking whether -lc should be explicitly linked in configure:10923: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10926: $? = 0 configure:10941: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:10944: $? = 0 configure:10958: result: no configure:11118: checking dynamic linker characteristics configure:11699: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11699: $? = 0 configure:11948: result: GNU/Linux ld.so configure:12070: checking how to hardcode library paths into programs configure:12095: result: immediate configure:12643: checking whether stripping libraries is possible configure:12648: result: yes configure:12683: checking if libtool supports shared libraries configure:12685: result: yes configure:12688: checking whether to build shared libraries configure:12713: result: yes configure:12716: checking whether to build static libraries configure:12720: result: no configure:12802: checking for --enable-gcov configure:12817: result: no (default) configure:12840: checking for --enable-debug configure:12865: result: no CFLAGS = -O2 -D_FORTIFY_SOURCE=2 configure:12877: 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 -g0 -DNDEBUG -D_FORTIFY_SOURCE=1' configure:12903: checking for --disable-extensions configure:12910: result: no (default) configure:12937: checking for --enable-memmax configure:12939: result: (256UL << 20) /* 256MB */ configure:12958: checking for --enable-strmax configure:12960: result: (4UL << 10) /* 4KB */ configure:12976: checking for --disable-nullslack configure:12979: result: no (default) configure:13003: checking for --disable-constraint-handler configure:13010: result: no (default) configure:13027: checking for --enable-unsafe configure:13034: result: no configure:13059: checking for --enable-norm-compat configure:13068: result: no (default) configure:13083: checking for --enable-warn-dmax configure:13089: result: no (default) configure:13104: checking for --enable-error-dmax configure:13110: result: no (default) configure:13163: Check programs configure:13174: checking for riscv64-buildroot-linux-gnu-gcc configure:13201: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc configure:13470: checking for C compiler version configure:13479: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc --version >&5 riscv64-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0 Copyright (C) 2020 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:13490: $? = 0 configure:13479: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/10.2.0/lto-wrapper Target: riscv64-buildroot-linux-gnu Configured with: ./configure --prefix=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--glibc--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-gnu --with-sysroot=/opt/riscv64--glibc--bleeding-edge-2020.08-1/riscv64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--glibc--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--glibc--bleeding-edge-2020.08-1/riscv64-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-gnu/10.2.0/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/lib/:/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib/:/home/buildroot/autobuild/run/instance-2/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:13490: $? = 1 configure:13479: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:13490: $? = 1 configure:13479: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -qversion >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:13490: $? = 1 configure:13494: checking whether we are using the GNU C compiler configure:13522: result: yes configure:13531: checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc accepts -g configure:13592: result: yes configure:13609: checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc option to enable C89 features configure:13686: result: none needed configure:13712: checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc understands -c and -o together configure:13749: result: yes configure:13768: checking dependency style of /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc configure:13879: result: none configure:13899: checking how to run the C preprocessor configure:13969: result: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp configure:13989: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:13989: $? = 0 configure:14003: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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 21 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:14003: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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:14033: checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc option to enable C99 features configure:14182: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14182: $? = 0 configure:14196: result: none needed configure:14212: checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc option to enable C11 features configure:14415: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14415: $? = 0 configure:14429: result: none needed configure:14487: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:25:7: error: #error "no C++" 25 | #error "no C++" | ^~~~~ configure:14487: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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:14511: checking for -Wmissing-format-attribute usability configure:14549: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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' 30 | int myvsprintf(char *dest, const char *fmt, va_list ap) { | ^~~~~~~~~~ conftest.c:27:6: note: previous declaration of 'myvsprintf' was here 27 | 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] 31 | return vsprintf(dest, fmt, ap); | ^~~~~~ cc1: all warnings being treated as errors configure:14549: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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:14553: result: no configure:14639: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:25:9: error: #error "no C++" 25 | #error "no C++" | ^~~~~ configure:14639: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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:14651: checking whether C compiler accepts -Werror=unknown-warning-option configure:14670: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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:14670: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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:14678: result: no configure:14692: checking whether C compiler accepts -Wno-suggest-attribute=format configure:14711: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wno-suggest-attribute=format -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14711: $? = 0 configure:14719: result: yes configure:14740: checking whether C compiler accepts -mcet -fcf-protection=full -fPIC -DPIC -DRETPOLINE configure:14759: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -mcet -fcf-protection=full -fPIC -DPIC -DRETPOLINE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-mcet' configure:14759: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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:14768: result: no configure:14818: checking whether C compiler accepts -mretpoline -DRETPOLINE -fPIC -DPIC configure:14837: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -mretpoline -DRETPOLINE -fPIC -DPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-mretpoline' configure:14837: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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:14846: result: no configure:14896: checking whether C compiler accepts -mindirect-branch=thunk-extern -mfunction-return=thunk-extern -mindirect-branch-register -fPIC -DPIC -DRETPOLINE configure:14915: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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-linux-gcc.br_real: error: unrecognized command-line option '-mindirect-branch=thunk-extern' riscv64-linux-gcc.br_real: error: unrecognized command-line option '-mfunction-return=thunk-extern' riscv64-linux-gcc.br_real: error: unrecognized command-line option '-mindirect-branch-register' configure:14915: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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:14924: result: no configure:14974: checking whether C compiler accepts -fno-strict-aliasing configure:14993: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14993: $? = 0 configure:15002: result: yes configure:15029: : WARN_CFLAGS="$WARN_CFLAGS" configure:15032: $? = 0 configure:15053: checking whether C compiler accepts -Wall configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wextra configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wextra -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wundef configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wundef -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wwrite-strings configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wwrite-strings -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wpointer-arith configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wpointer-arith -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wmissing-declarations configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wmissing-declarations -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wredundant-decls configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wredundant-decls -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wno-unused-parameter configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wno-unused-parameter -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wno-missing-field-initializers configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wno-missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wformat=2 configure:15081: result: no configure:15053: checking whether C compiler accepts -Wcast-align configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wcast-align -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wformat-nonliteral configure:15081: result: no configure:15053: checking whether C compiler accepts -Wformat-security configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wsign-compare configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wsign-compare -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wstrict-aliasing configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wstrict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wshadow configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wshadow -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Winline configure:15081: result: no configure:15053: checking whether C compiler accepts -Wpacked configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wpacked -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wmissing-format-attribute configure:15081: result: no configure:15053: checking whether C compiler accepts -Wmissing-noreturn configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wmissing-noreturn -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Winit-self configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Winit-self -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wredundant-decls configure:15081: result: yes configure:15089: : WARN_CFLAGS already contains $flag configure:15092: $? = 0 configure:15053: checking whether C compiler accepts -Wmissing-include-dirs configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wmissing-include-dirs -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wunused-but-set-variable configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wunused-but-set-variable -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Warray-bounds configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Warray-bounds -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wreturn-type configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wreturn-type -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wswitch-enum configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wswitch-enum -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wswitch-default configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wswitch-default -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wduplicated-cond configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wduplicated-cond -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wduplicated-branches configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wduplicated-branches -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wlogical-op configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wlogical-op -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wrestrict configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wrestrict -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wnull-dereference configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wnull-dereference -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15053: checking whether C compiler accepts -Wdouble-promotion configure:15072: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wdouble-promotion -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15072: $? = 0 configure:15081: result: yes configure:15097: : WARN_CFLAGS="$WARN_CFLAGS" configure:15100: $? = 0 configure:15130: checking whether C compiler accepts -Wnested-externs configure:15149: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wnested-externs -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15149: $? = 0 configure:15158: result: yes configure:15174: : WARN_CFLAGS="$WARN_CFLAGS" configure:15177: $? = 0 configure:15130: checking whether C compiler accepts -Wmissing-prototypes configure:15149: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15149: $? = 0 configure:15158: result: yes configure:15174: : WARN_CFLAGS="$WARN_CFLAGS" configure:15177: $? = 0 configure:15130: checking whether C compiler accepts -Wstrict-prototypes configure:15149: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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] 25 | main () | ^~~~ configure:15149: $? = 0 configure:15158: result: yes configure:15174: : WARN_CFLAGS="$WARN_CFLAGS" configure:15177: $? = 0 configure:15130: checking whether C compiler accepts -Wdeclaration-after-statement configure:15149: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15149: $? = 0 configure:15158: result: yes configure:15174: : WARN_CFLAGS="$WARN_CFLAGS" configure:15177: $? = 0 configure:15130: checking whether C compiler accepts -Wimplicit-function-declaration configure:15149: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wimplicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15149: $? = 0 configure:15158: result: yes configure:15174: : WARN_CFLAGS="$WARN_CFLAGS" configure:15177: $? = 0 configure:15130: checking whether C compiler accepts -Wold-style-definition configure:15149: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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] 25 | main () | ^~~~ configure:15149: $? = 0 configure:15158: result: yes configure:15174: : WARN_CFLAGS="$WARN_CFLAGS" configure:15177: $? = 0 configure:15130: checking whether C compiler accepts -Wjump-misses-init configure:15149: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wjump-misses-init -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15149: $? = 0 configure:15158: result: yes configure:15174: : WARN_CFLAGS="$WARN_CFLAGS" configure:15177: $? = 0 configure:15222: : WARN_CFLAGS="$WARN_CFLAGS" configure:15225: $? = 0 configure:15248: checking whether C compiler accepts -Wno-suggest-attribute=format configure:15267: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wno-suggest-attribute=format -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15267: $? = 0 configure:15276: result: yes configure:15292: : WARN_CFLAGS="$WARN_CFLAGS" configure:15295: $? = 0 configure:15336: checking whether C compiler accepts -Wno-error=unused-parameter configure:15355: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wno-error=unused-parameter -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15355: $? = 0 configure:15364: result: yes configure:15380: : WARN_CFLAGS="$WARN_CFLAGS" configure:15383: $? = 0 configure:15336: checking whether C compiler accepts -Wno-error=missing-field-initializers configure:15355: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wno-error=missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15355: $? = 0 configure:15364: result: yes configure:15380: : WARN_CFLAGS="$WARN_CFLAGS" configure:15383: $? = 0 configure:15440: checking whether C compiler accepts -Werror=unknown-warning-option configure:15467: result: no configure:15490: checking whether the linker accepts -Wl,--as-needed configure:15509: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,--as-needed conftest.c >&5 configure:15509: $? = 0 configure:15519: result: yes configure:15546: : AM_LDFLAGS="$AM_LDFLAGS" configure:15549: $? = 0 configure:15568: checking whether the linker accepts -Wl,-z,relro configure:15587: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,relro conftest.c >&5 configure:15587: $? = 0 configure:15597: result: yes configure:15613: : AM_LDFLAGS="$AM_LDFLAGS" configure:15616: $? = 0 configure:15644: checking whether the linker accepts -Wl,-z,now configure:15663: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,now conftest.c >&5 configure:15663: $? = 0 configure:15673: result: yes configure:15689: : AM_LDFLAGS="$AM_LDFLAGS" configure:15692: $? = 0 configure:15720: checking whether the linker accepts -Wl,-z,noexecstack configure:15739: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,noexecstack conftest.c >&5 configure:15739: $? = 0 configure:15749: result: yes configure:15765: : AM_LDFLAGS="$AM_LDFLAGS" configure:15768: $? = 0 configure:15956: checking whether the linker accepts -Wl,--fatal-warnings configure:15984: result: no configure:15994: checking whether the linker accepts -Wl,-fatal_warnings configure:16022: result: no configure:16313: : WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS" configure:16316: $? = 0 configure:16338: : WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS" configure:16341: $? = 0 configure:16375: : WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS" configure:16378: $? = 0 configure:16410: checking whether C compiler accepts -Werror=unknown-warning-option configure:16437: result: no configure:16700: checking for __builtin_object_size configure:16719: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16719: $? = 0 configure:16728: result: yes configure:16745: checking whether C compiler accepts -Wuser-defined-warnings configure:16764: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wuser-defined-warnings -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-Wuser-defined-warnings' configure:16764: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:16772: result: no configure:16781: checking whether C compiler accepts -Wgcc-compat configure:16800: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -Wgcc-compat -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-Wgcc-compat'; did you mean '-Wc++-compat'? configure:16800: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:16809: result: no configure:16916: checking for diagnose_if attribute configure:16944: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:29:33: error: 'ptr' undeclared here (not in a function) 29 | __attribute__((diagnose_if(!ptr, "empty ptr", "error"))); | ^~~ conftest.c:29:5: error: 'diagnose_if' attribute directive ignored [-Werror=attributes] 29 | __attribute__((diagnose_if(!ptr, "empty ptr", "error"))); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors configure:16944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 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:16954: result: no configure:16979: checking for inline assembly style configure:17006: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17006: $? = 0 configure:17026: result: __asm__ configure:17111: checking for doxygen configure:17141: result: no configure:17150: WARNING: doxygen not found - continuing without doxygen support configure:17157: checking for pod2man configure:17173: found /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pod2man configure:17184: result: pod2man configure:17231: checking for valgrind configure:17261: result: no configure:17628: Check header files configure:17631: checking for ANSI C header files configure:17735: result: yes configure:17743: checking for stdbool.h that conforms to C99 configure:17810: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17810: $? = 0 configure:17817: result: yes configure:17819: checking for _Bool configure:17819: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17819: $? = 0 configure:17819: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:63:20: error: expected expression before ')' token 63 | if (sizeof ((_Bool))) | ^ configure:17819: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17819: result: yes configure:17836: checking whether time.h and sys/time.h may both be included configure:17856: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17856: $? = 0 configure:17863: result: yes configure:17873: checking sys/time.h usability configure:17873: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17873: $? = 0 configure:17873: result: yes configure:17873: checking sys/time.h presence configure:17873: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17873: $? = 0 configure:17873: result: yes configure:17873: checking for sys/time.h configure:17873: result: yes configure:17908: checking for stdlib.h configure:17908: result: yes configure:17908: checking for memory.h configure:17908: result: yes configure:17908: checking ctype.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking ctype.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking for ctype.h configure:17908: result: yes configure:17908: checking malloc.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking malloc.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking for malloc.h configure:17908: result: yes configure:17908: checking for string.h configure:17908: result: yes configure:17908: checking limits.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking limits.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking for limits.h configure:17908: result: yes configure:17908: checking for sys/types.h configure:17908: result: yes configure:17908: checking for inttypes.h configure:17908: result: yes configure:17908: checking for stdint.h configure:17908: result: yes configure:17908: checking errno.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking errno.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking for errno.h configure:17908: result: yes configure:17908: checking wchar.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking wchar.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking for wchar.h configure:17908: result: yes configure:17908: checking langinfo.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking langinfo.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17908: $? = 0 configure:17908: result: yes configure:17908: checking for langinfo.h configure:17908: result: yes configure:17908: checking valgrind/valgrind.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: valgrind/valgrind.h: No such file or directory 76 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking valgrind/valgrind.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: valgrind/valgrind.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for valgrind/valgrind.h configure:17908: result: no configure:17908: checking intrin.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: intrin.h: No such file or directory 76 | #include | ^~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking intrin.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: intrin.h: No such file or directory 43 | #include | ^~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for intrin.h configure:17908: result: no configure:17908: checking xmmintrin.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: xmmintrin.h: No such file or directory 76 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking xmmintrin.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: xmmintrin.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for xmmintrin.h configure:17908: result: no configure:17908: checking emmintrin.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: emmintrin.h: No such file or directory 76 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking emmintrin.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: emmintrin.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for emmintrin.h configure:17908: result: no configure:17908: checking x86intrin.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: x86intrin.h: No such file or directory 76 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking x86intrin.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: x86intrin.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for x86intrin.h configure:17908: result: no configure:17908: checking arm_neon.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: arm_neon.h: No such file or directory 76 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking arm_neon.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: arm_neon.h: No such file or directory 43 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for arm_neon.h configure:17908: result: no configure:17908: checking mmintrin.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: mmintrin.h: No such file or directory 76 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking mmintrin.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: mmintrin.h: No such file or directory 43 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for mmintrin.h configure:17908: result: no configure:17908: checking altivec.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: altivec.h: No such file or directory 76 | #include | ^~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking altivec.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: altivec.h: No such file or directory 43 | #include | ^~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for altivec.h configure:17908: result: no configure:17908: checking spe.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: spe.h: No such file or directory 76 | #include | ^~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking spe.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: spe.h: No such file or directory 43 | #include | ^~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for spe.h configure:17908: result: no configure:17908: checking mbarrier.h usability configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:76:10: fatal error: mbarrier.h: No such file or directory 76 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking mbarrier.h presence configure:17908: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:43:10: fatal error: mbarrier.h: No such file or directory 43 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:17908: result: no configure:17908: checking for mbarrier.h configure:17908: result: no configure:17965: Check typedefs, structures, and compiler characteristics configure:17968: checking for an ANSI C-conforming const configure:18034: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18034: $? = 0 configure:18041: result: yes configure:18049: checking for inline configure:18065: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18065: $? = 0 configure:18073: result: inline configure:18091: checking for C/C++ restrict keyword configure:18116: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18116: $? = 0 configure:18124: result: __restrict configure:18137: checking for size_t configure:18137: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18137: $? = 0 configure:18137: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:21: error: expected expression before ')' token 80 | if (sizeof ((size_t))) | ^ configure:18137: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18137: result: yes configure:18148: checking for int32_t configure:18148: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18148: $? = 0 configure:18148: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:82:53: warning: integer overflow in expression of type 'int' results in '-2147483648' [-Woverflow] 82 | < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; | ^ conftest.c:81:12: error: storage size of 'test_array' isn't constant 81 | static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:18148: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18148: result: yes configure:18159: checking for uint8_t configure:18159: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18159: $? = 0 configure:18159: result: yes configure:18173: checking for uint16_t configure:18173: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18173: $? = 0 configure:18173: result: yes configure:18185: checking for uint32_t configure:18185: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18185: $? = 0 configure:18185: result: yes configure:18199: checking for uint64_t configure:18199: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18199: $? = 0 configure:18199: result: yes configure:18214: checking for uintptr_t configure:18214: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18214: $? = 0 configure:18214: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:24: error: expected expression before ')' token 80 | if (sizeof ((uintptr_t))) | ^ configure:18214: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18214: result: yes configure:18254: checking size of size_t configure:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18259: $? = 0 configure:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)]; | ^~~~~~~~~~ configure:18259: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)]; | ^~~~~~~~~~ configure:18259: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)]; | ^~~~~~~~~~ configure:18259: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 7)]; | ^~~~~~~~~~ configure:18259: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18259: $? = 0 configure:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18259: $? = 0 configure:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18259: $? = 0 configure:18259: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18259: $? = 0 configure:18273: result: 8 configure:18283: checking for errno_t configure:18283: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:51:13: error: 'errno_t' undeclared (first use in this function); did you mean 'errno'? 51 | if (sizeof (errno_t)) | ^~~~~~~ | errno conftest.c:51:13: note: each undeclared identifier is reported only once for each function it appears in configure:18283: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18283: result: no configure:18292: checking for mbstate_t configure:18309: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18309: $? = 0 configure:18316: result: yes configure:18327: checking for struct tm.tm_gmtoff configure:18327: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18327: $? = 0 configure:18327: result: yes configure:18335: checking size of time_t configure:18355: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:55:20: error: duplicate case value 55 | switch (0) case 0: case (sizeof (time_t) == 4):; | ^~~~ conftest.c:55:12: note: previously used here 55 | switch (0) case 0: case (sizeof (time_t) == 4):; | ^~~~ configure:18355: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18355: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18355: $? = 0 configure:18367: result: 8 configure:18375: checking for wchar_t configure:18375: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18375: $? = 0 configure:18375: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:54:22: error: expected expression before ')' token 54 | if (sizeof ((wchar_t))) | ^ configure:18375: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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:18375: result: yes configure:18385: checking for __builtin_ctz configure:18404: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18404: $? = 0 configure:18413: result: yes configure:18429: checking for __builtin_constant_p configure:18448: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18448: $? = 0 configure:18457: result: yes configure:18507: checking for __builtin___bnd_set_ptr_bounds configure:18526: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:13: warning: implicit declaration of function '__builtin___bnd_set_ptr_bounds' [-Wimplicit-function-declaration] 56 | __builtin___bnd_set_ptr_bounds("", 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccgBMWoK.o: in function `.L0 ': conftest.c:(.text.startup+0x14): undefined reference to `__builtin___bnd_set_ptr_bounds' collect2: error: ld returned 1 exit status configure:18526: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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 | /* end confdefs.h. */ | | int | main () | { | | __builtin___bnd_set_ptr_bounds("", 0) | | ; | return 0; | } configure:18535: result: no configure:18551: checking for __builtin___bnd_null_ptr_bounds configure:18570: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:13: warning: implicit declaration of function '__builtin___bnd_null_ptr_bounds' [-Wimplicit-function-declaration] 56 | __builtin___bnd_null_ptr_bounds("") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccRfvfmM.o: in function `.L0 ': conftest.c:(.text.startup+0x10): undefined reference to `__builtin___bnd_null_ptr_bounds' collect2: error: ld returned 1 exit status configure:18570: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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 | /* end confdefs.h. */ | | int | main () | { | | __builtin___bnd_null_ptr_bounds("") | | ; | return 0; | } configure:18579: result: no configure:18597: checking for __builtin___bnd_chk_ptr_bounds configure:18616: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:13: warning: implicit declaration of function '__builtin___bnd_chk_ptr_bounds' [-Wimplicit-function-declaration] 56 | __builtin___bnd_chk_ptr_bounds("", 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccqXqNX7.o: in function `.L0 ': conftest.c:(.text.startup+0x14): undefined reference to `__builtin___bnd_chk_ptr_bounds' collect2: error: ld returned 1 exit status configure:18616: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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 | /* end confdefs.h. */ | | int | main () | { | | __builtin___bnd_chk_ptr_bounds("", 0) | | ; | return 0; | } configure:18625: result: no configure:18641: Check library functions configure:18648: checking for __bnd_chk_ptr_bounds configure:18648: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cckJVwxx.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__bnd_chk_ptr_bounds' collect2: error: ld returned 1 exit status configure:18648: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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 | /* 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:18648: result: no configure:18648: checking for __bnd_set_ptr_bounds configure:18648: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccHHCi2u.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__bnd_set_ptr_bounds' collect2: error: ld returned 1 exit status configure:18648: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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 | /* 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:18648: result: no configure:18648: checking for __bnd_null_ptr_bounds configure:18648: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccLkn09z.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__bnd_null_ptr_bounds' collect2: error: ld returned 1 exit status configure:18648: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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 | /* 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:18648: result: no configure:18665: checking for __memcpy_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:74:6: warning: conflicting types for built-in function '__memcpy_chk'; expected 'void *(void *, const void *, long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 74 | char __memcpy_chk (); | ^~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __memmove_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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'; expected 'void *(void *, const void *, long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 75 | char __memmove_chk (); | ^~~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __memset_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 '__memset_chk'; expected 'void *(void *, int, long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 76 | char __memset_chk (); | ^~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __strcpy_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 '__strcpy_chk'; expected 'char *(char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 77 | char __strcpy_chk (); | ^~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __strncpy_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:78:6: warning: conflicting types for built-in function '__strncpy_chk'; expected 'char *(char *, const char *, long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 78 | char __strncpy_chk (); | ^~~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __strcat_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 '__strcat_chk'; expected 'char *(char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 79 | char __strcat_chk (); | ^~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __strncat_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 '__strncat_chk'; expected 'char *(char *, const char *, long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 80 | char __strncat_chk (); | ^~~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __printf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 '__printf_chk'; expected 'int(int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 81 | char __printf_chk (); | ^~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __sprintf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:82:6: warning: conflicting types for built-in function '__sprintf_chk'; expected 'int(char *, int, long unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 82 | char __sprintf_chk (); | ^~~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __snprintf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 '__snprintf_chk'; expected 'int(char *, long unsigned int, int, long unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 83 | char __snprintf_chk (); | ^~~~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __swprintf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __vfprintf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 '__vfprintf_chk'; expected 'int(void *, int, const char *, void *)' [-Wbuiltin-declaration-mismatch] 85 | char __vfprintf_chk (); | ^~~~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __vfwprintf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __vsprintf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:87:6: warning: conflicting types for built-in function '__vsprintf_chk'; expected 'int(char *, int, long unsigned int, const char *, void *)' [-Wbuiltin-declaration-mismatch] 87 | char __vsprintf_chk (); | ^~~~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __vsnprintf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:88:6: warning: conflicting types for built-in function '__vsnprintf_chk'; expected 'int(char *, long unsigned int, int, long unsigned int, const char *, void *)' [-Wbuiltin-declaration-mismatch] 88 | char __vsnprintf_chk (); | ^~~~~~~~~~~~~~~ configure:18665: $? = 0 configure:18665: result: yes configure:18665: checking for __vsscanf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccrpHapV.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__vsscanf_chk' collect2: error: ld returned 1 exit status configure:18665: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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:18665: result: no configure:18665: checking for __vswscanf_chk configure:18665: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccgDpXj6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `__vswscanf_chk' collect2: error: ld returned 1 exit status configure:18665: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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:18665: result: no configure:18675: checking for working memcmp configure:18728: result: yes configure:18745: checking for memset configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:89:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 89 | char memset (); | ^~~~~~ conftest.c:77:1: note: 'memset' is declared in header '' 76 | # include 77 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strcmp configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:90:6: warning: conflicting types for built-in function 'strcmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 90 | char strcmp (); | ^~~~~~ conftest.c:78:1: note: 'strcmp' is declared in header '' 77 | # include 78 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strcasecmp configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:91:6: warning: conflicting types for built-in function 'strcasecmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 91 | char strcasecmp (); | ^~~~~~~~~~ configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strcasestr configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strcspn configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:93:6: warning: conflicting types for built-in function 'strcspn'; expected 'long unsigned int(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 93 | char strcspn (); | ^~~~~~~ conftest.c:81:1: note: 'strcspn' is declared in header '' 80 | # include 81 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strpbrk configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 'strpbrk'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 94 | char strpbrk (); | ^~~~~~~ conftest.c:82:1: note: 'strpbrk' is declared in header '' 81 | # include 82 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strspn configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 'strspn'; expected 'long unsigned int(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 95 | char strspn (); | ^~~~~~ conftest.c:83:1: note: 'strspn' is declared in header '' 82 | # include 83 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strnstr configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccywDpY4.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnstr' collect2: error: ld returned 1 exit status configure:18745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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:18745: result: no configure:18745: checking for strnlen configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 'strnlen'; expected 'long unsigned int(const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 96 | char strnlen (); | ^~~~~~~ configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strrchr configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 'strrchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 97 | char strrchr (); | ^~~~~~~ conftest.c:85:1: note: 'strrchr' is declared in header '' 84 | # include 85 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for memrchr configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for strstr configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -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 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 99 | char strstr (); | ^~~~~~ conftest.c:87:1: note: 'strstr' is declared in header '' 86 | # include 87 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for wmemchr configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for wmemcmp configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for wcscmp configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for wcsstr configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for vswprintf configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for vsnwprintf configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccNLynmH.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsnwprintf' collect2: error: ld returned 1 exit status configure:18745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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:18745: result: no configure:18745: checking for vswscanf configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for mbsrtowcs configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for mbstowcs configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for iswdigit configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:108:6: warning: conflicting types for built-in function 'iswdigit'; expected 'int(unsigned int)' [-Wbuiltin-declaration-mismatch] 108 | char iswdigit (); | ^~~~~~~~ conftest.c:96:1: note: 'iswdigit' is declared in header '' 95 | # include 96 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for iswspace configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:109:6: warning: conflicting types for built-in function 'iswspace'; expected 'int(unsigned int)' [-Wbuiltin-declaration-mismatch] 109 | char iswspace (); | ^~~~~~~~ conftest.c:97:1: note: 'iswspace' is declared in header '' 96 | # include 97 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for towlower configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:110:6: warning: conflicting types for built-in function 'towlower'; expected 'unsigned int(unsigned int)' [-Wbuiltin-declaration-mismatch] 110 | char towlower (); | ^~~~~~~~ conftest.c:98:1: note: 'towlower' is declared in header '' 97 | # include 98 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for towupper configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:111:6: warning: conflicting types for built-in function 'towupper'; expected 'unsigned int(unsigned int)' [-Wbuiltin-declaration-mismatch] 111 | char towupper (); | ^~~~~~~~ conftest.c:99:1: note: 'towupper' is declared in header '' 98 | # include 99 | #else configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for towctrans configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for bcmp configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:113:6: warning: conflicting types for built-in function 'bcmp'; expected 'int(const void *, const void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 113 | char bcmp (); | ^~~~ configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for secure_getenv configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for timingsafe_memcmp configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccjtz0B2.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `timingsafe_memcmp' collect2: error: ld returned 1 exit status configure:18745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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:18745: result: no configure:18745: checking for timingsafe_bcmp configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccJTG8bg.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `timingsafe_bcmp' collect2: error: ld returned 1 exit status configure:18745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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:18745: result: no configure:18745: checking for explicit_bzero configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for explicit_memset configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccBABPPQ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `explicit_memset' collect2: error: ld returned 1 exit status configure:18745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 1 | /* end confdefs.h. */ | /* Define explicit_memset to an innocuous variant, in case declares explicit_memset. | For example, HP-UX 11i declares gettimeofday. */ | #define explicit_memset innocuous_explicit_memset | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char explicit_memset (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef explicit_memset | | /* 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 explicit_memset (); | /* 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_explicit_memset || defined __stub___explicit_memset | choke me | #endif | | int | main () | { | return explicit_memset (); | ; | return 0; | } configure:18745: result: no configure:18745: checking for asctime_r configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for ctime_r configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for gmtime_r configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for localtime_r configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18745: checking for memccpy configure:18745: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18745: $? = 0 configure:18745: result: yes configure:18762: checking for _memcpy_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccT1R0uI.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_memcpy_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _memmove_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccjAoA1N.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_memmove_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _memset_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc2IB4PP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_memset_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _memcmp_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc0WvfmV.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_memcmp_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _strcpy_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccgNINS1.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strcpy_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _strncpy_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccNfN9H2.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strncpy_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _strcat_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccwG5kvm.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strcat_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _strncat_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccFfhGir.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strncat_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _strnlen_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccaUL5mv.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_strnlen_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _printf_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccIQNk6A.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_printf_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _sprintf_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccU5Qn6F.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_sprintf_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _snprintf_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cckwGwiL.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_snprintf_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _swprintf_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc48uN3P.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_swprintf_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _vfprintf_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc2CzBqP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_vfprintf_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _vfwprintf_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccECAUU8.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_vfwprintf_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _vsprintf_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccgVLSTu.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_vsprintf_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18762: checking for _vsnprintf_s_chk configure:18762: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccMQYgHS.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_vsnprintf_s_chk' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18762: result: no configure:18788: checking for memset_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cckG7PaY.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memset_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for memcpy_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccGsy4M3.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memcpy_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for memmove_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccdN3evY.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memmove_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for memzero_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc77nadZ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memzero_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for memchr_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc1D0zH5.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memchr_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for memrchr_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccDHkI6a.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memrchr_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for memccpy_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccus6SJs.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `memccpy_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for sprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccndQnMR.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strcat_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc4yVf2a.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strcpy_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccDtENzx.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strncat_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccfgq5vQ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strncat_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strncpy_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccgnrXQV.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strncpy_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strnlen_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccRITTOW.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnlen_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strtok_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccEqBPL5.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strtok_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strerror_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccYnHmE6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strerror_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vsprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccYKDIM9.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for tmpnam_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccwFtpFh.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `tmpnam_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for snprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccLyYRpn.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `snprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vsnprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccYSiD8u.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsnprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for snwprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccXQsnEw.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `snwprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strspn_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc0Bf6tB.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strspn_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strset_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc4znbrG.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strset_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strchr_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccgcJMOL.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strchr_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strrchr_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cciMbwEZ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strrchr_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strstr_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccPQPYlg.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strstr_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strzero_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc4ioWID.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strzero_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for strnset_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccxVGHD6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `strnset_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for mbsrtowcs_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc8huFEb.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `mbsrtowcs_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for mbstowcs_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc3pqrrh.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `mbstowcs_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsrtombs_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccmkibpj.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsrtombs_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcstombs_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccRkHODo.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcstombs_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcrtomb_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cczmCF3A.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcrtomb_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wctomb_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc2SJOS0.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wctomb_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsnlen_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc2BpJI6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsnlen_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcscpy_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cce8Elkc.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcscpy_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsncpy_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccYQJb7g.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsncpy_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcscat_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc6C2uTC.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcscat_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsncat_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccSPgi5L.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsncat_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wmemcpy_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccuXrXRX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wmemcpy_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wmemmove_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccx5yPyc.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wmemmove_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcstok_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccZwqYIi.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcstok_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vswprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccZKvBTv.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vswprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for swprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccatBw4F.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `swprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vfwprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cccUVWCG.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vfwprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vwprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc8W6fEH.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vwprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cccKFIVP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for fwprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccFaIxi0.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fwprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for swscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccB3D7Kk.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `swscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vswscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccaJdtaq.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vswscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccF4J2Fv.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vfwscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccHoPEWA.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vfwscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for fwscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccRPyiuG.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fwscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vwscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccQrz4yN.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vwscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vsnwprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccvF38KQ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsnwprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsstr_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc9JgJTW.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsstr_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wmemcmp_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cck0ETX2.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wmemcmp_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcscmp_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccsJF3If.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcscmp_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsncmp_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccE3tX8m.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsncmp_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsicmp_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccZAE1ov.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsicmp_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsset_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccGS6LHA.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsset_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsnset_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cckXh0oF.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsnset_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcscoll_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccUIVYlW.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcscoll_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcslwr_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cckoaKRS.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcslwr_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsupr_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccj26uxX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsupr_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for towfc_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccMBR2pZ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `towfc_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for wcsfc_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cclZrSy8.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `wcsfc_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for sscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccGgAPZd.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for fscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccqPisYe.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for scanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccPzNH4n.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `scanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vfscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccHjyt4v.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vfscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vsscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc9hVbdx.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vsscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vscanf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccgFsS0E.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vscanf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for printf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccFLJhKK.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `printf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for fprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccKy2LgP.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for tmpfile_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccNaAdg1.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `tmpfile_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vfprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cccXLb7Z.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vfprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for vprintf_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccjYASf4.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `vprintf_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for fopen_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cczuN07k.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fopen_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for freopen_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc1tJjDF.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `freopen_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for gets_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cck2jDQN.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `gets_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for bsearch_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccKLQcNS.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `bsearch_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for qsort_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccEZVJXT.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `qsort_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for gmtime_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccCxLq52.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `gmtime_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for localtime_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccTvFSc7.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `localtime_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for asctime_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccamPJKb.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `asctime_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for ctime_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccxNu0wd.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `ctime_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18788: checking for getenv_s configure:18788: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/ccrFUWTh.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getenv_s' collect2: error: ld returned 1 exit status configure:18788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Safe C Library" | #define PACKAGE_TARNAME "libsafec" | #define PACKAGE_VERSION "08112019.0-gad76c7" | #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" | #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_WARNING_RESTRICT 1 | #define HAVE___BUILTIN_OBJECT_SIZE 1 | #define ASM_INLINE __asm__ | #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___MEMCPY_CHK 1 | #define HAVE___MEMMOVE_CHK 1 | #define HAVE___MEMSET_CHK 1 | #define HAVE___STRCPY_CHK 1 | #define HAVE___STRNCPY_CHK 1 | #define HAVE___STRCAT_CHK 1 | #define HAVE___STRNCAT_CHK 1 | #define HAVE___PRINTF_CHK 1 | #define HAVE___SPRINTF_CHK 1 | #define HAVE___SNPRINTF_CHK 1 | #define HAVE___SWPRINTF_CHK 1 | #define HAVE___VFPRINTF_CHK 1 | #define HAVE___VFWPRINTF_CHK 1 | #define HAVE___VSPRINTF_CHK 1 | #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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 __STDC_WANT_LIB_EXT1__ 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:18788: result: no configure:18842: checking for towupper usability configure:18845: result: no (cross) configure:18947: checking for --disable-wchar or broken wchar usability configure:18960: result: no (default) configure:18963: checking size of wchar_t configure:18983: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18983: $? = 0 configure:18995: result: 4 configure:19226: checking that generated files are newer than configure configure:19232: result: done configure:19339: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by Safe C Library config.status 08112019.0-gad76c7, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on ns304657.ip-46-105-103.eu config.status:1346: creating libsafec.pc config.status:1346: creating include/safe_config.h config.status:1346: creating include/safe_lib_errno.h config.status:1346: creating include/safe_types.h config.status:1346: creating Makefile config.status:1346: creating src/Makefile config.status:1346: creating tests/Makefile config.status:1346: creating config.h config.status:1575: executing depfiles commands config.status:1575: executing libtool commands configure:21487: 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_asm_inline=__asm__ 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/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1' 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/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-gnu 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=yes ac_cv_func___memmove_chk=yes ac_cv_func___memset_chk=yes ac_cv_func___printf_chk=yes ac_cv_func___snprintf_chk=yes ac_cv_func___sprintf_chk=yes ac_cv_func___strcat_chk=yes ac_cv_func___strcpy_chk=yes ac_cv_func___strncat_chk=yes ac_cv_func___strncpy_chk=yes ac_cv_func___swprintf_chk=yes ac_cv_func___vfprintf_chk=yes ac_cv_func___vfwprintf_chk=yes ac_cv_func___vsnprintf_chk=yes ac_cv_func___vsprintf_chk=yes 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_explicit_bzero=yes ac_cv_func_explicit_memset=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_altivec_h=no ac_cv_header_arm_neon_h=no ac_cv_header_ctype_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_emmintrin_h=no ac_cv_header_errno_h=yes ac_cv_header_intrin_h=no 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_mbarrier_h=no ac_cv_header_memory_h=yes ac_cv_header_mmintrin_h=no ac_cv_header_spe_h=no 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_header_x86intrin_h=no ac_cv_header_xmmintrin_h=no ac_cv_host=riscv64-buildroot-linux-gnu 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='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/install -c' ac_cv_path_lt_DD=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/dd ac_cv_path_mkdir=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mkdir ac_cv_prog_AR=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc ac_cv_prog_CPP=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-cpp ac_cv_prog_OBJDUMP=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-objdump ac_cv_prog_POD2MAN=pod2man ac_cv_prog_RANLIB=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ranlib ac_cv_prog_STRIP=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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___Wno_suggest_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__mcet__fcf_protection_full___fPIC__DPIC__DRETPOLINE=no 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=no ax_cv_have___builtin___bnd_null_ptr_bounds=no ax_cv_have___builtin___bnd_set_ptr_bounds=no 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 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/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ld lt_cv_path_NM=/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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=3458764513820540925 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/home/buildroot/autobuild/run/instance-2/output-1/host/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/buildroot/autobuild/run/instance-2/output-1/build/safeclib-08112019/build-aux/missing aclocal-1.16' 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/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ar' AUTOCONF='${SHELL} /home/buildroot/autobuild/run/instance-2/output-1/build/safeclib-08112019/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/buildroot/autobuild/run/instance-2/output-1/build/safeclib-08112019/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/buildroot/autobuild/run/instance-2/output-1/build/safeclib-08112019/build-aux/missing automake-1.16' AWK='gawk' CC='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=1' CPP='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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='' 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/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/buildroot/autobuild/run/instance-2/output-1/build/safeclib-08112019/build-aux/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/mkdir -p' MOSTLYCLEANFILES += $(valgrind_log_files) MOSTLYCLEANFILES ?= NM='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-nm' NMEDIT='' OBJDUMP='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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 08112019.0-gad76c7' PACKAGE_TARNAME='libsafec' PACKAGE_URL='http://github.com/rurban/safeclib/' PACKAGE_VERSION='08112019.0-gad76c7' PATH_SEPARATOR=':' PEDANTIC='-pedantic' POD2MAN='pod2man' RANLIB='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-ranlib' RSIZE_MAX_MEM='(256UL << 20) /* 256MB */' RSIZE_MAX_STR='(4UL << 10) /* 4KB */' SAFEC_API_VERSION='3.5.1' SAFEC_SO_VERSION='3:6:0' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv64-linux-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='08112019.0-gad76c7' 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_CFLAGS_TEST='-Wall -Wextra' 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-gnu' host_alias='riscv64-buildroot-linux-gnu' host_cpu='riscv64' host_os='linux-gnu' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/buildroot/autobuild/run/instance-2/output-1/build/safeclib-08112019/build-aux/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}' pkgconfigdir='${libdir}/pkgconfig' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='riscv64-buildroot-linux-gnu' 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 "08112019.0-gad76c7" #define PACKAGE_STRING "Safe C Library 08112019.0-gad76c7" #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_WARNING_RESTRICT 1 #define HAVE___BUILTIN_OBJECT_SIZE 1 #define ASM_INLINE __asm__ #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___MEMCPY_CHK 1 #define HAVE___MEMMOVE_CHK 1 #define HAVE___MEMSET_CHK 1 #define HAVE___STRCPY_CHK 1 #define HAVE___STRNCPY_CHK 1 #define HAVE___STRCAT_CHK 1 #define HAVE___STRNCAT_CHK 1 #define HAVE___PRINTF_CHK 1 #define HAVE___SPRINTF_CHK 1 #define HAVE___SNPRINTF_CHK 1 #define HAVE___SWPRINTF_CHK 1 #define HAVE___VFPRINTF_CHK 1 #define HAVE___VFWPRINTF_CHK 1 #define HAVE___VSPRINTF_CHK 1 #define HAVE___VSNPRINTF_CHK 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_EXPLICIT_BZERO 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