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=sh4-buildroot-linux-gnu --host=sh4-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared ## --------- ## ## Platform. ## ## --------- ## hostname = build3.bootlin.com uname -m = x86_64 uname -r = 5.4.0-124-generic uname -s = Linux uname -v = #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /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/thomas/autobuild/instance-2/output-1/host/bin PATH: /home/thomas/autobuild/instance-2/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2674: checking for xsltproc configure:2692: found /usr/bin/xsltproc configure:2705: result: /usr/bin/xsltproc configure:2749: checking for sh4-buildroot-linux-gnu-gcc configure:2776: result: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc configure:3045: checking for C compiler version configure:3054: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc --version >&5 sh4-buildroot-linux-gnu-gcc.br_real (Buildroot 2022.08-rc1-2342-g039dfca252) 11.3.0 Copyright (C) 2021 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:3065: $? = 0 configure:3054: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/home/thomas/autobuild/instance-2/output-1/host/libexec/gcc/sh4-buildroot-linux-gnu/11.3.0/lto-wrapper Target: sh4-buildroot-linux-gnu Configured with: ./configure --prefix=/home/thomas/autobuild/instance-2/output-1/host --sysconfdir=/home/thomas/autobuild/instance-2/output-1/host/etc --enable-static --target=sh4-buildroot-linux-gnu --with-sysroot=/home/thomas/autobuild/instance-2/output-1/host/sh4-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/home/thomas/autobuild/instance-2/output-1/host --with-mpc=/home/thomas/autobuild/instance-2/output-1/host --with-mpfr=/home/thomas/autobuild/instance-2/output-1/host --with-pkgversion='Buildroot 2022.08-rc1-2342-g039dfca252' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --enable-languages=c --with-build-time-tools=/home/thomas/autobuild/instance-2/output-1/host/sh4-buildroot-linux-gnu/bin --with-multilib-list=m4,m4-nofpu --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.3.0 (Buildroot 2022.08-rc1-2342-g039dfca252) COMPILER_PATH=/home/thomas/autobuild/instance-2/output-1/host/libexec/gcc/sh4-buildroot-linux-gnu/11.3.0/:/home/thomas/autobuild/instance-2/output-1/host/libexec/gcc/sh4-buildroot-linux-gnu/11.3.0/:/home/thomas/autobuild/instance-2/output-1/host/libexec/gcc/sh4-buildroot-linux-gnu/:/home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/:/home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/:/home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/:/home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/lib/!m4/:/home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/lib/:/home/thomas/autobuild/instance-2/output-1/host/sh4-buildroot-linux-gnu/sysroot/lib/:/home/thomas/autobuild/instance-2/output-1/host/sh4-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3065: $? = 1 configure:3054: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -V >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-V' configure:3065: $? = 1 configure:3054: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -qversion >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:3065: $? = 1 configure:3085: checking whether the C compiler works configure:3107: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3111: $? = 0 configure:3159: result: yes configure:3162: checking for C compiler default output file name configure:3164: result: a.out configure:3170: checking for suffix of executables configure:3177: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3181: $? = 0 configure:3203: result: configure:3225: checking whether we are cross compiling configure:3263: result: yes configure:3268: checking for suffix of object files configure:3290: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3294: $? = 0 configure:3315: result: o configure:3319: checking whether we are using the GNU C compiler configure:3338: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3338: $? = 0 configure:3347: result: yes configure:3356: checking whether /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc accepts -g configure:3376: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3376: $? = 0 configure:3417: result: yes configure:3434: checking for /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc option to accept ISO C89 configure:3497: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3497: $? = 0 configure:3510: result: none needed configure:3575: checking whether compiler is cray configure:3595: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:15:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token 15 | int fail-1; | ^ configure:3595: $? = 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:3602: result: no configure:3639: checking whether compiler supports -std=gnu11 configure:3670: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -std=gnu11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3670: $? = 0 configure:3672: result: yes configure:3756: checking whether compiler supports -Werror=unknown-warning-option configure:3787: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -std=gnu11 -Werror=unknown-warning-option -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -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:3787: $? = 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:3793: result: no configure:3807: checking whether compiler supports -Wall configure:3838: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -std=gnu11 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3838: $? = 0 configure:3840: result: yes configure:3858: checking whether compiler supports -Wextra configure:3889: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -std=gnu11 -Wall -Wextra -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3889: $? = 0 configure:3891: result: yes configure:3909: checking whether compiler supports -Wshorten-64-to-32 configure:3940: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-Wshorten-64-to-32' configure:3940: $? = 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:3946: result: no configure:3960: checking whether compiler supports -Wsign-compare configure:3991: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3991: $? = 0 configure:3993: result: yes configure:4011: checking whether compiler supports -Wundef configure:4042: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4042: $? = 0 configure:4044: result: yes configure:4062: checking whether compiler supports -Wno-format-zero-length configure:4093: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc -c -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4093: $? = 0 configure:4095: result: yes configure:4113: checking whether compiler supports -Wpointer-arith configure:4144: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4144: $? = 0 configure:4146: result: yes configure:4164: checking whether compiler supports -Wno-missing-braces configure:4195: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4195: $? = 0 configure:4197: result: yes configure:4215: checking whether compiler supports -Wno-missing-field-initializers configure:4246: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4246: $? = 0 configure:4248: result: yes configure:4266: checking whether compiler supports -Wno-missing-attributes configure:4297: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4297: $? = 0 configure:4299: result: yes configure:4317: checking whether compiler supports -pipe configure:4348: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4348: $? = 0 configure:4350: result: yes configure:4368: checking whether compiler supports -g3 configure:4399: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4399: $? = 0 configure:4401: result: yes configure:4849: checking how to run the C preprocessor configure:4919: result: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp configure:4939: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4939: $? = 0 configure:4953: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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:4953: $? = 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:5177: checking for C++ compiler version configure:5186: no --version >&5 ./configure: line 5188: no: command not found configure:5197: $? = 127 configure:5186: no -v >&5 ./configure: line 5188: no: command not found configure:5197: $? = 127 configure:5186: no -V >&5 ./configure: line 5188: no: command not found configure:5197: $? = 127 configure:5186: no -qversion >&5 ./configure: line 5188: no: command not found configure:5197: $? = 127 configure:5201: checking whether we are using the GNU C++ compiler configure:5220: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:5220: $? = 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:5229: result: no configure:5238: checking whether no accepts -g configure:5258: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:5258: $? = 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:5273: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:5273: $? = 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:5289: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:5289: $? = 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:5299: result: no configure:5337: checking whether no supports C++17 features with -std=c++17 configure:6133: no -std=c++17 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6133: $? = 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:6142: result: no configure:5337: checking whether no supports C++17 features with +std=c++17 configure:6133: no +std=c++17 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6133: $? = 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:6142: result: no configure:5337: checking whether no supports C++17 features with -h std=c++17 configure:6133: no -h std=c++17 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6133: $? = 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:6142: result: no configure:5337: checking whether no supports C++17 features with -std=c++1z configure:6133: no -std=c++1z -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6133: $? = 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:6142: result: no configure:5337: checking whether no supports C++17 features with +std=c++1z configure:6133: no +std=c++1z -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6133: $? = 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:6142: result: no configure:5337: checking whether no supports C++17 features with -h std=c++1z configure:6133: no -h std=c++1z -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6133: $? = 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:6142: result: no configure:6171: No compiler with C++17 support was found configure:6196: checking whether no supports C++14 features with -std=c++14 configure:6614: no -std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6614: $? = 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:6623: result: no configure:6196: checking whether no supports C++14 features with +std=c++14 configure:6614: no +std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6614: $? = 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:6623: result: no configure:6196: checking whether no supports C++14 features with -h std=c++14 configure:6614: no -h std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6614: $? = 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:6623: result: no configure:6196: checking whether no supports C++14 features with -std=c++1y configure:6614: no -std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6614: $? = 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:6623: result: no configure:6196: checking whether no supports C++14 features with +std=c++1y configure:6614: no +std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6614: $? = 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:6623: result: no configure:6196: checking whether no supports C++14 features with -h std=c++1y configure:6614: no -h std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1690: no: command not found configure:6614: $? = 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:6623: result: no configure:6652: No compiler with C++14 support was found configure:6915: checking for grep that handles long lines and -e configure:6973: result: /usr/bin/grep configure:6978: checking for egrep configure:7040: result: /usr/bin/grep -E configure:7045: checking for ANSI C header files configure:7065: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7065: $? = 0 configure:7149: result: yes configure:7162: checking for sys/types.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7162: checking for sys/stat.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7162: checking for stdlib.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7162: checking for string.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7162: checking for memory.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7162: checking for strings.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7162: checking for inttypes.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7162: checking for stdint.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7162: checking for unistd.h configure:7162: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7162: $? = 0 configure:7162: result: yes configure:7174: checking whether byte ordering is bigendian configure:7380: result: no configure:7425: checking size of void * configure:7430: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7430: $? = 0 configure:7430: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:12: error: size of array 'test_array' is negative 56 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 0)]; | ^~~~~~~~~~ configure:7430: $? = 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:7430: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:12: error: size of array 'test_array' is negative 56 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 1)]; | ^~~~~~~~~~ configure:7430: $? = 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:7430: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:56:12: error: size of array 'test_array' is negative 56 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 3)]; | ^~~~~~~~~~ configure:7430: $? = 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:7430: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7430: $? = 0 configure:7430: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7430: $? = 0 configure:7430: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7430: $? = 0 configure:7444: result: 4 configure:7472: checking size of int configure:7477: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7477: $? = 0 configure:7477: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:58:12: error: size of array 'test_array' is negative 58 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)]; | ^~~~~~~~~~ configure:7477: $? = 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:7477: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:58:12: error: size of array 'test_array' is negative 58 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)]; | ^~~~~~~~~~ configure:7477: $? = 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:7477: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:58:12: error: size of array 'test_array' is negative 58 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)]; | ^~~~~~~~~~ configure:7477: $? = 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:7477: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7477: $? = 0 configure:7477: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7477: $? = 0 configure:7477: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7477: $? = 0 configure:7491: result: 4 configure:7518: checking size of long configure:7523: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7523: $? = 0 configure:7523: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:60:12: error: size of array 'test_array' is negative 60 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)]; | ^~~~~~~~~~ configure:7523: $? = 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:7523: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:60:12: error: size of array 'test_array' is negative 60 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)]; | ^~~~~~~~~~ configure:7523: $? = 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:7523: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:60:12: error: size of array 'test_array' is negative 60 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)]; | ^~~~~~~~~~ configure:7523: $? = 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:7523: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7523: $? = 0 configure:7523: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7523: $? = 0 configure:7523: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7523: $? = 0 configure:7537: result: 4 configure:7564: checking size of long long configure:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7569: $? = 0 configure:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:62:12: error: size of array 'test_array' is negative 62 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | ^~~~~~~~~~ configure:7569: $? = 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:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:62:12: error: size of array 'test_array' is negative 62 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | ^~~~~~~~~~ configure:7569: $? = 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:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:62:12: error: size of array 'test_array' is negative 62 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | ^~~~~~~~~~ configure:7569: $? = 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:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:62:12: error: size of array 'test_array' is negative 62 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | ^~~~~~~~~~ configure:7569: $? = 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:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7569: $? = 0 configure:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7569: $? = 0 configure:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7569: $? = 0 configure:7569: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7569: $? = 0 configure:7583: result: 8 configure:7610: checking size of intmax_t configure:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7615: $? = 0 configure:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:12: error: size of array 'test_array' is negative 64 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 0)]; | ^~~~~~~~~~ configure:7615: $? = 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:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:12: error: size of array 'test_array' is negative 64 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 1)]; | ^~~~~~~~~~ configure:7615: $? = 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:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:12: error: size of array 'test_array' is negative 64 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 3)]; | ^~~~~~~~~~ configure:7615: $? = 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:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:12: error: size of array 'test_array' is negative 64 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 7)]; | ^~~~~~~~~~ configure:7615: $? = 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:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7615: $? = 0 configure:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7615: $? = 0 configure:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7615: $? = 0 configure:7615: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7615: $? = 0 configure:7629: result: 8 configure:7658: checking build system type configure:7672: result: x86_64-pc-linux-gnu configure:7692: checking host system type configure:7705: result: sh4-buildroot-linux-gnu configure:7965: checking number of significant virtual address bits configure:7976: result: 32 configure:8021: checking for sh4-buildroot-linux-gnu-ar configure:8048: result: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc-ar configure:8117: checking for sh4-buildroot-linux-gnu-nm configure:8144: result: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc-nm configure:8211: checking for gawk configure:8227: found /home/thomas/autobuild/instance-2/output-1/host/bin/gawk configure:8238: result: gawk configure:8546: checking malloc.h usability configure:8546: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:8546: $? = 0 configure:8546: result: yes configure:8546: checking malloc.h presence configure:8546: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c configure:8546: $? = 0 configure:8546: result: yes configure:8546: checking for malloc.h configure:8546: result: yes configure:8552: checking whether malloc_usable_size definition can use const argument configure:8568: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 conftest.c:41:12: error: conflicting types for 'malloc_usable_size'; have 'size_t(const void *)' {aka 'unsigned int(const void *)'} 41 | size_t malloc_usable_size(const void *ptr); | ^~~~~~~~~~~~~~~~~~ In file included from conftest.c:39: /home/thomas/autobuild/instance-2/output-1/host/sh4-buildroot-linux-gnu/sysroot/usr/include/malloc.h:152:15: note: previous declaration of 'malloc_usable_size' with type 'size_t(void *)' {aka 'unsigned int(void *)'} 152 | extern size_t malloc_usable_size (void *__ptr) __THROW; | ^~~~~~~~~~~~~~~~~~ configure:8568: $? = 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 | /* end confdefs.h. */ | #include | #include | size_t malloc_usable_size(const void *ptr); | | int | main () | { | | ; | return 0; | } configure:8576: result: no configure:8614: checking for library containing log configure:8645: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 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 */ /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccRiXrBN.o: in function `main': conftest.c:(.text+0x4c): undefined reference to `log' collect2: error: ld returned 1 exit status configure:8645: $? = 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 | /* end confdefs.h. */ | | /* 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 log (); | int | main () | { | return log (); | ; | return 0; | } configure:8645: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&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:8645: $? = 0 configure:8662: result: -lm configure:8680: checking whether __attribute__ syntax is compilable configure:8696: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:8696: $? = 0 configure:8704: result: yes configure:8713: checking whether compiler supports -fvisibility=hidden configure:8744: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:8744: $? = 0 configure:8746: result: yes configure:8764: checking whether compiler supports -fvisibility=hidden configure:8801: no -c -fvisibility=hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.cpp >&5 ./configure: line 1690: no: command not found configure:8801: $? = 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 | #define JEMALLOC_HAVE_ATTR | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:8807: result: no configure:8831: checking whether compiler supports -Werror configure:8862: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:8862: $? = 0 configure:8864: result: yes configure:8882: checking whether compiler supports -herror_on_warning configure:8913: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-h' configure:8913: $? = 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 | #define JEMALLOC_HAVE_ATTR | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:8919: result: no configure:8933: checking whether tls_model attribute is compilable configure:8951: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:8951: $? = 0 configure:8959: result: yes configure:8974: checking whether compiler supports -Werror configure:9005: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9005: $? = 0 configure:9007: result: yes configure:9025: checking whether compiler supports -herror_on_warning configure:9056: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-h' configure:9056: $? = 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 | #define JEMALLOC_HAVE_ATTR | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:9062: result: no configure:9076: checking whether alloc_size attribute is compilable configure:9092: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:9092: $? = 0 configure:9100: result: yes configure:9119: checking whether compiler supports -Werror configure:9150: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9150: $? = 0 configure:9152: result: yes configure:9170: checking whether compiler supports -herror_on_warning configure:9201: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-h' configure:9201: $? = 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 | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:9207: result: no configure:9221: checking whether format(gnu_printf, ...) attribute is compilable configure:9237: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:9237: $? = 0 configure:9245: result: yes configure:9264: checking whether compiler supports -Werror configure:9295: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9295: $? = 0 configure:9297: result: yes configure:9315: checking whether compiler supports -herror_on_warning configure:9346: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-h' configure:9346: $? = 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 | #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:9352: result: no configure:9366: checking whether format(printf, ...) attribute is compilable configure:9382: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:9382: $? = 0 configure:9390: result: yes configure:9410: checking whether compiler supports -Werror configure:9441: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9441: $? = 0 configure:9443: result: yes configure:9461: checking whether compiler supports -herror_on_warning configure:9492: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-h' configure:9492: $? = 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 | #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:9498: result: no configure:9512: checking whether format(printf, ...) attribute is compilable configure:9528: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:9528: $? = 0 configure:9536: result: yes configure:9556: checking whether compiler supports -Wimplicit-fallthrough configure:9587: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9587: $? = 0 configure:9589: result: yes configure:9607: checking whether fallthrough attribute is compilable configure:9629: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:9629: $? = 0 configure:9637: result: yes configure:9653: checking whether compiler supports -Wimplicit-fallthrough configure:9684: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9684: $? = 0 configure:9686: result: yes configure:9704: checking whether compiler supports -Wimplicit-fallthrough configure:9741: no -c -Wimplicit-fallthrough -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.cpp >&5 ./configure: line 1690: no: command not found configure:9741: $? = 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 | #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:9747: result: no configure:9771: checking whether compiler supports -Werror configure:9802: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:9802: $? = 0 configure:9804: result: yes configure:9822: checking whether compiler supports -herror_on_warning configure:9853: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-h' configure:9853: $? = 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 | #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:9859: result: no configure:9873: checking whether cold attribute is compilable configure:9889: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:9889: $? = 0 configure:9897: result: yes configure:9915: checking whether vm_make_tag is compilable configure:9934: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 conftest.c:48:25: fatal error: mach/vm_statistics.h: No such file or directory 48 | #include | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:9934: $? = 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 | #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:9942: result: no configure:9995: checking for a BSD-compatible install configure:10063: result: /usr/bin/install -c configure:10077: checking for sh4-buildroot-linux-gnu-ranlib configure:10104: result: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc-ranlib configure:10168: checking for ld configure:10199: result: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-ld configure:10209: checking for autoconf configure:10227: found /home/thomas/autobuild/instance-2/output-1/host/bin/autoconf configure:10240: result: /home/thomas/autobuild/instance-2/output-1/host/bin/autoconf configure:10353: checking for memalign configure:10353: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:10353: $? = 0 configure:10353: result: yes configure:10361: checking for valloc configure:10361: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:10361: $? = 0 configure:10361: result: yes configure:10369: checking for malloc_size configure:10369: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccIrUYHH.o: in function `main': conftest.c:(.text+0x4c): undefined reference to `malloc_size' collect2: error: ld returned 1 exit status configure:10369: $? = 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 | #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:10369: result: no configure:10380: checking for __libc_calloc configure:10380: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:10380: $? = 0 configure:10380: result: yes configure:10388: checking for __libc_free configure:10388: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:10388: $? = 0 configure:10388: result: yes configure:10396: checking for __libc_malloc configure:10396: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:10396: $? = 0 configure:10396: result: yes configure:10404: checking for __libc_memalign configure:10404: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:10404: $? = 0 configure:10404: result: yes configure:10412: checking for __libc_realloc configure:10412: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:10412: $? = 0 configure:10412: result: yes configure:10420: checking for __libc_valloc configure:10420: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:10420: $? = 0 configure:10420: result: yes configure:10428: checking for __posix_memalign configure:10428: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccPiF5CW.o: in function `main': conftest.c:(.text+0x4c): undefined reference to `__posix_memalign' collect2: error: ld returned 1 exit status configure:10428: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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:10428: result: no configure:10586: checking whether compiler supports -O3 configure:10617: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:10617: $? = 0 configure:10619: result: yes configure:10637: checking whether compiler supports -O3 configure:10674: no -c -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.cpp >&5 ./configure: line 1690: no: command not found configure:10674: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:10680: result: no configure:10700: checking whether compiler supports -funroll-loops configure:10731: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:10731: $? = 0 configure:10733: result: yes configure:11325: checking configured backtracing method configure:11327: result: N/A configure:11364: checking for sbrk configure:11364: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:11364: $? = 0 configure:11364: result: yes configure:11421: checking whether utrace(2) is compilable configure:11445: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 conftest.c:68:10: fatal error: sys/ktrace.h: No such file or directory 68 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:11445: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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:11453: result: no configure:11458: checking whether utrace(2) with label is compilable configure:11482: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 conftest.c:68:12: fatal error: sys/ktrace.h: No such file or directory 68 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:11482: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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:11490: result: no configure:11650: checking whether a program using __builtin_unreachable is compilable configure:11674: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:11674: $? = 0 configure:11682: result: yes configure:11696: checking whether a program using __builtin_ffsl is compilable configure:11721: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:11721: $? = 0 configure:11729: result: yes configure:11796: checking whether a program using __builtin_popcountl is compilable configure:11821: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm >&5 configure:11821: $? = 0 configure:11829: result: yes configure:11890: checking LG_PAGE configure:11951: result: 12 configure:12025: checking pthread.h usability configure:12025: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:12025: $? = 0 configure:12025: result: yes configure:12025: checking pthread.h presence configure:12025: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c configure:12025: $? = 0 configure:12025: result: yes configure:12025: checking for pthread.h configure:12025: result: yes configure:12037: checking for pthread_create in -lpthread configure:12062: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lpthread -lm >&5 configure:12062: $? = 0 configure:12071: result: yes configure:12150: checking dlfcn.h usability configure:12150: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c >&5 configure:12150: $? = 0 configure:12150: result: yes configure:12150: checking dlfcn.h presence configure:12150: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c configure:12150: $? = 0 configure:12150: result: yes configure:12150: checking for dlfcn.h configure:12150: result: yes configure:12155: checking for dlsym configure:12155: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm -pthread >&5 configure:12155: $? = 0 configure:12155: result: yes configure:12219: checking whether pthread_atfork(3) is compilable configure:12239: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm -pthread >&5 configure:12239: $? = 0 configure:12247: result: yes configure:12256: checking whether pthread_setname_np(3) is compilable configure:12276: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm -pthread >&5 configure:12276: $? = 0 configure:12284: result: yes configure:12293: checking whether pthread_getname_np(3) is compilable configure:12318: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm -pthread >&5 configure:12318: $? = 0 configure:12326: result: yes configure:12335: checking whether pthread_get_name_np(3) is compilable configure:12361: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lm -pthread >&5 conftest.c:82:10: fatal error: pthread_np.h: No such file or directory 82 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:12361: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | /* 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:12369: result: no configure:12388: checking for library containing clock_gettime configure:12419: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:12419: $? = 0 configure:12436: result: none required configure:12571: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable configure:12593: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:12593: $? = 0 configure:12601: result: yes configure:12611: checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable configure:12637: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:12637: $? = 0 configure:12645: result: yes configure:12655: checking whether mach_absolute_time() is compilable configure:12675: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 conftest.c:83:10: fatal error: mach/mach_time.h: No such file or directory 83 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:12675: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE | #define JEMALLOC_HAVE_CLOCK_MONOTONIC | /* end confdefs.h. */ | | #include | | int | main () | { | | mach_absolute_time(); | | ; | return 0; | } configure:12683: result: no configure:12693: checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable configure:12715: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:12715: $? = 0 configure:12723: result: yes configure:12749: checking whether compiler supports -Werror configure:12780: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:12780: $? = 0 configure:12782: result: yes configure:12800: checking whether syscall(2) is compilable configure:12821: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:12821: $? = 0 configure:12829: result: yes configure:12847: checking for secure_getenv configure:12847: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:12847: $? = 0 configure:12847: result: yes configure:12861: checking for sched_getcpu configure:12861: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:12861: $? = 0 configure:12861: result: yes configure:12875: checking for sched_setaffinity configure:12875: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:12875: $? = 0 configure:12875: result: yes configure:12889: checking for issetugid configure:12889: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccTldjZs.o: in function `main': conftest.c:(.text+0x4c): undefined reference to `issetugid' collect2: error: ld returned 1 exit status configure:12889: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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 | /* end confdefs.h. */ | /* Define issetugid to an innocuous variant, in case declares issetugid. | For example, HP-UX 11i declares gettimeofday. */ | #define issetugid innocuous_issetugid | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char issetugid (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef issetugid | | /* 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 issetugid (); | /* 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_issetugid || defined __stub___issetugid | choke me | #endif | | int | main () | { | return issetugid (); | ; | return 0; | } configure:12889: result: no configure:12903: checking for _malloc_thread_cleanup configure:12903: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccQ5QibJ.o: in function `main': conftest.c:(.text+0x4c): undefined reference to `_malloc_thread_cleanup' collect2: error: ld returned 1 exit status configure:12903: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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 | /* 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:12903: result: no configure:12919: checking for _pthread_mutex_init_calloc_cb configure:12919: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccklOvQY.o: in function `main': conftest.c:(.text+0x4c): undefined reference to `_pthread_mutex_init_calloc_cb' collect2: error: ld returned 1 exit status configure:12919: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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 | /* 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:12919: result: no configure:12934: checking for memcntl configure:12934: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccBfknAB.o: in function `main': conftest.c:(.text+0x4c): undefined reference to `memcntl' collect2: error: ld returned 1 exit status configure:12934: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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 | /* 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:12934: result: no configure:12993: checking for TLS configure:13012: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:13012: $? = 0 configure:13013: result: yes configure:13035: checking whether C11 atomics is compilable configure:13064: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccrtTdsw.o: in function `main': conftest.c:(.text+0x58): undefined reference to `__atomic_fetch_add_8' collect2: error: ld returned 1 exit status configure:13064: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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_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:13072: result: no configure:13083: checking whether GCC __atomic atomics is compilable configure:13106: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 conftest.c: In function 'main': conftest.c:96:9: warning: unused variable 'y' [-Wunused-variable] 96 | int y = __atomic_fetch_add(&x, val, __ATOMIC_RELAXED); | ^ configure:13106: $? = 0 configure:13114: result: yes configure:13123: checking whether GCC 8-bit __atomic atomics is compilable configure:13146: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 conftest.c: In function 'main': conftest.c:97:11: warning: unused variable 'y' [-Wunused-variable] 97 | int y = __atomic_fetch_add(&x, val, __ATOMIC_RELAXED); | ^ configure:13146: $? = 0 configure:13154: result: yes configure:13166: checking whether GCC __sync atomics is compilable configure:13188: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13188: $? = 0 configure:13196: result: yes configure:13205: checking whether GCC 8-bit __sync atomics is compilable configure:13227: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13227: $? = 0 configure:13235: result: yes configure:13247: checking whether Darwin OSAtomic*() is compilable configure:13277: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 conftest.c:93:10: fatal error: libkern/OSAtomic.h: No such file or directory 93 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:13277: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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_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:13285: result: no configure:13296: checking whether madvise(2) is compilable configure:13316: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13316: $? = 0 configure:13324: result: yes configure:13333: checking whether madvise(..., MADV_FREE) is compilable configure:13353: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13353: $? = 0 configure:13361: result: yes configure:13384: checking whether madvise(..., MADV_DONTNEED) is compilable configure:13404: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13404: $? = 0 configure:13412: result: yes configure:13422: checking whether madvise(..., MADV_DO[NT]DUMP) is compilable configure:13443: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13443: $? = 0 configure:13451: result: yes configure:13461: checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable configure:13482: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13482: $? = 0 configure:13490: result: yes configure:13494: checking whether madvise(..., MADV_[NO]CORE) is compilable configure:13515: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 conftest.c: In function 'main': conftest.c:103:31: error: 'MADV_NOCORE' undeclared (first use in this function); did you mean 'MADV_DOFORK'? 103 | madvise((void *)0, 0, MADV_NOCORE); | ^~~~~~~~~~~ | MADV_DOFORK conftest.c:103:31: note: each undeclared identifier is reported only once for each function it appears in conftest.c:104:31: error: 'MADV_CORE' undeclared (first use in this function); did you mean 'MADV_COLD'? 104 | madvise((void *)0, 0, MADV_CORE); | ^~~~~~~~~ | MADV_COLD configure:13515: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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_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_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_MADVISE_DONTDUMP | /* end confdefs.h. */ | | #include | | int | main () | { | | madvise((void *)0, 0, MADV_NOCORE); | madvise((void *)0, 0, MADV_CORE); | | ; | return 0; | } configure:13523: result: no configure:13622: checking whether mprotect(2) is compilable configure:13642: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13642: $? = 0 configure:13650: result: yes configure:13660: checking for __builtin_clz configure:13689: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 conftest.c: In function 'main': conftest.c:105:61: warning: unused variable 'y' [-Wunused-variable] 105 | int y = __builtin_clz(x); | ^ conftest.c:109:61: warning: unused variable 'y' [-Wunused-variable] 109 | int y = __builtin_clzl(x); | ^ conftest.c:113:61: warning: unused variable 'y' [-Wunused-variable] 113 | int y = __builtin_clzll(x); | ^ configure:13689: $? = 0 configure:13697: result: yes configure:13708: checking whether Darwin os_unfair_lock_*() is compilable configure:13735: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 conftest.c:100:10: fatal error: os/lock.h: No such file or directory 100 | #include | ^~~~~~~~~~~ compilation terminated. configure:13735: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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_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_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_MADVISE_DONTDUMP | #define JEMALLOC_HAVE_MADVISE_HUGE | #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:13743: result: no configure:13817: checking whether glibc malloc hook is compilable configure:13844: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccA7Jats.o: in function `main': conftest.c:(.text+0x8c): undefined reference to `__malloc_hook' /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: conftest.c:(.text+0x90): undefined reference to `__realloc_hook' /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: conftest.c:(.text+0x94): undefined reference to `__free_hook' collect2: error: ld returned 1 exit status configure:13844: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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_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_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_MADVISE_DONTDUMP | #define JEMALLOC_HAVE_MADVISE_HUGE | #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:13852: result: no configure:13865: checking whether glibc memalign hook is compilable configure:13888: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 conftest.c: In function 'main': conftest.c:110:11: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 110 | void *ptr = 0L; | ^~~ /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/sh4-buildroot-linux-gnu/11.3.0/../../../../sh4-buildroot-linux-gnu/bin/ld: /tmp/ccV0kzEY.o: in function `main': conftest.c:(.text+0x5c): undefined reference to `__memalign_hook' collect2: error: ld returned 1 exit status configure:13888: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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_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_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_MADVISE_DONTDUMP | #define JEMALLOC_HAVE_MADVISE_HUGE | #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:13896: result: no configure:13910: checking whether pthreads adaptive mutexes is compilable configure:13933: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:13933: $? = 0 configure:13941: result: yes configure:13953: checking whether compiler supports -D_GNU_SOURCE configure:13984: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:13984: $? = 0 configure:13986: result: yes configure:14004: checking whether compiler supports -Werror configure:14035: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:14035: $? = 0 configure:14037: result: yes configure:14055: checking whether compiler supports -herror_on_warning configure:14086: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 sh4-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-h' configure:14086: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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_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_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_MADVISE_DONTDUMP | #define JEMALLOC_HAVE_MADVISE_HUGE | #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:14092: result: no configure:14106: checking whether strerror_r returns char with gnu source is compilable configure:14131: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -pthread >&5 configure:14131: $? = 0 configure:14139: result: yes configure:14156: checking for stdbool.h that conforms to C99 configure:14223: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -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:152:14: warning: the address of 's' will always evaluate as 'true' [-Waddress] 152 | bool e = &s; | ^~~~ conftest.c:156:22: warning: the address of 'a' will always evaluate as 'true' [-Waddress] 156 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:156:27: warning: the address of 'b' will always evaluate as 'true' [-Waddress] 156 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:156:32: warning: the address of 'c' will always evaluate as 'true' [-Waddress] 156 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:156:37: warning: the address of 'd' will always evaluate as 'true' [-Waddress] 156 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:156:47: warning: the address of 'f' will always evaluate as 'true' [-Waddress] 156 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:156:52: warning: the address of 'g' will always evaluate as 'true' [-Waddress] 156 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:156:57: warning: the address of 'h' will always evaluate as 'true' [-Waddress] 156 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:156:62: warning: the address of 'i' will always evaluate as 'true' [-Waddress] 156 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ^ conftest.c:157:29: warning: the address of 'n' will always evaluate as 'true' [-Waddress] 157 | + !m + !n + !o + !p + !q + !pq); | ^ conftest.c:157:34: warning: the address of 'o' will always evaluate as 'true' [-Waddress] 157 | + !m + !n + !o + !p + !q + !pq); | ^ conftest.c:157:39: warning: the address of 'p' will always evaluate as 'true' [-Waddress] 157 | + !m + !n + !o + !p + !q + !pq); | ^ configure:14223: $? = 0 configure:14230: result: yes configure:14232: checking for _Bool configure:14232: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:14232: $? = 0 configure:14232: /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1 -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:139:20: error: expected expression before ')' token 139 | if (sizeof ((_Bool))) | ^ configure:14232: $? = 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 | #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_OVERRIDE___LIBC_CALLOC | #define JEMALLOC_OVERRIDE___LIBC_FREE | #define JEMALLOC_OVERRIDE___LIBC_MALLOC | #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN | #define JEMALLOC_OVERRIDE___LIBC_REALLOC | #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 | #define JEMALLOC_HAVE_DLSYM | #define JEMALLOC_HAVE_PTHREAD_ATFORK | #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP | #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP | #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_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_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_MADVISE_DONTDUMP | #define JEMALLOC_HAVE_MADVISE_HUGE | #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:14232: result: yes configure:14389: 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 build3.bootlin.com config.status:1076: creating Makefile config.status:1076: creating jemalloc.pc config.status:1076: creating doc/html.xsl config.status:1076: creating doc/manpages.xsl config.status:1076: creating doc/jemalloc.xml config.status:1076: creating include/jemalloc/jemalloc_macros.h config.status:1076: creating include/jemalloc/jemalloc_protos.h config.status:1076: creating include/jemalloc/jemalloc_typedefs.h config.status:1076: creating include/jemalloc/internal/jemalloc_preamble.h config.status:1076: creating test/test.sh config.status:1076: creating test/include/test/jemalloc_test.h config.status:1076: creating config.stamp config.status:1076: creating bin/jemalloc-config config.status:1076: creating bin/jemalloc.sh config.status:1076: creating bin/jeprof config.status:1076: creating include/jemalloc/jemalloc_defs.h config.status:1076: creating include/jemalloc/internal/jemalloc_internal_defs.h config.status:1076: creating test/include/test/jemalloc_test_defs.h config.status:1265: executing include/jemalloc/internal/public_symbols.txt commands config.status:1265: executing include/jemalloc/internal/private_symbols.awk commands config.status:1265: executing include/jemalloc/internal/private_symbols_jet.awk commands config.status:1265: executing include/jemalloc/internal/public_namespace.h commands config.status:1265: executing include/jemalloc/internal/public_unnamespace.h commands config.status:1265: executing include/jemalloc/jemalloc_protos_jet.h commands config.status:1265: executing include/jemalloc/jemalloc_rename.h commands config.status:1265: executing include/jemalloc/jemalloc_mangle.h commands config.status:1265: executing include/jemalloc/jemalloc_mangle_jet.h commands config.status:1265: executing include/jemalloc/jemalloc.h commands configure:15686: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --enable-nls configure:15691: result: =============================================================================== configure:15693: result: jemalloc version : 5.3.0-0-g54eaed1d8b56b1aa528be3bdd1877e59c56fa90c configure:15695: result: library revision : 2 configure:15697: result: configure:15699: result: CONFIG : --target=sh4-buildroot-linux-gnu --host=sh4-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared build_alias=x86_64-pc-linux-gnu host_alias=sh4-buildroot-linux-gnu target_alias=sh4-buildroot-linux-gnu CC=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1' LDFLAGS= 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CPP=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp CXX=no 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1' configure:15701: result: CC : /home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc configure:15703: 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:15705: result: SPECIFIED_CFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 configure:15707: result: EXTRA_CFLAGS : configure:15709: result: CPPFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT configure:15711: result: CXX : no configure:15713: result: CONFIGURE_CXXFLAGS : configure:15715: result: SPECIFIED_CXXFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 configure:15717: result: EXTRA_CXXFLAGS : configure:15719: result: LDFLAGS : configure:15721: result: EXTRA_LDFLAGS : configure:15723: result: DSO_LDFLAGS : -shared -Wl,-soname,$(@F) configure:15725: result: LIBS : -lm -pthread configure:15727: result: RPATH_EXTRA : configure:15729: result: configure:15731: result: XSLTPROC : /usr/bin/xsltproc configure:15733: result: XSLROOT : /usr/share/xml/docbook/stylesheet/docbook-xsl configure:15735: result: configure:15737: result: PREFIX : /usr configure:15739: result: BINDIR : /usr/bin configure:15741: result: DATADIR : /usr/share configure:15743: result: INCLUDEDIR : /usr/include configure:15745: result: LIBDIR : /usr/lib configure:15747: result: MANDIR : /usr/share/man configure:15749: result: configure:15751: result: srcroot : configure:15753: result: abs_srcroot : /home/thomas/autobuild/instance-2/output-1/build/jemalloc-5.3.0/ configure:15755: result: objroot : configure:15757: result: abs_objroot : /home/thomas/autobuild/instance-2/output-1/build/jemalloc-5.3.0/ configure:15759: result: configure:15761: result: JEMALLOC_PREFIX : configure:15763: result: JEMALLOC_PRIVATE_NAMESPACE configure:15765: result: : je_ configure:15767: result: install_suffix : configure:15769: result: malloc_conf : configure:15771: result: documentation : 0 configure:15773: result: shared libs : 1 configure:15775: result: static libs : 0 configure:15777: result: autogen : 0 configure:15779: result: debug : 0 configure:15781: result: stats : 1 configure:15783: result: experimental_smallocx : 0 configure:15785: result: prof : 0 configure:15787: result: prof-libunwind : 0 configure:15789: result: prof-libgcc : 0 configure:15791: result: prof-gcc : 0 configure:15793: result: fill : 1 configure:15795: result: utrace : 0 configure:15797: result: xmalloc : 0 configure:15799: result: log : 0 configure:15801: result: lazy_lock : 0 configure:15803: result: cache-oblivious : 1 configure:15805: result: cxx : 0 configure:15807: 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/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= 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=sh4-buildroot-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=sh4-buildroot-linux-gnu ac_cv_func___libc_calloc=yes ac_cv_func___libc_free=yes ac_cv_func___libc_malloc=yes ac_cv_func___libc_memalign=yes ac_cv_func___libc_realloc=yes ac_cv_func___libc_valloc=yes 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_dlsym=yes ac_cv_func_issetugid=no 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=yes 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=sh4-buildroot-linux-gnu ac_cv_lbl_unaligned_fail=yes ac_cv_lib_pthread_pthread_create=yes ac_cv_objext=o ac_cv_path_AUTOCONF=/home/thomas/autobuild/instance-2/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/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-ld ac_cv_path_XSLTPROC=/usr/bin/xsltproc ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AR=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc ac_cv_prog_CPP=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp ac_cv_prog_NM=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc-nm ac_cv_prog_RANLIB=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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=-lm 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_madv_dontdump=yes je_cv_madv_dontneed=yes je_cv_madv_free=yes je_cv_madv_nocore=no je_cv_madvise=yes je_cv_mprotect=yes je_cv_os_unfair_lock=no je_cv_osatomic=no je_cv_pthread_atfork=yes je_cv_pthread_get_name_np=no je_cv_pthread_getname_np=yes je_cv_pthread_mutex_adaptive_np=yes je_cv_pthread_setname_np=yes je_cv_strerror_r_returns_char_with_gnu_source=yes je_cv_syscall=yes je_cv_thp=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/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc-ar' ARFLAGS='crus' AROUT=' $@' AUTOCONF='/home/thomas/autobuild/instance-2/output-1/host/bin/autoconf' AWK='gawk' BINDIR='/usr/bin' CC='/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1' CONFIG='--target=sh4-buildroot-linux-gnu --host=sh4-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared build_alias=x86_64-pc-linux-gnu host_alias=sh4-buildroot-linux-gnu target_alias=sh4-buildroot-linux-gnu CC=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc '\''CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1'\'' LDFLAGS= '\''CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'\'' CPP=/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-cpp CXX=no '\''CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1'\''' 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/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=1' DATADIR='/usr/share' DEFS='-DHAVE_CONFIG_H' DSO_LDFLAGS='-shared -Wl,-soname,$(@F)' DUMP_SYMS='/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-ld' LDFLAGS='' LDTARGET='-o $@' LD_PRELOAD_VAR='LD_PRELOAD' LIBDIR='/usr/lib' LIBOBJS='' LIBS='-lm -pthread' LM='-lm' LTLIBOBJS='' MANDIR='/usr/share/man' MKLIB='' NM='/home/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-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/thomas/autobuild/instance-2/output-1/host/bin/sh4-buildroot-linux-gnu-gcc-ranlib' RPATH='-Wl,-rpath,$(1)' RPATH_EXTRA='' SHELL='/bin/bash' SOREV='so.2' SPECIFIED_CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1' SPECIFIED_CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1' TEST_LD_MODE='' XSLROOT='/usr/share/xml/docbook/stylesheet/docbook-xsl' XSLTPROC='/usr/bin/xsltproc' a='a' abi='elf' abs_objroot='/home/thomas/autobuild/instance-2/output-1/build/jemalloc-5.3.0/' abs_srcroot='/home/thomas/autobuild/instance-2/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='1' enable_static='0' enable_stats='1' enable_tls='1' enable_uaf_detection='0' enable_utrace='0' enable_xmalloc='0' enable_zone_allocator='' exe='' exec_prefix='/usr' host='sh4-buildroot-linux-gnu' host_alias='sh4-buildroot-linux-gnu' host_cpu='sh4' host_os='linux-gnu' 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='sh4-buildroot-linux-gnu' ## ----------- ## ## 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 #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_OVERRIDE___LIBC_CALLOC #define JEMALLOC_OVERRIDE___LIBC_FREE #define JEMALLOC_OVERRIDE___LIBC_MALLOC #define JEMALLOC_OVERRIDE___LIBC_MEMALIGN #define JEMALLOC_OVERRIDE___LIBC_REALLOC #define JEMALLOC_OVERRIDE___LIBC_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 HAVE_DLFCN_H 1 #define JEMALLOC_HAVE_DLSYM #define JEMALLOC_HAVE_PTHREAD_ATFORK #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP #define JEMALLOC_HAVE_PTHREAD_GETNAME_NP #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_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_MADVISE #define JEMALLOC_PURGE_MADVISE_FREE #define JEMALLOC_PURGE_MADVISE_DONTNEED #define JEMALLOC_MADVISE_DONTDUMP #define JEMALLOC_HAVE_MADVISE_HUGE #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