This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=riscv32-buildroot-linux-uclibc --host=riscv32-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared ## --------- ## ## Platform. ## ## --------- ## hostname = Brett-Arch uname -m = x86_64 uname -r = 6.9.8-arch1-1 uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Fri, 05 Jul 2024 22:11:24 +0000 /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/autobuild/autobuild/instance-5/output-1/host/bin PATH: /home/autobuild/autobuild/instance-5/output-1/host/sbin PATH: /home/autobuild/make PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/lib/jvm/default/bin PATH: /usr/bin/site_perl PATH: /usr/bin/vendor_perl PATH: /usr/bin/core_perl ## ----------- ## ## Core tests. ## ## ----------- ## configure:2678: checking for xsltproc configure:2696: found /usr/bin/xsltproc configure:2709: result: /usr/bin/xsltproc configure:2753: checking for riscv32-buildroot-linux-uclibc-gcc configure:2780: result: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc configure:3049: checking for C compiler version configure:3058: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc --version >&5 riscv32-buildroot-linux-uclibc-gcc.br_real (Buildroot 2024.05-724-g9b843284d2) 13.3.0 Copyright (C) 2023 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:3069: $? = 0 configure:3058: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc.br_real COLLECT_LTO_WRAPPER=/home/autobuild/autobuild/instance-5/output-1/host/libexec/gcc/riscv32-buildroot-linux-uclibc/13.3.0/lto-wrapper Target: riscv32-buildroot-linux-uclibc Configured with: ./configure --prefix=/home/autobuild/autobuild/instance-5/output-1/host --sysconfdir=/home/autobuild/autobuild/instance-5/output-1/host/etc --enable-static --target=riscv32-buildroot-linux-uclibc --with-sysroot=/home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/home/autobuild/autobuild/instance-5/output-1/host --with-mpc=/home/autobuild/autobuild/instance-5/output-1/host --with-mpfr=/home/autobuild/autobuild/instance-5/output-1/host --with-pkgversion='Buildroot 2024.05-724-g9b843284d2' --with-bugurl=https://gitlab.com/buildroot.org/buildroot/-/issues --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-tls --enable-threads --without-isl --without-cloog --with-arch=rv32imafd_zicsr_zifencei --with-abi=ilp32d --enable-languages=c --with-build-time-tools=/home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin --disable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.3.0 (Buildroot 2024.05-724-g9b843284d2) configure:3069: $? = 0 configure:3058: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -V >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-V' riscv32-buildroot-linux-uclibc-gcc.br_real: fatal error: no input files compilation terminated. configure:3069: $? = 1 configure:3058: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -qversion >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? riscv32-buildroot-linux-uclibc-gcc.br_real: fatal error: no input files compilation terminated. configure:3069: $? = 1 configure:3089: checking whether the C compiler works configure:3111: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-elf2flt=-r -static conftest.c >&5 configure:3115: $? = 0 configure:3163: result: yes configure:3166: checking for C compiler default output file name configure:3168: result: a.out configure:3174: checking for suffix of executables configure:3181: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-elf2flt=-r -static conftest.c >&5 configure:3185: $? = 0 configure:3207: result: configure:3229: checking whether we are cross compiling configure:3267: result: yes configure:3272: checking for suffix of object files configure:3294: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3298: $? = 0 configure:3319: result: o configure:3323: checking whether we are using the GNU C compiler configure:3342: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3342: $? = 0 configure:3351: result: yes configure:3360: checking whether /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc accepts -g configure:3380: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3380: $? = 0 configure:3421: result: yes configure:3438: checking for /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:3501: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3501: $? = 0 configure:3514: result: none needed configure:3579: checking whether compiler is cray configure:3599: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:15:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token 15 | int fail-1; | ^ configure:3599: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | #ifndef _CRAYC | int fail-1; | #endif | | ; | return 0; | } configure:3606: result: no configure:3643: checking whether compiler supports -std=gnu11 configure:3674: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3674: $? = 0 configure:3676: result: yes configure:3760: checking whether compiler supports -Werror=unknown-warning-option configure:3791: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Werror=unknown-warning-option -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -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:3791: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:3797: result: no configure:3811: checking whether compiler supports -Wall configure:3842: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3842: $? = 0 configure:3844: result: yes configure:3862: checking whether compiler supports -Wextra configure:3893: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3893: $? = 0 configure:3895: result: yes configure:3913: checking whether compiler supports -Wshorten-64-to-32 configure:3944: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-Wshorten-64-to-32' configure:3944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:3950: result: no configure:3964: checking whether compiler supports -Wsign-compare configure:3995: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3995: $? = 0 configure:3997: result: yes configure:4015: checking whether compiler supports -Wundef configure:4046: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4046: $? = 0 configure:4048: result: yes configure:4066: checking whether compiler supports -Wno-format-zero-length configure:4097: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4097: $? = 0 configure:4099: result: yes configure:4117: checking whether compiler supports -Wpointer-arith configure:4148: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4148: $? = 0 configure:4150: result: yes configure:4168: checking whether compiler supports -Wno-missing-braces configure:4199: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4199: $? = 0 configure:4201: result: yes configure:4219: checking whether compiler supports -Wno-missing-field-initializers configure:4250: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4250: $? = 0 configure:4252: result: yes configure:4270: checking whether compiler supports -Wno-missing-attributes configure:4301: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4301: $? = 0 configure:4303: result: yes configure:4321: checking whether compiler supports -pipe configure:4352: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4352: $? = 0 configure:4354: result: yes configure:4372: checking whether compiler supports -g3 configure:4403: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4403: $? = 0 configure:4405: result: yes configure:4853: checking how to run the C preprocessor configure:4923: result: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp configure:4943: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4943: $? = 0 configure:4957: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4957: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | #include configure:5181: checking for C++ compiler version configure:5190: no --version >&5 ./configure: line 5192: no: command not found configure:5201: $? = 127 configure:5190: no -v >&5 ./configure: line 5192: no: command not found configure:5201: $? = 127 configure:5190: no -V >&5 ./configure: line 5192: no: command not found configure:5201: $? = 127 configure:5190: no -qversion >&5 ./configure: line 5192: no: command not found configure:5201: $? = 127 configure:5205: checking whether we are using the GNU C++ compiler configure:5224: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:5224: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:5233: result: no configure:5242: checking whether no accepts -g configure:5262: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:5262: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5277: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:5277: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5293: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:5293: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5303: result: no configure:5341: checking whether no supports C++17 features with -std=c++17 configure:6137: no -std=c++17 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6137: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | | | // If the compiler admits that it is not ready for C++17, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201703L | | #error "This is not a C++17 compiler" | | #else | | #include | #include | #include | | namespace cxx17 | { | | namespace test_constexpr_lambdas | { | | constexpr int foo = [](){return 42;}(); | | } | | namespace test::nested_namespace::definitions | { | | } | | namespace test_fold_expression | { | | template | int multiply(Args... args) | { | return (args * ... * 1); | } | | template | bool all(Args... args) | { | return (args && ...); | } | | } | | namespace test_extended_static_assert | { | | static_assert (true); | | } | | namespace test_auto_brace_init_list | { | | auto foo = {5}; | auto bar {5}; | | static_assert(std::is_same, decltype(foo)>::value); | static_assert(std::is_same::value); | } | | namespace test_typename_in_template_template_parameter | { | | template typename X> struct D; | | } | | namespace test_fallthrough_nodiscard_maybe_unused_attributes | { | | int f1() | { | return 42; | } | | [[nodiscard]] int f2() | { | [[maybe_unused]] auto unused = f1(); | | switch (f1()) | { | case 17: | f1(); | [[fallthrough]]; | case 42: | f1(); | } | return f1(); | } | | } | | namespace test_extended_aggregate_initialization | { | | struct base1 | { | int b1, b2 = 42; | }; | | struct base2 | { | base2() { | b3 = 42; | } | int b3; | }; | | struct derived : base1, base2 | { | int d; | }; | | derived d1 {{1, 2}, {}, 4}; // full initialization | derived d2 {{}, {}, 4}; // value-initialized bases | | } | | namespace test_general_range_based_for_loop | { | | struct iter | { | int i; | | int& operator* () | { | return i; | } | | const int& operator* () const | { | return i; | } | | iter& operator++() | { | ++i; | return *this; | } | }; | | struct sentinel | { | int i; | }; | | bool operator== (const iter& i, const sentinel& s) | { | return i.i == s.i; | } | | bool operator!= (const iter& i, const sentinel& s) | { | return !(i == s); | } | | struct range | { | iter begin() const | { | return {0}; | } | | sentinel end() const | { | return {5}; | } | }; | | void f() | { | range r {}; | | for (auto i : r) | { | [[maybe_unused]] auto v = i; | } | } | | } | | namespace test_lambda_capture_asterisk_this_by_value | { | | struct t | { | int i; | int foo() | { | return [*this]() | { | return i; | }(); | } | }; | | } | | namespace test_enum_class_construction | { | | enum class byte : unsigned char | {}; | | byte foo {42}; | | } | | namespace test_constexpr_if | { | | template | int f () | { | if constexpr(cond) | { | return 13; | } | else | { | return 42; | } | } | | } | | namespace test_selection_statement_with_initializer | { | | int f() | { | return 13; | } | | int f2() | { | if (auto i = f(); i > 0) | { | return 3; | } | | switch (auto i = f(); i + 4) | { | case 17: | return 2; | | default: | return 1; | } | } | | } | | namespace test_template_argument_deduction_for_class_templates | { | | template | struct pair | { | pair (T1 p1, T2 p2) | : m1 {p1}, | m2 {p2} | {} | | T1 m1; | T2 m2; | }; | | void f() | { | [[maybe_unused]] auto p = pair{13, 42u}; | } | | } | | namespace test_non_type_auto_template_parameters | { | | template | struct B | {}; | | B<5> b1; | B<'a'> b2; | | } | | namespace test_structured_bindings | { | | int arr[2] = { 1, 2 }; | std::pair pr = { 1, 2 }; | | auto f1() -> int(&)[2] | { | return arr; | } | | auto f2() -> std::pair& | { | return pr; | } | | struct S | { | int x1 : 2; | volatile double y1; | }; | | S f3() | { | return {}; | } | | auto [ x1, y1 ] = f1(); | auto& [ xr1, yr1 ] = f1(); | auto [ x2, y2 ] = f2(); | auto& [ xr2, yr2 ] = f2(); | const auto [ x3, y3 ] = f3(); | | } | | namespace test_exception_spec_type_system | { | | struct Good {}; | struct Bad {}; | | void g1() noexcept; | void g2(); | | template | Bad | f(T*, T*); | | template | Good | f(T1*, T2*); | | static_assert (std::is_same_v); | | } | | namespace test_inline_variables | { | | template void f(T) | {} | | template inline T g(T) | { | return T{}; | } | | template<> inline void f<>(int) | {} | | template<> int g<>(int) | { | return 5; | } | | } | | } // namespace cxx17 | | #endif // __cplusplus < 201703L | | | configure:6146: result: no configure:5341: checking whether no supports C++17 features with +std=c++17 configure:6137: no +std=c++17 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6137: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | | | // If the compiler admits that it is not ready for C++17, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201703L | | #error "This is not a C++17 compiler" | | #else | | #include | #include | #include | | namespace cxx17 | { | | namespace test_constexpr_lambdas | { | | constexpr int foo = [](){return 42;}(); | | } | | namespace test::nested_namespace::definitions | { | | } | | namespace test_fold_expression | { | | template | int multiply(Args... args) | { | return (args * ... * 1); | } | | template | bool all(Args... args) | { | return (args && ...); | } | | } | | namespace test_extended_static_assert | { | | static_assert (true); | | } | | namespace test_auto_brace_init_list | { | | auto foo = {5}; | auto bar {5}; | | static_assert(std::is_same, decltype(foo)>::value); | static_assert(std::is_same::value); | } | | namespace test_typename_in_template_template_parameter | { | | template typename X> struct D; | | } | | namespace test_fallthrough_nodiscard_maybe_unused_attributes | { | | int f1() | { | return 42; | } | | [[nodiscard]] int f2() | { | [[maybe_unused]] auto unused = f1(); | | switch (f1()) | { | case 17: | f1(); | [[fallthrough]]; | case 42: | f1(); | } | return f1(); | } | | } | | namespace test_extended_aggregate_initialization | { | | struct base1 | { | int b1, b2 = 42; | }; | | struct base2 | { | base2() { | b3 = 42; | } | int b3; | }; | | struct derived : base1, base2 | { | int d; | }; | | derived d1 {{1, 2}, {}, 4}; // full initialization | derived d2 {{}, {}, 4}; // value-initialized bases | | } | | namespace test_general_range_based_for_loop | { | | struct iter | { | int i; | | int& operator* () | { | return i; | } | | const int& operator* () const | { | return i; | } | | iter& operator++() | { | ++i; | return *this; | } | }; | | struct sentinel | { | int i; | }; | | bool operator== (const iter& i, const sentinel& s) | { | return i.i == s.i; | } | | bool operator!= (const iter& i, const sentinel& s) | { | return !(i == s); | } | | struct range | { | iter begin() const | { | return {0}; | } | | sentinel end() const | { | return {5}; | } | }; | | void f() | { | range r {}; | | for (auto i : r) | { | [[maybe_unused]] auto v = i; | } | } | | } | | namespace test_lambda_capture_asterisk_this_by_value | { | | struct t | { | int i; | int foo() | { | return [*this]() | { | return i; | }(); | } | }; | | } | | namespace test_enum_class_construction | { | | enum class byte : unsigned char | {}; | | byte foo {42}; | | } | | namespace test_constexpr_if | { | | template | int f () | { | if constexpr(cond) | { | return 13; | } | else | { | return 42; | } | } | | } | | namespace test_selection_statement_with_initializer | { | | int f() | { | return 13; | } | | int f2() | { | if (auto i = f(); i > 0) | { | return 3; | } | | switch (auto i = f(); i + 4) | { | case 17: | return 2; | | default: | return 1; | } | } | | } | | namespace test_template_argument_deduction_for_class_templates | { | | template | struct pair | { | pair (T1 p1, T2 p2) | : m1 {p1}, | m2 {p2} | {} | | T1 m1; | T2 m2; | }; | | void f() | { | [[maybe_unused]] auto p = pair{13, 42u}; | } | | } | | namespace test_non_type_auto_template_parameters | { | | template | struct B | {}; | | B<5> b1; | B<'a'> b2; | | } | | namespace test_structured_bindings | { | | int arr[2] = { 1, 2 }; | std::pair pr = { 1, 2 }; | | auto f1() -> int(&)[2] | { | return arr; | } | | auto f2() -> std::pair& | { | return pr; | } | | struct S | { | int x1 : 2; | volatile double y1; | }; | | S f3() | { | return {}; | } | | auto [ x1, y1 ] = f1(); | auto& [ xr1, yr1 ] = f1(); | auto [ x2, y2 ] = f2(); | auto& [ xr2, yr2 ] = f2(); | const auto [ x3, y3 ] = f3(); | | } | | namespace test_exception_spec_type_system | { | | struct Good {}; | struct Bad {}; | | void g1() noexcept; | void g2(); | | template | Bad | f(T*, T*); | | template | Good | f(T1*, T2*); | | static_assert (std::is_same_v); | | } | | namespace test_inline_variables | { | | template void f(T) | {} | | template inline T g(T) | { | return T{}; | } | | template<> inline void f<>(int) | {} | | template<> int g<>(int) | { | return 5; | } | | } | | } // namespace cxx17 | | #endif // __cplusplus < 201703L | | | configure:6146: result: no configure:5341: checking whether no supports C++17 features with -h std=c++17 configure:6137: no -h std=c++17 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6137: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | | | // If the compiler admits that it is not ready for C++17, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201703L | | #error "This is not a C++17 compiler" | | #else | | #include | #include | #include | | namespace cxx17 | { | | namespace test_constexpr_lambdas | { | | constexpr int foo = [](){return 42;}(); | | } | | namespace test::nested_namespace::definitions | { | | } | | namespace test_fold_expression | { | | template | int multiply(Args... args) | { | return (args * ... * 1); | } | | template | bool all(Args... args) | { | return (args && ...); | } | | } | | namespace test_extended_static_assert | { | | static_assert (true); | | } | | namespace test_auto_brace_init_list | { | | auto foo = {5}; | auto bar {5}; | | static_assert(std::is_same, decltype(foo)>::value); | static_assert(std::is_same::value); | } | | namespace test_typename_in_template_template_parameter | { | | template typename X> struct D; | | } | | namespace test_fallthrough_nodiscard_maybe_unused_attributes | { | | int f1() | { | return 42; | } | | [[nodiscard]] int f2() | { | [[maybe_unused]] auto unused = f1(); | | switch (f1()) | { | case 17: | f1(); | [[fallthrough]]; | case 42: | f1(); | } | return f1(); | } | | } | | namespace test_extended_aggregate_initialization | { | | struct base1 | { | int b1, b2 = 42; | }; | | struct base2 | { | base2() { | b3 = 42; | } | int b3; | }; | | struct derived : base1, base2 | { | int d; | }; | | derived d1 {{1, 2}, {}, 4}; // full initialization | derived d2 {{}, {}, 4}; // value-initialized bases | | } | | namespace test_general_range_based_for_loop | { | | struct iter | { | int i; | | int& operator* () | { | return i; | } | | const int& operator* () const | { | return i; | } | | iter& operator++() | { | ++i; | return *this; | } | }; | | struct sentinel | { | int i; | }; | | bool operator== (const iter& i, const sentinel& s) | { | return i.i == s.i; | } | | bool operator!= (const iter& i, const sentinel& s) | { | return !(i == s); | } | | struct range | { | iter begin() const | { | return {0}; | } | | sentinel end() const | { | return {5}; | } | }; | | void f() | { | range r {}; | | for (auto i : r) | { | [[maybe_unused]] auto v = i; | } | } | | } | | namespace test_lambda_capture_asterisk_this_by_value | { | | struct t | { | int i; | int foo() | { | return [*this]() | { | return i; | }(); | } | }; | | } | | namespace test_enum_class_construction | { | | enum class byte : unsigned char | {}; | | byte foo {42}; | | } | | namespace test_constexpr_if | { | | template | int f () | { | if constexpr(cond) | { | return 13; | } | else | { | return 42; | } | } | | } | | namespace test_selection_statement_with_initializer | { | | int f() | { | return 13; | } | | int f2() | { | if (auto i = f(); i > 0) | { | return 3; | } | | switch (auto i = f(); i + 4) | { | case 17: | return 2; | | default: | return 1; | } | } | | } | | namespace test_template_argument_deduction_for_class_templates | { | | template | struct pair | { | pair (T1 p1, T2 p2) | : m1 {p1}, | m2 {p2} | {} | | T1 m1; | T2 m2; | }; | | void f() | { | [[maybe_unused]] auto p = pair{13, 42u}; | } | | } | | namespace test_non_type_auto_template_parameters | { | | template | struct B | {}; | | B<5> b1; | B<'a'> b2; | | } | | namespace test_structured_bindings | { | | int arr[2] = { 1, 2 }; | std::pair pr = { 1, 2 }; | | auto f1() -> int(&)[2] | { | return arr; | } | | auto f2() -> std::pair& | { | return pr; | } | | struct S | { | int x1 : 2; | volatile double y1; | }; | | S f3() | { | return {}; | } | | auto [ x1, y1 ] = f1(); | auto& [ xr1, yr1 ] = f1(); | auto [ x2, y2 ] = f2(); | auto& [ xr2, yr2 ] = f2(); | const auto [ x3, y3 ] = f3(); | | } | | namespace test_exception_spec_type_system | { | | struct Good {}; | struct Bad {}; | | void g1() noexcept; | void g2(); | | template | Bad | f(T*, T*); | | template | Good | f(T1*, T2*); | | static_assert (std::is_same_v); | | } | | namespace test_inline_variables | { | | template void f(T) | {} | | template inline T g(T) | { | return T{}; | } | | template<> inline void f<>(int) | {} | | template<> int g<>(int) | { | return 5; | } | | } | | } // namespace cxx17 | | #endif // __cplusplus < 201703L | | | configure:6146: result: no configure:5341: checking whether no supports C++17 features with -std=c++1z configure:6137: no -std=c++1z -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6137: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | | | // If the compiler admits that it is not ready for C++17, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201703L | | #error "This is not a C++17 compiler" | | #else | | #include | #include | #include | | namespace cxx17 | { | | namespace test_constexpr_lambdas | { | | constexpr int foo = [](){return 42;}(); | | } | | namespace test::nested_namespace::definitions | { | | } | | namespace test_fold_expression | { | | template | int multiply(Args... args) | { | return (args * ... * 1); | } | | template | bool all(Args... args) | { | return (args && ...); | } | | } | | namespace test_extended_static_assert | { | | static_assert (true); | | } | | namespace test_auto_brace_init_list | { | | auto foo = {5}; | auto bar {5}; | | static_assert(std::is_same, decltype(foo)>::value); | static_assert(std::is_same::value); | } | | namespace test_typename_in_template_template_parameter | { | | template typename X> struct D; | | } | | namespace test_fallthrough_nodiscard_maybe_unused_attributes | { | | int f1() | { | return 42; | } | | [[nodiscard]] int f2() | { | [[maybe_unused]] auto unused = f1(); | | switch (f1()) | { | case 17: | f1(); | [[fallthrough]]; | case 42: | f1(); | } | return f1(); | } | | } | | namespace test_extended_aggregate_initialization | { | | struct base1 | { | int b1, b2 = 42; | }; | | struct base2 | { | base2() { | b3 = 42; | } | int b3; | }; | | struct derived : base1, base2 | { | int d; | }; | | derived d1 {{1, 2}, {}, 4}; // full initialization | derived d2 {{}, {}, 4}; // value-initialized bases | | } | | namespace test_general_range_based_for_loop | { | | struct iter | { | int i; | | int& operator* () | { | return i; | } | | const int& operator* () const | { | return i; | } | | iter& operator++() | { | ++i; | return *this; | } | }; | | struct sentinel | { | int i; | }; | | bool operator== (const iter& i, const sentinel& s) | { | return i.i == s.i; | } | | bool operator!= (const iter& i, const sentinel& s) | { | return !(i == s); | } | | struct range | { | iter begin() const | { | return {0}; | } | | sentinel end() const | { | return {5}; | } | }; | | void f() | { | range r {}; | | for (auto i : r) | { | [[maybe_unused]] auto v = i; | } | } | | } | | namespace test_lambda_capture_asterisk_this_by_value | { | | struct t | { | int i; | int foo() | { | return [*this]() | { | return i; | }(); | } | }; | | } | | namespace test_enum_class_construction | { | | enum class byte : unsigned char | {}; | | byte foo {42}; | | } | | namespace test_constexpr_if | { | | template | int f () | { | if constexpr(cond) | { | return 13; | } | else | { | return 42; | } | } | | } | | namespace test_selection_statement_with_initializer | { | | int f() | { | return 13; | } | | int f2() | { | if (auto i = f(); i > 0) | { | return 3; | } | | switch (auto i = f(); i + 4) | { | case 17: | return 2; | | default: | return 1; | } | } | | } | | namespace test_template_argument_deduction_for_class_templates | { | | template | struct pair | { | pair (T1 p1, T2 p2) | : m1 {p1}, | m2 {p2} | {} | | T1 m1; | T2 m2; | }; | | void f() | { | [[maybe_unused]] auto p = pair{13, 42u}; | } | | } | | namespace test_non_type_auto_template_parameters | { | | template | struct B | {}; | | B<5> b1; | B<'a'> b2; | | } | | namespace test_structured_bindings | { | | int arr[2] = { 1, 2 }; | std::pair pr = { 1, 2 }; | | auto f1() -> int(&)[2] | { | return arr; | } | | auto f2() -> std::pair& | { | return pr; | } | | struct S | { | int x1 : 2; | volatile double y1; | }; | | S f3() | { | return {}; | } | | auto [ x1, y1 ] = f1(); | auto& [ xr1, yr1 ] = f1(); | auto [ x2, y2 ] = f2(); | auto& [ xr2, yr2 ] = f2(); | const auto [ x3, y3 ] = f3(); | | } | | namespace test_exception_spec_type_system | { | | struct Good {}; | struct Bad {}; | | void g1() noexcept; | void g2(); | | template | Bad | f(T*, T*); | | template | Good | f(T1*, T2*); | | static_assert (std::is_same_v); | | } | | namespace test_inline_variables | { | | template void f(T) | {} | | template inline T g(T) | { | return T{}; | } | | template<> inline void f<>(int) | {} | | template<> int g<>(int) | { | return 5; | } | | } | | } // namespace cxx17 | | #endif // __cplusplus < 201703L | | | configure:6146: result: no configure:5341: checking whether no supports C++17 features with +std=c++1z configure:6137: no +std=c++1z -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6137: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | | | // If the compiler admits that it is not ready for C++17, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201703L | | #error "This is not a C++17 compiler" | | #else | | #include | #include | #include | | namespace cxx17 | { | | namespace test_constexpr_lambdas | { | | constexpr int foo = [](){return 42;}(); | | } | | namespace test::nested_namespace::definitions | { | | } | | namespace test_fold_expression | { | | template | int multiply(Args... args) | { | return (args * ... * 1); | } | | template | bool all(Args... args) | { | return (args && ...); | } | | } | | namespace test_extended_static_assert | { | | static_assert (true); | | } | | namespace test_auto_brace_init_list | { | | auto foo = {5}; | auto bar {5}; | | static_assert(std::is_same, decltype(foo)>::value); | static_assert(std::is_same::value); | } | | namespace test_typename_in_template_template_parameter | { | | template typename X> struct D; | | } | | namespace test_fallthrough_nodiscard_maybe_unused_attributes | { | | int f1() | { | return 42; | } | | [[nodiscard]] int f2() | { | [[maybe_unused]] auto unused = f1(); | | switch (f1()) | { | case 17: | f1(); | [[fallthrough]]; | case 42: | f1(); | } | return f1(); | } | | } | | namespace test_extended_aggregate_initialization | { | | struct base1 | { | int b1, b2 = 42; | }; | | struct base2 | { | base2() { | b3 = 42; | } | int b3; | }; | | struct derived : base1, base2 | { | int d; | }; | | derived d1 {{1, 2}, {}, 4}; // full initialization | derived d2 {{}, {}, 4}; // value-initialized bases | | } | | namespace test_general_range_based_for_loop | { | | struct iter | { | int i; | | int& operator* () | { | return i; | } | | const int& operator* () const | { | return i; | } | | iter& operator++() | { | ++i; | return *this; | } | }; | | struct sentinel | { | int i; | }; | | bool operator== (const iter& i, const sentinel& s) | { | return i.i == s.i; | } | | bool operator!= (const iter& i, const sentinel& s) | { | return !(i == s); | } | | struct range | { | iter begin() const | { | return {0}; | } | | sentinel end() const | { | return {5}; | } | }; | | void f() | { | range r {}; | | for (auto i : r) | { | [[maybe_unused]] auto v = i; | } | } | | } | | namespace test_lambda_capture_asterisk_this_by_value | { | | struct t | { | int i; | int foo() | { | return [*this]() | { | return i; | }(); | } | }; | | } | | namespace test_enum_class_construction | { | | enum class byte : unsigned char | {}; | | byte foo {42}; | | } | | namespace test_constexpr_if | { | | template | int f () | { | if constexpr(cond) | { | return 13; | } | else | { | return 42; | } | } | | } | | namespace test_selection_statement_with_initializer | { | | int f() | { | return 13; | } | | int f2() | { | if (auto i = f(); i > 0) | { | return 3; | } | | switch (auto i = f(); i + 4) | { | case 17: | return 2; | | default: | return 1; | } | } | | } | | namespace test_template_argument_deduction_for_class_templates | { | | template | struct pair | { | pair (T1 p1, T2 p2) | : m1 {p1}, | m2 {p2} | {} | | T1 m1; | T2 m2; | }; | | void f() | { | [[maybe_unused]] auto p = pair{13, 42u}; | } | | } | | namespace test_non_type_auto_template_parameters | { | | template | struct B | {}; | | B<5> b1; | B<'a'> b2; | | } | | namespace test_structured_bindings | { | | int arr[2] = { 1, 2 }; | std::pair pr = { 1, 2 }; | | auto f1() -> int(&)[2] | { | return arr; | } | | auto f2() -> std::pair& | { | return pr; | } | | struct S | { | int x1 : 2; | volatile double y1; | }; | | S f3() | { | return {}; | } | | auto [ x1, y1 ] = f1(); | auto& [ xr1, yr1 ] = f1(); | auto [ x2, y2 ] = f2(); | auto& [ xr2, yr2 ] = f2(); | const auto [ x3, y3 ] = f3(); | | } | | namespace test_exception_spec_type_system | { | | struct Good {}; | struct Bad {}; | | void g1() noexcept; | void g2(); | | template | Bad | f(T*, T*); | | template | Good | f(T1*, T2*); | | static_assert (std::is_same_v); | | } | | namespace test_inline_variables | { | | template void f(T) | {} | | template inline T g(T) | { | return T{}; | } | | template<> inline void f<>(int) | {} | | template<> int g<>(int) | { | return 5; | } | | } | | } // namespace cxx17 | | #endif // __cplusplus < 201703L | | | configure:6146: result: no configure:5341: checking whether no supports C++17 features with -h std=c++1z configure:6137: no -h std=c++1z -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6137: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | | | // If the compiler admits that it is not ready for C++17, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201703L | | #error "This is not a C++17 compiler" | | #else | | #include | #include | #include | | namespace cxx17 | { | | namespace test_constexpr_lambdas | { | | constexpr int foo = [](){return 42;}(); | | } | | namespace test::nested_namespace::definitions | { | | } | | namespace test_fold_expression | { | | template | int multiply(Args... args) | { | return (args * ... * 1); | } | | template | bool all(Args... args) | { | return (args && ...); | } | | } | | namespace test_extended_static_assert | { | | static_assert (true); | | } | | namespace test_auto_brace_init_list | { | | auto foo = {5}; | auto bar {5}; | | static_assert(std::is_same, decltype(foo)>::value); | static_assert(std::is_same::value); | } | | namespace test_typename_in_template_template_parameter | { | | template typename X> struct D; | | } | | namespace test_fallthrough_nodiscard_maybe_unused_attributes | { | | int f1() | { | return 42; | } | | [[nodiscard]] int f2() | { | [[maybe_unused]] auto unused = f1(); | | switch (f1()) | { | case 17: | f1(); | [[fallthrough]]; | case 42: | f1(); | } | return f1(); | } | | } | | namespace test_extended_aggregate_initialization | { | | struct base1 | { | int b1, b2 = 42; | }; | | struct base2 | { | base2() { | b3 = 42; | } | int b3; | }; | | struct derived : base1, base2 | { | int d; | }; | | derived d1 {{1, 2}, {}, 4}; // full initialization | derived d2 {{}, {}, 4}; // value-initialized bases | | } | | namespace test_general_range_based_for_loop | { | | struct iter | { | int i; | | int& operator* () | { | return i; | } | | const int& operator* () const | { | return i; | } | | iter& operator++() | { | ++i; | return *this; | } | }; | | struct sentinel | { | int i; | }; | | bool operator== (const iter& i, const sentinel& s) | { | return i.i == s.i; | } | | bool operator!= (const iter& i, const sentinel& s) | { | return !(i == s); | } | | struct range | { | iter begin() const | { | return {0}; | } | | sentinel end() const | { | return {5}; | } | }; | | void f() | { | range r {}; | | for (auto i : r) | { | [[maybe_unused]] auto v = i; | } | } | | } | | namespace test_lambda_capture_asterisk_this_by_value | { | | struct t | { | int i; | int foo() | { | return [*this]() | { | return i; | }(); | } | }; | | } | | namespace test_enum_class_construction | { | | enum class byte : unsigned char | {}; | | byte foo {42}; | | } | | namespace test_constexpr_if | { | | template | int f () | { | if constexpr(cond) | { | return 13; | } | else | { | return 42; | } | } | | } | | namespace test_selection_statement_with_initializer | { | | int f() | { | return 13; | } | | int f2() | { | if (auto i = f(); i > 0) | { | return 3; | } | | switch (auto i = f(); i + 4) | { | case 17: | return 2; | | default: | return 1; | } | } | | } | | namespace test_template_argument_deduction_for_class_templates | { | | template | struct pair | { | pair (T1 p1, T2 p2) | : m1 {p1}, | m2 {p2} | {} | | T1 m1; | T2 m2; | }; | | void f() | { | [[maybe_unused]] auto p = pair{13, 42u}; | } | | } | | namespace test_non_type_auto_template_parameters | { | | template | struct B | {}; | | B<5> b1; | B<'a'> b2; | | } | | namespace test_structured_bindings | { | | int arr[2] = { 1, 2 }; | std::pair pr = { 1, 2 }; | | auto f1() -> int(&)[2] | { | return arr; | } | | auto f2() -> std::pair& | { | return pr; | } | | struct S | { | int x1 : 2; | volatile double y1; | }; | | S f3() | { | return {}; | } | | auto [ x1, y1 ] = f1(); | auto& [ xr1, yr1 ] = f1(); | auto [ x2, y2 ] = f2(); | auto& [ xr2, yr2 ] = f2(); | const auto [ x3, y3 ] = f3(); | | } | | namespace test_exception_spec_type_system | { | | struct Good {}; | struct Bad {}; | | void g1() noexcept; | void g2(); | | template | Bad | f(T*, T*); | | template | Good | f(T1*, T2*); | | static_assert (std::is_same_v); | | } | | namespace test_inline_variables | { | | template void f(T) | {} | | template inline T g(T) | { | return T{}; | } | | template<> inline void f<>(int) | {} | | template<> int g<>(int) | { | return 5; | } | | } | | } // namespace cxx17 | | #endif // __cplusplus < 201703L | | | configure:6146: result: no configure:6175: No compiler with C++17 support was found configure:6200: checking whether no supports C++14 features with -std=c++14 configure:6618: no -std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6618: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | configure:6627: result: no configure:6200: checking whether no supports C++14 features with +std=c++14 configure:6618: no +std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6618: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | configure:6627: result: no configure:6200: checking whether no supports C++14 features with -h std=c++14 configure:6618: no -h std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6618: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | configure:6627: result: no configure:6200: checking whether no supports C++14 features with -std=c++1y configure:6618: no -std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6618: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | configure:6627: result: no configure:6200: checking whether no supports C++14 features with +std=c++1y configure:6618: no +std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6618: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | configure:6627: result: no configure:6200: checking whether no supports C++14 features with -h std=c++1y configure:6618: no -h std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1694: no: command not found configure:6618: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | configure:6627: result: no configure:6656: No compiler with C++14 support was found configure:6919: checking for grep that handles long lines and -e configure:6977: result: /usr/bin/grep configure:6982: checking for egrep configure:7044: result: /usr/bin/grep -E configure:7049: checking for ANSI C header files configure:7069: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7069: $? = 0 configure:7153: result: yes configure:7166: checking for sys/types.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7166: checking for sys/stat.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7166: checking for stdlib.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7166: checking for string.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7166: checking for memory.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7166: checking for strings.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7166: checking for inttypes.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7166: checking for stdint.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7166: checking for unistd.h configure:7166: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7166: $? = 0 configure:7166: result: yes configure:7178: checking whether byte ordering is bigendian configure:7384: result: no configure:7429: checking size of void * configure:7434: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7434: $? = 0 configure:7434: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:12: error: size of array 'test_array' is negative 56 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 0)]; | ^~~~~~~~~~ configure:7434: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_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 | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7434: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:12: error: size of array 'test_array' is negative 56 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 1)]; | ^~~~~~~~~~ configure:7434: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_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 | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7434: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:12: error: size of array 'test_array' is negative 56 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 3)]; | ^~~~~~~~~~ configure:7434: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_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 | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7434: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7434: $? = 0 configure:7434: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7434: $? = 0 configure:7434: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7434: $? = 0 configure:7448: result: 4 configure:7476: checking size of int configure:7481: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7481: $? = 0 configure:7481: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:58:12: error: size of array 'test_array' is negative 58 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)]; | ^~~~~~~~~~ configure:7481: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | /* 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 (int))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7481: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:58:12: error: size of array 'test_array' is negative 58 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)]; | ^~~~~~~~~~ configure:7481: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | /* 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 (int))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7481: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:58:12: error: size of array 'test_array' is negative 58 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)]; | ^~~~~~~~~~ configure:7481: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | /* 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 (int))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7481: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7481: $? = 0 configure:7481: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7481: $? = 0 configure:7481: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7481: $? = 0 configure:7495: result: 4 configure:7522: checking size of long configure:7527: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7527: $? = 0 configure:7527: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:60:12: error: size of array 'test_array' is negative 60 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)]; | ^~~~~~~~~~ configure:7527: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | /* 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 (long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7527: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:60:12: error: size of array 'test_array' is negative 60 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)]; | ^~~~~~~~~~ configure:7527: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | /* 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 (long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7527: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:60:12: error: size of array 'test_array' is negative 60 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)]; | ^~~~~~~~~~ configure:7527: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | /* 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 (long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7527: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7527: $? = 0 configure:7527: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7527: $? = 0 configure:7527: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7527: $? = 0 configure:7541: result: 4 configure:7568: checking size of long long configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7573: $? = 0 configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:62:12: error: size of array 'test_array' is negative 62 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | ^~~~~~~~~~ configure:7573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | /* 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 (long long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:62:12: error: size of array 'test_array' is negative 62 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | ^~~~~~~~~~ configure:7573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | /* 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 (long long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:62:12: error: size of array 'test_array' is negative 62 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | ^~~~~~~~~~ configure:7573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | /* 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 (long long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:62:12: error: size of array 'test_array' is negative 62 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | ^~~~~~~~~~ configure:7573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | /* 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 (long long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7573: $? = 0 configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7573: $? = 0 configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7573: $? = 0 configure:7573: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7573: $? = 0 configure:7587: result: 8 configure:7614: checking size of intmax_t configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7619: $? = 0 configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:12: error: size of array 'test_array' is negative 64 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 0)]; | ^~~~~~~~~~ configure:7619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | /* 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 (intmax_t))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:12: error: size of array 'test_array' is negative 64 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 1)]; | ^~~~~~~~~~ configure:7619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | /* 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 (intmax_t))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:12: error: size of array 'test_array' is negative 64 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 3)]; | ^~~~~~~~~~ configure:7619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | /* 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 (intmax_t))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:12: error: size of array 'test_array' is negative 64 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 7)]; | ^~~~~~~~~~ configure:7619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | /* 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 (intmax_t))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7619: $? = 0 configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7619: $? = 0 configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7619: $? = 0 configure:7619: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7619: $? = 0 configure:7633: result: 8 configure:7662: checking build system type configure:7676: result: x86_64-pc-linux-gnu configure:7696: checking host system type configure:7709: result: riscv32-buildroot-linux-uclibc configure:7969: checking number of significant virtual address bits configure:7980: result: 32 configure:8025: checking for riscv32-buildroot-linux-uclibc-ar configure:8052: result: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-ar configure:8121: checking for riscv32-buildroot-linux-uclibc-nm configure:8148: result: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-nm configure:8215: checking for gawk configure:8231: found /usr/bin/gawk configure:8242: result: gawk configure:8550: checking malloc.h usability configure:8550: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:8550: $? = 0 configure:8550: result: yes configure:8550: checking malloc.h presence configure:8550: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c configure:8550: $? = 0 configure:8550: result: yes configure:8550: checking for malloc.h configure:8550: result: yes configure:8556: checking whether malloc_usable_size definition can use const argument configure:8572: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:8572: $? = 0 configure:8574: result: yes configure:8618: checking for library containing log configure:8649: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 conftest.c:47:6: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 47 | char log (); | ^~~ conftest.c:1:1: note: 'log' is declared in header '' 1 | /* confdefs.h */ configure:8649: $? = 0 configure:8666: result: none required configure:8684: checking whether __attribute__ syntax is compilable configure:8700: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:8700: $? = 0 configure:8708: result: yes configure:8717: checking whether compiler supports -fvisibility=hidden configure:8748: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:8748: $? = 0 configure:8750: result: yes configure:8768: checking whether compiler supports -fvisibility=hidden configure:8805: no -c -fvisibility=hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.cpp >&5 ./configure: line 1694: no: command not found configure:8805: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:8811: result: no configure:8835: checking whether compiler supports -Werror configure:8866: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:8866: $? = 0 configure:8868: result: yes configure:8886: checking whether compiler supports -herror_on_warning configure:8917: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-h' configure:8917: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:8923: result: no configure:8937: checking whether tls_model attribute is compilable configure:8955: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:8955: $? = 0 configure:8963: result: yes configure:8978: checking whether compiler supports -Werror configure:9009: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9009: $? = 0 configure:9011: result: yes configure:9029: checking whether compiler supports -herror_on_warning configure:9060: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-h' configure:9060: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:9066: result: no configure:9080: checking whether alloc_size attribute is compilable configure:9096: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:9096: $? = 0 configure:9104: result: yes configure:9123: checking whether compiler supports -Werror configure:9154: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9154: $? = 0 configure:9156: result: yes configure:9174: checking whether compiler supports -herror_on_warning configure:9205: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-h' configure:9205: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:9211: result: no configure:9225: checking whether format(gnu_printf, ...) attribute is compilable configure:9241: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:9241: $? = 0 configure:9249: result: yes configure:9268: checking whether compiler supports -Werror configure:9299: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9299: $? = 0 configure:9301: result: yes configure:9319: checking whether compiler supports -herror_on_warning configure:9350: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-h' configure:9350: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:9356: result: no configure:9370: checking whether format(printf, ...) attribute is compilable configure:9386: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:9386: $? = 0 configure:9394: result: yes configure:9414: checking whether compiler supports -Werror configure:9445: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9445: $? = 0 configure:9447: result: yes configure:9465: checking whether compiler supports -herror_on_warning configure:9496: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-h' configure:9496: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:9502: result: no configure:9516: checking whether format(printf, ...) attribute is compilable configure:9532: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:9532: $? = 0 configure:9540: result: yes configure:9560: checking whether compiler supports -Wimplicit-fallthrough configure:9591: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9591: $? = 0 configure:9593: result: yes configure:9611: checking whether fallthrough attribute is compilable configure:9633: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:9633: $? = 0 configure:9641: result: yes configure:9657: checking whether compiler supports -Wimplicit-fallthrough configure:9688: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9688: $? = 0 configure:9690: result: yes configure:9708: checking whether compiler supports -Wimplicit-fallthrough configure:9745: no -c -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.cpp >&5 ./configure: line 1694: no: command not found configure:9745: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:9751: result: no configure:9775: checking whether compiler supports -Werror configure:9806: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9806: $? = 0 configure:9808: result: yes configure:9826: checking whether compiler supports -herror_on_warning configure:9857: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -Werror -herror_on_warning -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-h' configure:9857: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:9863: result: no configure:9877: checking whether cold attribute is compilable configure:9893: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:9893: $? = 0 configure:9901: result: yes configure:9919: checking whether vm_make_tag is compilable configure:9938: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 conftest.c:48:25: fatal error: mach/vm_statistics.h: No such file or directory 48 | #include | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:9938: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | /* end confdefs.h. */ | #include | #include | int | main () | { | void *p; | p = mmap(0, 16, PROT_READ, MAP_ANON|MAP_PRIVATE, VM_MAKE_TAG(1), 0); | munmap(p, 16); | ; | return 0; | } configure:9946: result: no configure:9999: checking for a BSD-compatible install configure:10067: result: /usr/bin/install -c configure:10081: checking for riscv32-buildroot-linux-uclibc-ranlib configure:10108: result: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-ranlib configure:10172: checking for ld configure:10203: result: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-ld configure:10213: checking for autoconf configure:10231: found /home/autobuild/autobuild/instance-5/output-1/host/bin/autoconf configure:10244: result: /home/autobuild/autobuild/instance-5/output-1/host/bin/autoconf configure:10357: checking for memalign configure:10357: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:10357: $? = 0 configure:10357: result: yes configure:10365: checking for valloc configure:10365: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:10365: $? = 0 configure:10365: result: yes configure:10373: checking for malloc_size configure:10373: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccq2vkl6.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `malloc_size' collect2: error: ld returned 1 exit status configure:10373: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | /* end confdefs.h. */ | /* Define malloc_size to an innocuous variant, in case declares malloc_size. | For example, HP-UX 11i declares gettimeofday. */ | #define malloc_size innocuous_malloc_size | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char malloc_size (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef malloc_size | | /* 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 malloc_size (); | /* 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_malloc_size || defined __stub___malloc_size | choke me | #endif | | int | main () | { | return malloc_size (); | ; | return 0; | } configure:10373: result: no configure:10384: checking for __libc_calloc configure:10384: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccFdXvep.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `__libc_calloc' collect2: error: ld returned 1 exit status configure:10384: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | /* end confdefs.h. */ | /* Define __libc_calloc to an innocuous variant, in case declares __libc_calloc. | For example, HP-UX 11i declares gettimeofday. */ | #define __libc_calloc innocuous___libc_calloc | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __libc_calloc (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __libc_calloc | | /* 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 __libc_calloc (); | /* 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___libc_calloc || defined __stub_____libc_calloc | choke me | #endif | | int | main () | { | return __libc_calloc (); | ; | return 0; | } configure:10384: result: no configure:10392: checking for __libc_free configure:10392: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccIuoi0j.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `__libc_free' collect2: error: ld returned 1 exit status configure:10392: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | /* end confdefs.h. */ | /* Define __libc_free to an innocuous variant, in case declares __libc_free. | For example, HP-UX 11i declares gettimeofday. */ | #define __libc_free innocuous___libc_free | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __libc_free (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __libc_free | | /* 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 __libc_free (); | /* 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___libc_free || defined __stub_____libc_free | choke me | #endif | | int | main () | { | return __libc_free (); | ; | return 0; | } configure:10392: result: no configure:10400: checking for __libc_malloc configure:10400: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccxPbgG1.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `__libc_malloc' collect2: error: ld returned 1 exit status configure:10400: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | /* end confdefs.h. */ | /* Define __libc_malloc to an innocuous variant, in case declares __libc_malloc. | For example, HP-UX 11i declares gettimeofday. */ | #define __libc_malloc innocuous___libc_malloc | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __libc_malloc (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __libc_malloc | | /* 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 __libc_malloc (); | /* 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___libc_malloc || defined __stub_____libc_malloc | choke me | #endif | | int | main () | { | return __libc_malloc (); | ; | return 0; | } configure:10400: result: no configure:10408: checking for __libc_memalign configure:10408: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/cciyfvWX.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `__libc_memalign' collect2: error: ld returned 1 exit status configure:10408: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | /* end confdefs.h. */ | /* Define __libc_memalign to an innocuous variant, in case declares __libc_memalign. | For example, HP-UX 11i declares gettimeofday. */ | #define __libc_memalign innocuous___libc_memalign | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __libc_memalign (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __libc_memalign | | /* 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 __libc_memalign (); | /* 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___libc_memalign || defined __stub_____libc_memalign | choke me | #endif | | int | main () | { | return __libc_memalign (); | ; | return 0; | } configure:10408: result: no configure:10416: checking for __libc_realloc configure:10416: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/cc948YcX.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `__libc_realloc' collect2: error: ld returned 1 exit status configure:10416: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | /* end confdefs.h. */ | /* Define __libc_realloc to an innocuous variant, in case declares __libc_realloc. | For example, HP-UX 11i declares gettimeofday. */ | #define __libc_realloc innocuous___libc_realloc | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __libc_realloc (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __libc_realloc | | /* 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 __libc_realloc (); | /* 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___libc_realloc || defined __stub_____libc_realloc | choke me | #endif | | int | main () | { | return __libc_realloc (); | ; | return 0; | } configure:10416: result: no configure:10424: checking for __libc_valloc configure:10424: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccpfxpb9.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `__libc_valloc' collect2: error: ld returned 1 exit status configure:10424: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | /* end confdefs.h. */ | /* Define __libc_valloc to an innocuous variant, in case declares __libc_valloc. | For example, HP-UX 11i declares gettimeofday. */ | #define __libc_valloc innocuous___libc_valloc | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __libc_valloc (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __libc_valloc | | /* 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 __libc_valloc (); | /* 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___libc_valloc || defined __stub_____libc_valloc | choke me | #endif | | int | main () | { | return __libc_valloc (); | ; | return 0; | } configure:10424: result: no configure:10432: checking for __posix_memalign configure:10432: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccMplswe.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `__posix_memalign' collect2: error: ld returned 1 exit status configure:10432: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | /* end confdefs.h. */ | /* Define __posix_memalign to an innocuous variant, in case declares __posix_memalign. | For example, HP-UX 11i declares gettimeofday. */ | #define __posix_memalign innocuous___posix_memalign | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char __posix_memalign (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef __posix_memalign | | /* 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 __posix_memalign (); | /* 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___posix_memalign || defined __stub_____posix_memalign | choke me | #endif | | int | main () | { | return __posix_memalign (); | ; | return 0; | } configure:10432: result: no configure:10590: checking whether compiler supports -O3 configure:10621: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:10621: $? = 0 configure:10623: result: yes configure:10641: checking whether compiler supports -O3 configure:10678: no -c -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.cpp >&5 ./configure: line 1694: no: command not found configure:10678: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:10684: result: no configure:10704: checking whether compiler supports -funroll-loops configure:10735: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:10735: $? = 0 configure:10737: result: yes configure:11329: checking configured backtracing method configure:11331: result: N/A configure:11368: checking for sbrk configure:11368: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:11368: $? = 0 configure:11368: result: yes configure:11425: checking whether utrace(2) is compilable configure:11449: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 conftest.c:62:10: fatal error: sys/ktrace.h: No such file or directory 62 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:11449: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | /* end confdefs.h. */ | | #include | #include | #include | #include | #include | | int | main () | { | | utrace((void *)0, 0); | | ; | return 0; | } configure:11457: result: no configure:11462: checking whether utrace(2) with label is compilable configure:11486: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 conftest.c:62:12: fatal error: sys/ktrace.h: No such file or directory 62 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:11486: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | /* end confdefs.h. */ | | #include | #include | #include | #include | #include | | int | main () | { | | utrace((void *)0, (void *)0, 0); | | ; | return 0; | } configure:11494: result: no configure:11654: checking whether a program using __builtin_unreachable is compilable configure:11678: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:11678: $? = 0 configure:11686: result: yes configure:11700: checking whether a program using __builtin_ffsl is compilable configure:11725: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:11725: $? = 0 configure:11733: result: yes configure:11800: checking whether a program using __builtin_popcountl is compilable configure:11825: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c >&5 configure:11825: $? = 0 configure:11833: result: yes configure:11894: checking LG_PAGE configure:11955: result: 12 configure:12029: checking pthread.h usability configure:12029: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:12029: $? = 0 configure:12029: result: yes configure:12029: checking pthread.h presence configure:12029: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c configure:12029: $? = 0 configure:12029: result: yes configure:12029: checking for pthread.h configure:12029: result: yes configure:12041: checking for pthread_create in -lpthread configure:12066: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c -lpthread >&5 configure:12066: $? = 0 configure:12075: result: yes configure:12154: checking dlfcn.h usability configure:12154: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 conftest.c:102:10: fatal error: dlfcn.h: No such file or directory 102 | #include | ^~~~~~~~~ compilation terminated. configure:12154: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_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:12154: result: no configure:12154: checking dlfcn.h presence configure:12154: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c conftest.c:69:10: fatal error: dlfcn.h: No such file or directory 69 | #include | ^~~~~~~~~ compilation terminated. configure:12154: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include configure:12154: result: no configure:12154: checking for dlfcn.h configure:12154: result: no configure:12223: checking whether pthread_atfork(3) is compilable configure:12243: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:76:3: warning: implicit declaration of function 'pthread_atfork'; did you mean 'pthread_join'? [-Wimplicit-function-declaration] 76 | pthread_atfork((void *)0, (void *)0, (void *)0); | ^~~~~~~~~~~~~~ | pthread_join configure:12243: $? = 0 configure:12251: result: yes configure:12260: checking whether pthread_setname_np(3) is compilable configure:12280: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:77:3: warning: implicit declaration of function 'pthread_setname_np'; did you mean 'pthread_setcanceltype'? [-Wimplicit-function-declaration] 77 | pthread_setname_np(pthread_self(), "setname_test"); | ^~~~~~~~~~~~~~~~~~ | pthread_setcanceltype /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccgEgh5z.o: in function `.L0 ': conftest.c:(.text.startup+0x14): undefined reference to `pthread_setname_np' collect2: error: ld returned 1 exit status configure:12280: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | /* end confdefs.h. */ | | #include | | int | main () | { | | pthread_setname_np(pthread_self(), "setname_test"); | | ; | return 0; | } configure:12288: result: no configure:12297: checking whether pthread_getname_np(3) is compilable configure:12322: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:80:9: warning: implicit declaration of function 'pthread_getname_np' [-Wimplicit-function-declaration] 80 | pthread_getname_np(pthread_self(), name, 16); | ^~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccsOcrq6.o: in function `.L0 ': conftest.c:(.text.startup+0x24): undefined reference to `pthread_getname_np' collect2: error: ld returned 1 exit status configure:12322: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | { | char *name = malloc(16); | pthread_getname_np(pthread_self(), name, 16); | free(name); | } | | ; | return 0; | } configure:12330: result: no configure:12339: checking whether pthread_get_name_np(3) is compilable configure:12365: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c:72:10: fatal error: pthread_np.h: No such file or directory 72 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:12365: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | /* end confdefs.h. */ | | #include | #include | #include | | int | main () | { | | { | char *name = malloc(16); | pthread_get_name_np(pthread_self(), name, 16); | free(name); | } | | ; | return 0; | } configure:12373: result: no configure:12392: checking for library containing clock_gettime configure:12423: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12423: $? = 0 configure:12440: result: none required configure:12575: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable configure:12597: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12597: $? = 0 configure:12605: result: yes configure:12615: checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable configure:12641: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12641: $? = 0 configure:12649: result: yes configure:12659: checking whether mach_absolute_time() is compilable configure:12679: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c:73:10: fatal error: mach/mach_time.h: No such file or directory 73 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:12679: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | /* end confdefs.h. */ | | #include | | int | main () | { | | mach_absolute_time(); | | ; | return 0; | } configure:12687: result: no configure:12697: checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable configure:12719: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12719: $? = 0 configure:12727: result: yes configure:12753: checking whether compiler supports -Werror configure:12784: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:12784: $? = 0 configure:12786: result: yes configure:12804: checking whether syscall(2) is compilable configure:12825: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12825: $? = 0 configure:12833: result: yes configure:12851: checking for secure_getenv configure:12851: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12851: $? = 0 configure:12851: result: yes configure:12865: checking for sched_getcpu configure:12865: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12865: $? = 0 configure:12865: result: yes configure:12879: checking for sched_setaffinity configure:12879: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12879: $? = 0 configure:12879: result: yes configure:12893: checking for issetugid configure:12893: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:12893: $? = 0 configure:12893: result: yes configure:12907: checking for _malloc_thread_cleanup configure:12907: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccxnKKeo.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `_malloc_thread_cleanup' collect2: error: ld returned 1 exit status configure:12907: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | /* end confdefs.h. */ | /* Define _malloc_thread_cleanup to an innocuous variant, in case declares _malloc_thread_cleanup. | For example, HP-UX 11i declares gettimeofday. */ | #define _malloc_thread_cleanup innocuous__malloc_thread_cleanup | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _malloc_thread_cleanup (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _malloc_thread_cleanup | | /* 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 _malloc_thread_cleanup (); | /* 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__malloc_thread_cleanup || defined __stub____malloc_thread_cleanup | choke me | #endif | | int | main () | { | return _malloc_thread_cleanup (); | ; | return 0; | } configure:12907: result: no configure:12923: checking for _pthread_mutex_init_calloc_cb configure:12923: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccdf9fva.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `_pthread_mutex_init_calloc_cb' collect2: error: ld returned 1 exit status configure:12923: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | /* end confdefs.h. */ | /* Define _pthread_mutex_init_calloc_cb to an innocuous variant, in case declares _pthread_mutex_init_calloc_cb. | For example, HP-UX 11i declares gettimeofday. */ | #define _pthread_mutex_init_calloc_cb innocuous__pthread_mutex_init_calloc_cb | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _pthread_mutex_init_calloc_cb (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _pthread_mutex_init_calloc_cb | | /* 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 _pthread_mutex_init_calloc_cb (); | /* 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__pthread_mutex_init_calloc_cb || defined __stub____pthread_mutex_init_calloc_cb | choke me | #endif | | int | main () | { | return _pthread_mutex_init_calloc_cb (); | ; | return 0; | } configure:12923: result: no configure:12938: checking for memcntl configure:12938: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/cc40zRzI.o: in function `.L0 ': conftest.c:(.text.startup+0x8): undefined reference to `memcntl' collect2: error: ld returned 1 exit status configure:12938: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | /* end confdefs.h. */ | /* Define memcntl to an innocuous variant, in case declares memcntl. | For example, HP-UX 11i declares gettimeofday. */ | #define memcntl innocuous_memcntl | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memcntl (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memcntl | | /* 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 memcntl (); | /* 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_memcntl || defined __stub___memcntl | choke me | #endif | | int | main () | { | return memcntl (); | ; | return 0; | } configure:12938: result: no configure:12997: checking for TLS configure:13016: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:13016: $? = 0 configure:13017: result: yes configure:13039: checking whether C11 atomics is compilable configure:13068: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/cclOJwgj.o: in function `.L0 ': conftest.c:(.text.startup+0x18): undefined reference to `__atomic_fetch_add_8' collect2: error: ld returned 1 exit status configure:13068: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | /* end confdefs.h. */ | | #include | #if (__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_ATOMICS__) | #include | #else | #error Atomics not available | #endif | | int | main () | { | | uint64_t *p = (uint64_t *)0; | uint64_t x = 1; | volatile atomic_uint_least64_t *a = (volatile atomic_uint_least64_t *)p; | uint64_t r = atomic_fetch_add(a, x) + x; | return r == 0; | | ; | return 0; | } configure:13076: result: no configure:13087: checking whether GCC __atomic atomics is compilable configure:13110: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:87:9: warning: unused variable 'y' [-Wunused-variable] 87 | int y = __atomic_fetch_add(&x, val, __ATOMIC_RELAXED); | ^ configure:13110: $? = 0 configure:13118: result: yes configure:13127: checking whether GCC 8-bit __atomic atomics is compilable configure:13150: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:88:11: warning: unused variable 'y' [-Wunused-variable] 88 | int y = __atomic_fetch_add(&x, val, __ATOMIC_RELAXED); | ^ configure:13150: $? = 0 configure:13158: result: yes configure:13170: checking whether GCC __sync atomics is compilable configure:13192: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:13192: $? = 0 configure:13200: result: yes configure:13209: checking whether GCC 8-bit __sync atomics is compilable configure:13231: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:13231: $? = 0 configure:13239: result: yes configure:13251: checking whether Darwin OSAtomic*() is compilable configure:13281: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c:84:10: fatal error: libkern/OSAtomic.h: No such file or directory 84 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:13281: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | #define JEMALLOC_GCC_ATOMIC_ATOMICS | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS | #define JEMALLOC_GCC_SYNC_ATOMICS | #define JEMALLOC_GCC_U8_SYNC_ATOMICS | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | { | int32_t x32 = 0; | volatile int32_t *x32p = &x32; | OSAtomicAdd32(1, x32p); | } | { | int64_t x64 = 0; | volatile int64_t *x64p = &x64; | OSAtomicAdd64(1, x64p); | } | | ; | return 0; | } configure:13289: result: no configure:13300: checking whether madvise(2) is compilable configure:13320: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:90:9: warning: implicit declaration of function 'madvise' [-Wimplicit-function-declaration] 90 | madvise((void *)0, 0, 0); | ^~~~~~~ /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccVMGRRB.o: in function `.L0 ': conftest.c:(.text.startup+0x14): undefined reference to `madvise' collect2: error: ld returned 1 exit status configure:13320: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | #define JEMALLOC_GCC_ATOMIC_ATOMICS | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS | #define JEMALLOC_GCC_SYNC_ATOMICS | #define JEMALLOC_GCC_U8_SYNC_ATOMICS | /* end confdefs.h. */ | | #include | | int | main () | { | | madvise((void *)0, 0, 0); | | ; | return 0; | } configure:13328: result: no configure:13548: checking whether posix_madvise is compilable configure:13568: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:90:5: warning: implicit declaration of function 'posix_madvise' [-Wimplicit-function-declaration] 90 | posix_madvise((void *)0, 0, 0); | ^~~~~~~~~~~~~ /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccG6ytns.o: in function `.L0 ': conftest.c:(.text.startup+0x14): undefined reference to `posix_madvise' collect2: error: ld returned 1 exit status configure:13568: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | #define JEMALLOC_GCC_ATOMIC_ATOMICS | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS | #define JEMALLOC_GCC_SYNC_ATOMICS | #define JEMALLOC_GCC_U8_SYNC_ATOMICS | /* end confdefs.h. */ | | #include | | int | main () | { | | posix_madvise((void *)0, 0, 0); | | ; | return 0; | } configure:13576: result: no configure:13626: checking whether mprotect(2) is compilable configure:13646: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:13646: $? = 0 configure:13654: result: yes configure:13664: checking for __builtin_clz configure:13693: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:91:61: warning: unused variable 'y' [-Wunused-variable] 91 | int y = __builtin_clz(x); | ^ conftest.c:95:61: warning: unused variable 'y' [-Wunused-variable] 95 | int y = __builtin_clzl(x); | ^ conftest.c:99:61: warning: unused variable 'y' [-Wunused-variable] 99 | int y = __builtin_clzll(x); | ^ configure:13693: $? = 0 configure:13701: result: yes configure:13712: checking whether Darwin os_unfair_lock_*() is compilable configure:13739: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c:86:10: fatal error: os/lock.h: No such file or directory 86 | #include | ^~~~~~~~~~~ compilation terminated. configure:13739: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | #define JEMALLOC_GCC_ATOMIC_ATOMICS | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS | #define JEMALLOC_GCC_SYNC_ATOMICS | #define JEMALLOC_GCC_U8_SYNC_ATOMICS | #define JEMALLOC_HAVE_MPROTECT | #define JEMALLOC_HAVE_BUILTIN_CLZ | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | #if MAC_OS_X_VERSION_MIN_REQUIRED < 101200 | #error "os_unfair_lock is not supported" | #else | os_unfair_lock lock = OS_UNFAIR_LOCK_INIT; | os_unfair_lock_lock(&lock); | os_unfair_lock_unlock(&lock); | #endif | | ; | return 0; | } configure:13747: result: no configure:13821: checking whether glibc malloc hook is compilable configure:13848: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccuHoiWi.o: in function `main': conftest.c:(.text.startup+0x0): undefined reference to `__malloc_hook' /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: conftest.c:(.text.startup+0x20): undefined reference to `__realloc_hook' /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: conftest.c:(.text.startup+0x38): undefined reference to `__free_hook' /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: conftest.c:(.text.startup+0x60): undefined reference to `__realloc_hook' collect2: error: ld returned 1 exit status configure:13848: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | #define JEMALLOC_GCC_ATOMIC_ATOMICS | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS | #define JEMALLOC_GCC_SYNC_ATOMICS | #define JEMALLOC_GCC_U8_SYNC_ATOMICS | #define JEMALLOC_HAVE_MPROTECT | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | #define JEMALLOC_BACKGROUND_THREAD | /* end confdefs.h. */ | | #include | | extern void (* __free_hook)(void *ptr); | extern void *(* __malloc_hook)(size_t size); | extern void *(* __realloc_hook)(void *ptr, size_t size); | | int | main () | { | | void *ptr = 0L; | if (__malloc_hook) ptr = __malloc_hook(1); | if (__realloc_hook) ptr = __realloc_hook(ptr, 2); | if (__free_hook && ptr) __free_hook(ptr); | | ; | return 0; | } configure:13856: result: no configure:13869: checking whether glibc memalign hook is compilable configure:13892: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 conftest.c: In function 'main': conftest.c:96:11: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 96 | void *ptr = 0L; | ^~~ /home/autobuild/autobuild/instance-5/output-1/host/riscv32-buildroot-linux-uclibc/bin/ld.real: /tmp/ccdz0Bz7.o: in function `main': conftest.c:(.text.startup+0x0): undefined reference to `__memalign_hook' collect2: error: ld returned 1 exit status configure:13892: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | #define JEMALLOC_GCC_ATOMIC_ATOMICS | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS | #define JEMALLOC_GCC_SYNC_ATOMICS | #define JEMALLOC_GCC_U8_SYNC_ATOMICS | #define JEMALLOC_HAVE_MPROTECT | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | #define JEMALLOC_BACKGROUND_THREAD | /* end confdefs.h. */ | | #include | | extern void *(* __memalign_hook)(size_t alignment, size_t size); | | int | main () | { | | void *ptr = 0L; | if (__memalign_hook) ptr = __memalign_hook(16, 7); | | ; | return 0; | } configure:13900: result: no configure:13914: checking whether pthreads adaptive mutexes is compilable configure:13937: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:13937: $? = 0 configure:13945: result: yes configure:13957: checking whether compiler supports -D_GNU_SOURCE configure:13988: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:13988: $? = 0 configure:13990: result: yes configure:14008: checking whether compiler supports -Werror configure:14039: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_GNU_SOURCE -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:14039: $? = 0 configure:14041: result: yes configure:14059: checking whether compiler supports -herror_on_warning configure:14090: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_GNU_SOURCE -Werror -herror_on_warning -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 riscv32-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-h' configure:14090: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | #define JEMALLOC_GCC_ATOMIC_ATOMICS | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS | #define JEMALLOC_GCC_SYNC_ATOMICS | #define JEMALLOC_GCC_U8_SYNC_ATOMICS | #define JEMALLOC_HAVE_MPROTECT | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | #define JEMALLOC_BACKGROUND_THREAD | #define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:14096: result: no configure:14110: checking whether strerror_r returns char with gnu source is compilable configure:14135: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -o conftest -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_GNU_SOURCE -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Wl,-elf2flt=-r -static conftest.c -pthread >&5 configure:14135: $? = 0 configure:14143: result: yes configure:14160: checking for stdbool.h that conforms to C99 configure:14227: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 conftest.c: In function 'main': conftest.c:138:14: warning: the address of 's' will always evaluate as 'true' [-Waddress] 138 | bool e = &s; | ^~~~ conftest.c:142:22: warning: the address of 'a' will always evaluate as 'true' [-Waddress] 142 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:142:27: warning: the address of 'b' will always evaluate as 'true' [-Waddress] 142 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:142:32: warning: the address of 'c' will always evaluate as 'true' [-Waddress] 142 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:142:37: warning: the address of 'd' will always evaluate as 'true' [-Waddress] 142 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:142:47: warning: the address of 'f' will always evaluate as 'true' [-Waddress] 142 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:142:52: warning: the address of 'g' will always evaluate as 'true' [-Waddress] 142 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:142:57: warning: the address of 'h' will always evaluate as 'true' [-Waddress] 142 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:142:62: warning: the address of 'i' will always evaluate as 'true' [-Waddress] 142 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:143:29: warning: the address of 'n' will always evaluate as 'true' [-Waddress] 143 | + !m + !n + !o + !p + !q + !pq); | ^ conftest.c:143:34: warning: the address of 'o' will always evaluate as 'true' [-Waddress] 143 | + !m + !n + !o + !p + !q + !pq); | ^ conftest.c:143:39: warning: the address of 'p' will always evaluate as 'true' [-Waddress] 143 | + !m + !n + !o + !p + !q + !pq); | ^ configure:14227: $? = 0 configure:14234: result: yes configure:14236: checking for _Bool configure:14236: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:14236: $? = 0 configure:14236: /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 conftest.c: In function 'main': conftest.c:125:20: error: expected expression before ')' token 125 | if (sizeof ((_Bool))) | ^ configure:14236: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define JEMALLOC_HAS_RESTRICT | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_VOID_P 4 | #define LG_SIZEOF_PTR 2 | #define SIZEOF_INT 4 | #define LG_SIZEOF_INT 2 | #define SIZEOF_LONG 4 | #define LG_SIZEOF_LONG 2 | #define SIZEOF_LONG_LONG 8 | #define LG_SIZEOF_LONG_LONG 3 | #define SIZEOF_INTMAX_T 8 | #define LG_SIZEOF_INTMAX_T 3 | #define HAVE_CPU_SPINWAIT 0 | #define CPU_SPINWAIT | #define LG_VADDR 32 | #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS | #define JEMALLOC_HAS_ALLOCA_H | #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY | #define JEMALLOC_THREADED_INIT | #define JEMALLOC_USE_CXX_THROW | #define HAVE_MALLOC_H 1 | #define JEMALLOC_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_HAVE_ATTR_FORMAT_ARG | #define JEMALLOC_HAVE_ATTR_FALLTHROUGH | #define JEMALLOC_HAVE_ATTR_COLD | #define JEMALLOC_IS_MALLOC | #define JEMALLOC_OVERRIDE_MEMALIGN | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE | #define JEMALLOC_DSS | #define JEMALLOC_FILL | #define JEMALLOC_CACHE_OBLIVIOUS | #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable | #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl | #define JEMALLOC_INTERNAL_FFS __builtin_ffs | #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll | #define LG_PAGE 12 | #define LG_HUGEPAGE 21 | #define JEMALLOC_HAVE_PTHREAD | #define HAVE_PTHREAD_H 1 | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | #define JEMALLOC_HAVE_CLOCK_REALTIME | #define JEMALLOC_USE_SYSCALL | #define JEMALLOC_HAVE_SECURE_GETENV | #define JEMALLOC_HAVE_SCHED_GETCPU | #define JEMALLOC_HAVE_SCHED_SETAFFINITY | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_TLS | #define JEMALLOC_GCC_ATOMIC_ATOMICS | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS | #define JEMALLOC_GCC_SYNC_ATOMICS | #define JEMALLOC_GCC_U8_SYNC_ATOMICS | #define JEMALLOC_HAVE_MPROTECT | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | #define JEMALLOC_BACKGROUND_THREAD | #define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP | #define JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE | /* 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:14236: result: yes configure:14393: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on Brett-Arch config.status:1067: creating Makefile config.status:1067: creating jemalloc.pc config.status:1067: creating doc/html.xsl config.status:1067: creating doc/manpages.xsl config.status:1067: creating doc/jemalloc.xml config.status:1067: creating include/jemalloc/jemalloc_macros.h config.status:1067: creating include/jemalloc/jemalloc_protos.h config.status:1067: creating include/jemalloc/jemalloc_typedefs.h config.status:1067: creating include/jemalloc/internal/jemalloc_preamble.h config.status:1067: creating test/test.sh config.status:1067: creating test/include/test/jemalloc_test.h config.status:1067: creating config.stamp config.status:1067: creating bin/jemalloc-config config.status:1067: creating bin/jemalloc.sh config.status:1067: creating bin/jeprof config.status:1067: creating include/jemalloc/jemalloc_defs.h config.status:1067: creating include/jemalloc/internal/jemalloc_internal_defs.h config.status:1067: creating test/include/test/jemalloc_test_defs.h config.status:1256: executing include/jemalloc/internal/public_symbols.txt commands config.status:1256: executing include/jemalloc/internal/private_symbols.awk commands config.status:1256: executing include/jemalloc/internal/private_symbols_jet.awk commands config.status:1256: executing include/jemalloc/internal/public_namespace.h commands config.status:1256: executing include/jemalloc/internal/public_unnamespace.h commands config.status:1256: executing include/jemalloc/jemalloc_protos_jet.h commands config.status:1256: executing include/jemalloc/jemalloc_rename.h commands config.status:1256: executing include/jemalloc/jemalloc_mangle.h commands config.status:1256: executing include/jemalloc/jemalloc_mangle_jet.h commands config.status:1256: executing include/jemalloc/jemalloc.h commands configure:15690: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls configure:15695: result: =============================================================================== configure:15697: result: jemalloc version : 5.3.0-0-g54eaed1d8b56b1aa528be3bdd1877e59c56fa90c configure:15699: result: library revision : 2 configure:15701: result: configure:15703: result: CONFIG : --target=riscv32-buildroot-linux-uclibc --host=riscv32-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared build_alias=x86_64-pc-linux-gnu host_alias=riscv32-buildroot-linux-uclibc target_alias=riscv32-buildroot-linux-uclibc CC=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static' 'LDFLAGS= -Wl,-elf2flt=-r -static' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CPP=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp CXX=no 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static' configure:15705: result: CC : /home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc configure:15707: result: CONFIGURE_CFLAGS : -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops configure:15709: result: SPECIFIED_CFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static configure:15711: result: EXTRA_CFLAGS : configure:15713: result: CPPFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT configure:15715: result: CXX : no configure:15717: result: CONFIGURE_CXXFLAGS : configure:15719: result: SPECIFIED_CXXFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static configure:15721: result: EXTRA_CXXFLAGS : configure:15723: result: LDFLAGS : -Wl,-elf2flt=-r -static configure:15725: result: EXTRA_LDFLAGS : configure:15727: result: DSO_LDFLAGS : -shared -Wl,-soname,$(@F) configure:15729: result: LIBS : -pthread configure:15731: result: RPATH_EXTRA : configure:15733: result: configure:15735: result: XSLTPROC : /usr/bin/xsltproc configure:15737: result: XSLROOT : configure:15739: result: configure:15741: result: PREFIX : /usr configure:15743: result: BINDIR : /usr/bin configure:15745: result: DATADIR : /usr/share configure:15747: result: INCLUDEDIR : /usr/include configure:15749: result: LIBDIR : /usr/lib configure:15751: result: MANDIR : /usr/share/man configure:15753: result: configure:15755: result: srcroot : configure:15757: result: abs_srcroot : /home/autobuild/autobuild/instance-5/output-1/build/jemalloc-5.3.0/ configure:15759: result: objroot : configure:15761: result: abs_objroot : /home/autobuild/autobuild/instance-5/output-1/build/jemalloc-5.3.0/ configure:15763: result: configure:15765: result: JEMALLOC_PREFIX : configure:15767: result: JEMALLOC_PRIVATE_NAMESPACE configure:15769: result: : je_ configure:15771: result: install_suffix : configure:15773: result: malloc_conf : configure:15775: result: documentation : 0 configure:15777: result: shared libs : 0 configure:15779: result: static libs : 1 configure:15781: result: autogen : 0 configure:15783: result: debug : 0 configure:15785: result: stats : 1 configure:15787: result: experimental_smallocx : 0 configure:15789: result: prof : 0 configure:15791: result: prof-libunwind : 0 configure:15793: result: prof-libgcc : 0 configure:15795: result: prof-gcc : 0 configure:15797: result: fill : 1 configure:15799: result: utrace : 0 configure:15801: result: xmalloc : 0 configure:15803: result: log : 0 configure:15805: result: lazy_lock : 0 configure:15807: result: cache-oblivious : 1 configure:15809: result: cxx : 0 configure:15811: result: =============================================================================== ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_big_endian=0 ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static' 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/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -Wl,-elf2flt=-r -static' ac_cv_env_LIBS_set= ac_cv_env_LIBS_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=riscv32-buildroot-linux-uclibc ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv32-buildroot-linux-uclibc ac_cv_func___libc_calloc=no ac_cv_func___libc_free=no ac_cv_func___libc_malloc=no ac_cv_func___libc_memalign=no ac_cv_func___libc_realloc=no ac_cv_func___libc_valloc=no ac_cv_func___posix_memalign=no ac_cv_func__malloc_thread_cleanup=no ac_cv_func__pthread_mutex_init_calloc_cb=no ac_cv_func_calloc_0_nonnull=yes ac_cv_func_issetugid=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_size=no ac_cv_func_memalign=yes ac_cv_func_memcmp_working=yes ac_cv_func_memcntl=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_sbrk=yes ac_cv_func_sched_getcpu=yes ac_cv_func_sched_setaffinity=yes ac_cv_func_secure_getenv=yes ac_cv_func_valloc=yes ac_cv_have_decl_malloc=yes ac_cv_header_dlfcn_h=no ac_cv_header_inttypes_h=yes ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_pthread_h=yes ac_cv_header_stdbool_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=riscv32-buildroot-linux-uclibc ac_cv_lbl_unaligned_fail=yes ac_cv_lib_pthread_pthread_create=yes ac_cv_objext=o ac_cv_path_AUTOCONF=/home/autobuild/autobuild/instance-5/output-1/host/bin/autoconf ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_LD=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-ld ac_cv_path_XSLTPROC=/usr/bin/xsltproc ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AR=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc ac_cv_prog_CPP=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp ac_cv_prog_NM=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-nm ac_cv_prog_RANLIB=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=no ac_cv_search_clock_gettime='none required' ac_cv_search_log='none required' ac_cv_sizeof_int=4 ac_cv_sizeof_intmax_t=8 ac_cv_sizeof_long=4 ac_cv_sizeof_long_long=8 ac_cv_sizeof_void_p=4 ac_cv_type__Bool=yes ax_cv_cxx_compile_cxx14__h_std_cpp14=no ax_cv_cxx_compile_cxx14__h_std_cpp1y=no ax_cv_cxx_compile_cxx14__std_cpp14=no ax_cv_cxx_compile_cxx14__std_cpp1y=no ax_cv_cxx_compile_cxx14_pstd_cpp14=no ax_cv_cxx_compile_cxx14_pstd_cpp1y=no ax_cv_cxx_compile_cxx17__h_std_cpp17=no ax_cv_cxx_compile_cxx17__h_std_cpp1z=no ax_cv_cxx_compile_cxx17__std_cpp17=no ax_cv_cxx_compile_cxx17__std_cpp1z=no ax_cv_cxx_compile_cxx17_pstd_cpp17=no ax_cv_cxx_compile_cxx17_pstd_cpp1z=no gl_cv_func_malloc_0_nonnull=yes je_cv_alloc_size=yes je_cv_attribute=yes je_cv_builtin_clz=yes je_cv_c11_atomics=no je_cv_cflags_added= je_cv_clock_monotonic=yes je_cv_clock_monotonic_coarse=yes je_cv_clock_realtime=yes je_cv_cold=yes je_cv_cray=no je_cv_cray_prgenv_wrapper= je_cv_cxxflags_added= je_cv_fallthrough=yes je_cv_format_arg=yes je_cv_format_gnu_printf=yes je_cv_format_printf=yes je_cv_gcc_atomic_atomics=yes je_cv_gcc_builtin_ffsl=yes je_cv_gcc_builtin_popcountl=yes je_cv_gcc_builtin_unreachable=yes je_cv_gcc_sync_atomics=yes je_cv_gcc_u8_atomic_atomics=yes je_cv_gcc_u8_sync_atomics=yes je_cv_glibc_malloc_hook=no je_cv_glibc_memalign_hook=no je_cv_lg_hugepage=21 je_cv_lg_page=12 je_cv_mach_absolute_time=no je_cv_madvise=no je_cv_mprotect=yes je_cv_os_unfair_lock=no je_cv_osatomic=no je_cv_posix_madvise=no je_cv_pthread_atfork=yes je_cv_pthread_get_name_np=no je_cv_pthread_getname_np=no je_cv_pthread_mutex_adaptive_np=yes je_cv_pthread_setname_np=no je_cv_strerror_r_returns_char_with_gnu_source=yes je_cv_syscall=yes je_cv_tls_model=yes je_cv_utrace=no je_cv_utrace_label=no je_cv_vm_make_tag=no lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-ar' ARFLAGS='crus' AROUT=' $@' AUTOCONF='/home/autobuild/autobuild/instance-5/output-1/host/bin/autoconf' AWK='gawk' BINDIR='/usr/bin' CC='/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc' CC_MM='1' CFLAGS='-std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static' CONFIG='--target=riscv32-buildroot-linux-uclibc --host=riscv32-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared build_alias=x86_64-pc-linux-gnu host_alias=riscv32-buildroot-linux-uclibc target_alias=riscv32-buildroot-linux-uclibc CC=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc '\''CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static'\'' '\''LDFLAGS= -Wl,-elf2flt=-r -static'\'' '\''CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'\'' CPP=/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp CXX=no '\''CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static'\''' CONFIGURE_CFLAGS='-std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -g3 -fvisibility=hidden -Wimplicit-fallthrough -O3 -funroll-loops' CONFIGURE_CXXFLAGS='' CPP='/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT' CTARGET='-o $@' CXX='no' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static' DATADIR='/usr/share' DEFS='-DHAVE_CONFIG_H' DSO_LDFLAGS='-shared -Wl,-soname,$(@F)' DUMP_SYMS='/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-nm -a' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' EXTRA_CFLAGS='' EXTRA_CXXFLAGS='' EXTRA_LDFLAGS='' GREP='/usr/bin/grep' HAVE_CXX14='0' HAVE_CXX17='0' INCLUDEDIR='/usr/include' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' JEMALLOC_CPREFIX='' JEMALLOC_PREFIX='' LD='/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-ld' LDFLAGS=' -Wl,-elf2flt=-r -static' LDTARGET='-o $@' LD_PRELOAD_VAR='LD_PRELOAD' LIBDIR='/usr/lib' LIBOBJS='' LIBS='-pthread' LM='' LTLIBOBJS='' MANDIR='/usr/share/man' MKLIB='' NM='/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-nm' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PIC_CFLAGS='-fPIC -DPIC' PREFIX='/usr' RANLIB='/home/autobuild/autobuild/instance-5/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc-ranlib' RPATH='-Wl,-rpath,$(1)' RPATH_EXTRA='' SHELL='/bin/sh' SOREV='so.2' SPECIFIED_CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static' SPECIFIED_CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static' TEST_LD_MODE='' XSLROOT='' XSLTPROC='/usr/bin/xsltproc' a='a' abi='elf' abs_objroot='/home/autobuild/autobuild/instance-5/output-1/build/jemalloc-5.3.0/' abs_srcroot='/home/autobuild/autobuild/instance-5/output-1/build/jemalloc-5.3.0/' ac_ct_CC='' ac_ct_CXX='' 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' cfghdrs_in='include/jemalloc/jemalloc_defs.h.in include/jemalloc/internal/jemalloc_internal_defs.h.in include/jemalloc/internal/private_symbols.sh include/jemalloc/internal/private_namespace.sh include/jemalloc/internal/public_namespace.sh include/jemalloc/internal/public_unnamespace.sh include/jemalloc/jemalloc_rename.sh include/jemalloc/jemalloc_mangle.sh include/jemalloc/jemalloc.sh test/include/test/jemalloc_test_defs.h.in' cfghdrs_out='include/jemalloc/jemalloc_defs.h include/jemalloc/jemalloc.h include/jemalloc/internal/private_symbols.awk include/jemalloc/internal/private_symbols_jet.awk include/jemalloc/internal/public_symbols.txt include/jemalloc/internal/public_namespace.h include/jemalloc/internal/public_unnamespace.h include/jemalloc/jemalloc_protos_jet.h include/jemalloc/jemalloc_rename.h include/jemalloc/jemalloc_mangle.h include/jemalloc/jemalloc_mangle_jet.h include/jemalloc/internal/jemalloc_internal_defs.h test/include/test/jemalloc_test_defs.h' cfgoutputs_in='Makefile.in jemalloc.pc.in doc/html.xsl.in doc/manpages.xsl.in doc/jemalloc.xml.in include/jemalloc/jemalloc_macros.h.in include/jemalloc/jemalloc_protos.h.in include/jemalloc/jemalloc_typedefs.h.in include/jemalloc/internal/jemalloc_preamble.h.in test/test.sh.in test/include/test/jemalloc_test.h.in' cfgoutputs_out='Makefile jemalloc.pc doc/html.xsl doc/manpages.xsl doc/jemalloc.xml include/jemalloc/jemalloc_macros.h include/jemalloc/jemalloc_protos.h include/jemalloc/jemalloc_typedefs.h include/jemalloc/internal/jemalloc_preamble.h test/test.sh test/include/test/jemalloc_test.h' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' enable_autogen='0' enable_cache_oblivious='1' enable_cxx='0' enable_debug='0' enable_doc='0' enable_experimental_smallocx='0' enable_fill='1' enable_initial_exec_tls='1' enable_lazy_lock='0' enable_log='0' enable_opt_safety_checks='0' enable_opt_size_checks='0' enable_prof='0' enable_readlinkat='0' enable_shared='0' enable_static='1' enable_stats='1' enable_tls='1' enable_uaf_detection='0' enable_utrace='0' enable_xmalloc='0' enable_zone_allocator='' exe='' exec_prefix='/usr' host='riscv32-buildroot-linux-uclibc' host_alias='riscv32-buildroot-linux-uclibc' host_cpu='riscv32' host_os='linux-uclibc' host_vendor='buildroot' htmldir='${docdir}' importlib='so' includedir='${prefix}/include' infodir='${datarootdir}/info' install_suffix='' je_='je_' jemalloc_version='5.3.0-0-g54eaed1d8b56b1aa528be3bdd1877e59c56fa90c' jemalloc_version_bugfix='0' jemalloc_version_gid='54eaed1d8b56b1aa528be3bdd1877e59c56fa90c' jemalloc_version_major='5' jemalloc_version_minor='3' jemalloc_version_nrev='0' libdir='${exec_prefix}/lib' libdl='' libexecdir='${exec_prefix}/libexec' libprefix='lib' link_whole_archive='0' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' o='o' objroot='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' private_namespace='je_' program_transform_name='s,x,x,' psdir='${docdir}' rev='2' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' so='so' srcroot='' sysconfdir='/etc' target_alias='riscv32-buildroot-linux-uclibc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define JEMALLOC_HAS_RESTRICT #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define SIZEOF_VOID_P 4 #define LG_SIZEOF_PTR 2 #define SIZEOF_INT 4 #define LG_SIZEOF_INT 2 #define SIZEOF_LONG 4 #define LG_SIZEOF_LONG 2 #define SIZEOF_LONG_LONG 8 #define LG_SIZEOF_LONG_LONG 3 #define SIZEOF_INTMAX_T 8 #define LG_SIZEOF_INTMAX_T 3 #define HAVE_CPU_SPINWAIT 0 #define CPU_SPINWAIT #define LG_VADDR 32 #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS #define JEMALLOC_HAS_ALLOCA_H #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY #define JEMALLOC_THREADED_INIT #define JEMALLOC_USE_CXX_THROW #define HAVE_MALLOC_H 1 #define JEMALLOC_USABLE_SIZE_CONST const #define JEMALLOC_HAVE_ATTR #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF #define JEMALLOC_HAVE_ATTR_FORMAT_ARG #define JEMALLOC_HAVE_ATTR_FALLTHROUGH #define JEMALLOC_HAVE_ATTR_COLD #define JEMALLOC_IS_MALLOC #define JEMALLOC_OVERRIDE_MEMALIGN #define JEMALLOC_OVERRIDE_VALLOC #define JEMALLOC_PRIVATE_NAMESPACE je_ #define JEMALLOC_CONFIG_MALLOC_CONF "" #define JEMALLOC_STATS #define JEMALLOC_MAPS_COALESCE #define JEMALLOC_ZERO_REALLOC_DEFAULT_FREE #define JEMALLOC_DSS #define JEMALLOC_FILL #define JEMALLOC_CACHE_OBLIVIOUS #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl #define JEMALLOC_INTERNAL_FFS __builtin_ffs #define JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl #define JEMALLOC_INTERNAL_POPCOUNTLL __builtin_popcountll #define LG_PAGE 12 #define LG_HUGEPAGE 21 #define JEMALLOC_HAVE_PTHREAD #define HAVE_PTHREAD_H 1 #define JEMALLOC_HAVE_PTHREAD_ATFORK #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE #define JEMALLOC_HAVE_CLOCK_MONOTONIC #define JEMALLOC_HAVE_CLOCK_REALTIME #define JEMALLOC_USE_SYSCALL #define JEMALLOC_HAVE_SECURE_GETENV #define JEMALLOC_HAVE_SCHED_GETCPU #define JEMALLOC_HAVE_SCHED_SETAFFINITY #define JEMALLOC_HAVE_ISSETUGID #define JEMALLOC_TLS #define JEMALLOC_GCC_ATOMIC_ATOMICS #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS #define JEMALLOC_GCC_SYNC_ATOMICS #define JEMALLOC_GCC_U8_SYNC_ATOMICS #define JEMALLOC_HAVE_MPROTECT #define JEMALLOC_HAVE_BUILTIN_CLZ #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) #define JEMALLOC_BACKGROUND_THREAD #define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP #define JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE #define HAVE__BOOL 1 #define HAVE_STDBOOL_H 1 configure: exit 0