This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libtorrent-rasterbar configure 1.2.15, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=mips64-buildroot-linux-musl --host=mips64-buildroot-linux-musl --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-boost-libdir=/nvmedata/autobuild/instance-15/output-1/host/mips64-buildroot-linux-musl/sysroot/usr/lib --disable-invariant-checks CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 --with-libiconv ## --------- ## ## Platform. ## ## --------- ## hostname = james-x399 uname -m = x86_64 uname -r = 5.13.0-39-generic uname -s = Linux uname -v = #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /nvmedata/autobuild/instance-15/output-1/host/bin PATH: /nvmedata/autobuild/instance-15/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:2456: checking whether make supports nested variables configure:2473: result: yes configure:2521: checking for mips64-buildroot-linux-musl-gcc configure:2548: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc configure:2817: checking for C compiler version configure:2826: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc --version >&5 mips64-buildroot-linux-musl-gcc.br_real (Buildroot 2022.02-500-g2699eb5631) 10.3.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2837: $? = 0 configure:2826: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -v >&5 Using built-in specs. COLLECT_GCC=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc.br_real COLLECT_LTO_WRAPPER=/nvmedata/autobuild/instance-15/output-1/host/libexec/gcc/mips64-buildroot-linux-musl/10.3.0/lto-wrapper Target: mips64-buildroot-linux-musl Configured with: ./configure --prefix=/nvmedata/autobuild/instance-15/output-1/host --sysconfdir=/nvmedata/autobuild/instance-15/output-1/host/etc --enable-static --target=mips64-buildroot-linux-musl --with-sysroot=/nvmedata/autobuild/instance-15/output-1/host/mips64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/nvmedata/autobuild/instance-15/output-1/host --with-mpc=/nvmedata/autobuild/instance-15/output-1/host --with-mpfr=/nvmedata/autobuild/instance-15/output-1/host --with-pkgversion='Buildroot 2022.02-500-g2699eb5631' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=mips64 --with-abi=64 --with-nan=legacy --enable-languages=c,c++ --with-build-time-tools=/nvmedata/autobuild/instance-15/output-1/host/mips64-buildroot-linux-musl/bin --disable-shared --enable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (Buildroot 2022.02-500-g2699eb5631) configure:2837: $? = 0 configure:2826: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -V >&5 mips64-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-V' mips64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:2837: $? = 1 configure:2826: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -qversion >&5 mips64-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? mips64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:2837: $? = 1 configure:2857: checking whether the C compiler works configure:2879: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:2883: $? = 0 configure:2931: result: yes configure:2934: checking for C compiler default output file name configure:2936: result: a.out configure:2942: checking for suffix of executables configure:2949: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:2953: $? = 0 configure:2975: result: configure:2997: checking whether we are cross compiling configure:3035: result: yes configure:3040: checking for suffix of object files configure:3062: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3066: $? = 0 configure:3087: result: o configure:3091: checking whether we are using the GNU C compiler configure:3110: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3110: $? = 0 configure:3119: result: yes configure:3128: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc accepts -g configure:3148: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3148: $? = 0 configure:3189: result: yes configure:3206: checking for /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc option to accept ISO C89 configure:3269: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3269: $? = 0 configure:3282: result: none needed configure:3310: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc understands -c and -o together configure:3332: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:3335: $? = 0 configure:3332: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:3335: $? = 0 configure:3347: result: yes configure:3369: checking how to run the C preprocessor configure:3439: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-cpp configure:3459: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:3459: $? = 0 configure:3473: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3473: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | /* end confdefs.h. */ | #include configure:3502: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc and cc understand -c and -o together configure:3533: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o >&5 configure:3537: $? = 0 configure:3543: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o >&5 configure:3547: $? = 0 configure:3558: cc -c conftest.c >&5 configure:3562: $? = 0 configure:3570: cc -c conftest.c -o conftest2.o >&5 configure:3574: $? = 0 configure:3580: cc -c conftest.c -o conftest2.o >&5 configure:3584: $? = 0 configure:3602: result: yes configure:3724: checking for C++ compiler version configure:3733: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ --version >&5 mips64-buildroot-linux-musl-g++.br_real (Buildroot 2022.02-500-g2699eb5631) 10.3.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3744: $? = 0 configure:3733: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -v >&5 Using built-in specs. COLLECT_GCC=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++.br_real COLLECT_LTO_WRAPPER=/nvmedata/autobuild/instance-15/output-1/host/libexec/gcc/mips64-buildroot-linux-musl/10.3.0/lto-wrapper Target: mips64-buildroot-linux-musl Configured with: ./configure --prefix=/nvmedata/autobuild/instance-15/output-1/host --sysconfdir=/nvmedata/autobuild/instance-15/output-1/host/etc --enable-static --target=mips64-buildroot-linux-musl --with-sysroot=/nvmedata/autobuild/instance-15/output-1/host/mips64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/nvmedata/autobuild/instance-15/output-1/host --with-mpc=/nvmedata/autobuild/instance-15/output-1/host --with-mpfr=/nvmedata/autobuild/instance-15/output-1/host --with-pkgversion='Buildroot 2022.02-500-g2699eb5631' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=mips64 --with-abi=64 --with-nan=legacy --enable-languages=c,c++ --with-build-time-tools=/nvmedata/autobuild/instance-15/output-1/host/mips64-buildroot-linux-musl/bin --disable-shared --enable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (Buildroot 2022.02-500-g2699eb5631) configure:3744: $? = 0 configure:3733: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -V >&5 mips64-buildroot-linux-musl-g++.br_real: error: unrecognized command-line option '-V' mips64-buildroot-linux-musl-g++.br_real: fatal error: no input files compilation terminated. configure:3744: $? = 1 configure:3733: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -qversion >&5 mips64-buildroot-linux-musl-g++.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? mips64-buildroot-linux-musl-g++.br_real: fatal error: no input files compilation terminated. configure:3744: $? = 1 configure:3748: checking whether we are using the GNU C++ compiler configure:3767: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:3767: $? = 0 configure:3776: result: yes configure:3785: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ accepts -g configure:3805: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:3805: $? = 0 configure:3846: result: yes configure:3874: checking how to run the C++ preprocessor configure:3901: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp configure:3901: $? = 0 configure:3915: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp conftest.cpp:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3915: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | /* end confdefs.h. */ | #include configure:3940: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E configure:3960: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp configure:3960: $? = 0 configure:3974: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp conftest.cpp:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | /* end confdefs.h. */ | #include configure:4007: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ understands -c and -o together configure:4031: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -c conftest.cpp -o conftest2.o >&5 configure:4035: $? = 0 configure:4042: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -c conftest.cpp -o conftest2.o >&5 configure:4046: $? = 0 configure:4054: result: yes configure:4074: checking build system type configure:4088: result: x86_64-pc-linux-gnu configure:4108: checking host system type configure:4121: result: mips64-buildroot-linux-musl configure:4141: checking target system type configure:4154: result: mips64-buildroot-linux-musl configure:4199: checking for a BSD-compatible install configure:4267: result: /usr/bin/install -c configure:4278: checking whether build environment is sane configure:4333: result: yes configure:4387: checking for mips64-buildroot-linux-musl-strip configure:4414: result: /bin/true configure:4479: checking for a thread-safe mkdir -p configure:4518: result: /bin/mkdir -p configure:4525: checking for gawk configure:4541: found /nvmedata/autobuild/instance-15/output-1/host/bin/gawk configure:4552: result: gawk configure:4563: checking whether make sets $(MAKE) configure:4585: result: yes configure:4607: checking whether make supports the include directive configure:4622: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/nvmedata/autobuild/instance-15/output-1/build/libtorrent-rasterbar-1.2.15' make[1]: Leaving directory '/nvmedata/autobuild/instance-15/output-1/build/libtorrent-rasterbar-1.2.15' this is the am__doit target configure:4625: $? = 0 configure:4644: result: yes (GNU style) configure:4740: checking dependency style of /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc configure:4851: result: none configure:4868: checking dependency style of /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ configure:4979: result: none configure:5038: checking whether to enable maintainer-specific portions of Makefiles configure:5047: result: yes configure:5110: checking how to print strings configure:5137: result: printf configure:5158: checking for a sed that does not truncate output configure:5222: result: /bin/sed configure:5240: checking for grep that handles long lines and -e configure:5298: result: /bin/grep configure:5303: checking for egrep configure:5365: result: /bin/grep -E configure:5370: checking for fgrep configure:5432: result: /bin/grep -F configure:5467: checking for ld used by /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc configure:5534: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld configure:5541: checking if the linker (/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld) is GNU ld configure:5556: result: yes configure:5568: checking for BSD- or MS-compatible name lister (nm) configure:5622: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-nm configure:5752: checking the name lister (/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-nm) interface configure:5759: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5762: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-nm "conftest.o" configure:5765: output 0000000000000000 B some_variable configure:5766: result: BSD nm configure:5769: checking whether ln -s works configure:5773: result: yes configure:5781: checking the maximum length of command line arguments configure:5912: result: 1572864 configure:5960: checking how to convert x86_64-pc-linux-gnu file names to mips64-buildroot-linux-musl format configure:6000: result: func_convert_file_noop configure:6007: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:6027: result: func_convert_file_noop configure:6034: checking for /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld option to reload object files configure:6041: result: -r configure:6075: checking for mips64-buildroot-linux-musl-objdump configure:6102: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-objdump configure:6174: checking how to recognize dependent libraries configure:6374: result: pass_all configure:6419: checking for mips64-buildroot-linux-musl-dlltool configure:6449: result: no configure:6459: checking for dlltool configure:6489: result: no configure:6519: checking how to associate runtime and link libraries configure:6546: result: printf %s\n configure:6563: checking for mips64-buildroot-linux-musl-ar configure:6590: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar configure:6671: checking for archiver @FILE support configure:6688: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6688: $? = 0 configure:6691: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar rc libconftest.a @conftest.lst >&5 configure:6694: $? = 0 configure:6699: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar rc libconftest.a @conftest.lst >&5 /nvmedata/autobuild/instance-15/output-1/host/lib/gcc/mips64-buildroot-linux-musl/10.3.0/../../../../mips64-buildroot-linux-musl/bin/ar: conftest.o: No such file or directory configure:6702: $? = 1 configure:6701: result: @ configure:6719: checking for mips64-buildroot-linux-musl-strip configure:6746: result: /bin/true configure:6818: checking for mips64-buildroot-linux-musl-ranlib configure:6845: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ranlib configure:6987: checking command to parse /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-nm output from /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc object configure:7140: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7143: $? = 0 configure:7147: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-nm conftest.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm configure:7213: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c conftstm.o >&5 configure:7216: $? = 0 configure:7254: result: ok configure:7301: checking for sysroot configure:7331: result: no configure:7338: checking for a working dd configure:7376: result: /bin/dd configure:7380: checking how to truncate binary pipes configure:7395: result: /bin/dd bs=4096 count=1 configure:7490: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7493: $? = 0 configure:7684: checking for mips64-buildroot-linux-musl-mt configure:7714: result: no configure:7724: checking for mt configure:7740: found /bin/mt configure:7751: result: mt configure:7763: WARNING: using cross tools not prefixed with host triplet configure:7774: checking if mt is a manifest tool configure:7780: mt '-?' configure:7788: result: no configure:8461: checking for ANSI C header files configure:8481: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8481: $? = 0 configure:8565: result: yes configure:8578: checking for sys/types.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8578: checking for sys/stat.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8578: checking for stdlib.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8578: checking for string.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8578: checking for memory.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8578: checking for strings.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8578: checking for inttypes.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8578: checking for stdint.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8578: checking for unistd.h configure:8578: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8578: $? = 0 configure:8578: result: yes configure:8592: checking for dlfcn.h configure:8592: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8592: $? = 0 configure:8592: result: yes configure:8859: checking for objdir configure:8874: result: .libs configure:9138: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc supports -fno-rtti -fno-exceptions configure:9156: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C configure:9160: $? = 0 configure:9173: result: no configure:9537: checking for /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc option to produce PIC configure:9544: result: -fPIC -DPIC configure:9552: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc PIC flag -fPIC -DPIC works configure:9570: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:9574: $? = 0 configure:9587: result: yes configure:9616: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc static flag -static works configure:9644: result: yes configure:9659: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc supports -c -o file.o configure:9680: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:9684: $? = 0 configure:9706: result: yes configure:9714: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc supports -c -o file.o configure:9761: result: yes configure:9794: checking whether the /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc linker (/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld -m elf64btsmip) supports shared libraries configure:11057: result: yes configure:11297: checking dynamic linker characteristics configure:11878: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11878: $? = 0 configure:12127: result: GNU/Linux ld.so configure:12249: checking how to hardcode library paths into programs configure:12274: result: immediate configure:12822: checking whether stripping libraries is possible configure:12844: result: no configure:12862: checking if libtool supports shared libraries configure:12864: result: yes configure:12867: checking whether to build shared libraries configure:12892: result: no configure:12895: checking whether to build static libraries configure:12899: result: yes configure:9698: checking how to run the C++ preprocessor configure:9764: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E configure:9784: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp configure:9784: $? = 0 configure:9798: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:9798: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "1.2.15" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:9960: checking for ld used by /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ configure:10027: result: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld -m elf64btsmip configure:10034: checking if the linker (/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld -m elf64btsmip) is GNU ld configure:10049: result: yes configure:10104: checking whether the /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ linker (/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld -m elf64btsmip) supports shared libraries configure:11177: result: yes configure:11213: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:11216: $? = 0 configure:11697: checking for /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ option to produce PIC configure:11704: result: -fPIC -DPIC configure:11712: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ PIC flag -fPIC -DPIC works configure:11730: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:11734: $? = 0 configure:11747: result: yes configure:11770: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ static flag -static works configure:11798: result: yes configure:11810: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ supports -c -o file.o configure:11831: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.cpp >&5 configure:11835: $? = 0 configure:11857: result: yes configure:11862: checking if /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ supports -c -o file.o configure:11909: result: yes configure:11939: checking whether the /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ linker (/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld -m elf64btsmip) supports shared libraries configure:11982: result: yes configure:12123: checking dynamic linker characteristics configure:12880: result: GNU/Linux ld.so configure:12945: checking how to hardcode library paths into programs configure:12970: result: immediate configure:12082: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc is Clang configure:12107: result: no configure:12169: checking whether pthreads work with "-pthread" and "-lpthread" configure:12274: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lpthread >&5 configure:12274: $? = 0 configure:12283: result: yes configure:12400: checking for joinable pthread attribute configure:12418: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lpthread >&5 configure:12418: $? = 0 configure:12426: result: PTHREAD_CREATE_JOINABLE configure:12440: checking whether more special flags are required for pthreads configure:12453: result: no configure:12461: checking for PTHREAD_PRIO_INHERIT configure:12478: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lpthread >&5 configure:12478: $? = 0 configure:12487: result: yes configure:12596: checking for __attribute__((visibility("hidden"))) configure:12605: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc -fvisibility=hidden -S visibility_conftest.c -o visibility_conftest.s 1>&5 configure:12608: $? = 0 configure:12617: result: yes configure:12762: checking for boostlib >= 1.58 (105800) configure:12794: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -ftemplate-depth=512 -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include conftest.cpp >&5 mips64-buildroot-linux-musl-g++: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' configure:12794: $? = 0 configure:12796: result: yes configure:12967: checking which c++ standard to use configure:16277: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ supports C++14 features with -std=c++14 configure:16695: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -ftemplate-depth=512 -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:324:2: error: #error "This is not a C++14 compiler" 324 | #error "This is not a C++14 compiler" | ^~~~~ configure:16695: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "1.2.15" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_BOOST /**/ | /* 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:16704: result: no configure:16277: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ supports C++14 features with +std=c++14 configure:16695: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ +std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -ftemplate-depth=512 -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 mips64-buildroot-linux-musl-g++.br_real: error: +std=c++14: No such file or directory configure:16695: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "1.2.15" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_BOOST /**/ | /* 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:16704: result: no configure:16277: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ supports C++14 features with -h std=c++14 configure:16695: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -h std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -ftemplate-depth=512 -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:324:2: error: #error "This is not a C++14 compiler" 324 | #error "This is not a C++14 compiler" | ^~~~~ configure:16695: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "1.2.15" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_BOOST /**/ | /* 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:16704: result: no configure:16277: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ supports C++14 features with -std=c++1y configure:16695: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -ftemplate-depth=512 -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:324:2: error: #error "This is not a C++14 compiler" 324 | #error "This is not a C++14 compiler" | ^~~~~ configure:16695: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "1.2.15" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_BOOST /**/ | /* 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:16704: result: no configure:16277: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ supports C++14 features with +std=c++1y configure:16695: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ +std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -ftemplate-depth=512 -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 mips64-buildroot-linux-musl-g++.br_real: error: +std=c++1y: No such file or directory configure:16695: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "1.2.15" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_BOOST /**/ | /* 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:16704: result: no configure:16277: checking whether /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ supports C++14 features with -h std=c++1y configure:16695: /nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -h std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -ftemplate-depth=512 -Wno-format-zero-length -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:324:2: error: #error "This is not a C++14 compiler" 324 | #error "This is not a C++14 compiler" | ^~~~~ configure:16695: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "1.2.15" | #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" | #define PACKAGE_BUGREPORT "arvid@libtorrent.org" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "1.2.15" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_BOOST /**/ | /* 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:16704: result: no configure:16728: error: *** A compiler with support for C++14 language features is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=yes ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -static' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/nvmedata/autobuild/instance-15/output-1/host/bin/pkg-config ac_cv_env_PYTHON_INSTALL_PARAMS_set= ac_cv_env_PYTHON_INSTALL_PARAMS_value= ac_cv_env_PYTHON_VERSION_set= ac_cv_env_PYTHON_VERSION_value= ac_cv_env_PYTHON_set= ac_cv_env_PYTHON_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=mips64-buildroot-linux-musl ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=mips64-buildroot-linux-musl ac_cv_func_calloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_have_decl_malloc=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_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_hidden_visibility_attribute=yes ac_cv_host=mips64-buildroot-linux-musl ac_cv_lbl_unaligned_fail=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc ac_cv_prog_CPP=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-cpp ac_cv_prog_CXXCPP='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E' ac_cv_prog_OBJDUMP=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-objdump ac_cv_prog_RANLIB=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ranlib ac_cv_prog_STRIP=/bin/true ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc__nvmedata_autobuild_instance_15_output_1_host_bin_mips64_buildroot_linux_musl_gcc_c_o=yes ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_c_o=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=mips64-buildroot-linux-musl am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv_PTHREAD_CLANG=no ax_cv_PTHREAD_JOINABLE_ATTR=PTHREAD_CREATE_JOINABLE ax_cv_PTHREAD_PRIO_INHERIT=yes ax_cv_PTHREAD_SPECIAL_FLAGS=no 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 gl_cv_func_malloc_0_nonnull=yes gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes lt_cv_ar_at_file=@ lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld lt_cv_path_LDCXX='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld -m elf64btsmip' lt_cv_path_NM=/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_lib_search_path_spec= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /nvmedata/autobuild/instance-15/output-1/build/libtorrent-rasterbar-1.2.15/build-aux/missing aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ar' AUTOCONF='${SHELL} /nvmedata/autobuild/instance-15/output-1/build/libtorrent-rasterbar-1.2.15/build-aux/missing autoconf' AUTOHEADER='${SHELL} /nvmedata/autobuild/instance-15/output-1/build/libtorrent-rasterbar-1.2.15/build-aux/missing autoheader' AUTOMAKE='${SHELL} /nvmedata/autobuild/instance-15/output-1/build/libtorrent-rasterbar-1.2.15/build-aux/missing automake-1.16' AWK='gawk' BOOST_CPPFLAGS='-I/usr/include' BOOST_LDFLAGS='-L/nvmedata/autobuild/instance-15/output-1/host/mips64-buildroot-linux-musl/sysroot/usr/lib' BOOST_PYTHON_LIB='' BOOST_SYSTEM_LIB='' CC='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc' CCDEPMODE='depmode=none' CFLAGS='-pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static' COMPILETIME_OPTIONS='' CPP='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CXX='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++' CXXCPP='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-g++ -E' CXXDEPMODE='depmode=none' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static -std=c++11 -ftemplate-depth=512 -Wno-format-zero-length' CYGPATH_W='echo' DEBUGFLAGS='' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_DHT_FALSE='' ENABLE_DHT_TRUE='' ENABLE_EXAMPLES_FALSE='' ENABLE_EXAMPLES_TRUE='' ENABLE_PYTHON_BINDING_FALSE='' ENABLE_PYTHON_BINDING_TRUE='' ENABLE_TESTS_FALSE='' ENABLE_TESTS_TRUE='' EXEEXT='' FGREP='/bin/grep -F' GREP='/bin/grep' HAVE_ANDROID_FALSE='' HAVE_ANDROID_TRUE='#' HAVE_CXX11='' HAVE_CXX14='' HAVE_CXX17='' HAVE_WINDOWS_FALSE='' HAVE_WINDOWS_TRUE='#' ICONV_LIBS='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTERFACE_VERSION_INFO='10:0:0' LD='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-ld -m elf64btsmip' LDFLAGS=' -static' LIBICONV='' LIBOBJS='' LIBS='-lpthread ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBICONV='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAINT='' MAINTAINER_MODE_FALSE='#' MAINTAINER_MODE_TRUE='' MAKEINFO='${SHELL} /nvmedata/autobuild/instance-15/output-1/build/libtorrent-rasterbar-1.2.15/build-aux/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-nm' NMEDIT='' OBJDUMP='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-objdump' OBJEXT='o' OPENSSL_INCLUDES='' OPENSSL_LDFLAGS='' OPENSSL_LIBS='' OTOOL64='' OTOOL='' PACKAGE='libtorrent-rasterbar' PACKAGE_BUGREPORT='arvid@libtorrent.org' PACKAGE_NAME='libtorrent-rasterbar' PACKAGE_STRING='libtorrent-rasterbar 1.2.15' PACKAGE_TARNAME='libtorrent-rasterbar' PACKAGE_URL='http://www.libtorrent.org' PACKAGE_VERSION='1.2.15' PATH_SEPARATOR=':' PKG_CONFIG='/nvmedata/autobuild/instance-15/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PTHREAD_CC='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='-lpthread' PYTHON='' PYTHON_CPPFLAGS='' PYTHON_CXXFLAGS='' PYTHON_EXEC_PREFIX='' PYTHON_EXTRA_LDFLAGS='' PYTHON_EXTRA_LIBS='' PYTHON_INSTALL_PARAMS='' PYTHON_LIBS='' PYTHON_PLATFORM='' PYTHON_PREFIX='' PYTHON_SITE_PKG='' PYTHON_VERSION='' RANLIB='/nvmedata/autobuild/instance-15/output-1/host/bin/mips64-buildroot-linux-musl-gcc-ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='/bin/true' VERSION='1.2.15' WITH_OPENSSL_FALSE='' WITH_OPENSSL_TRUE='' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ax_pthread_config='' 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' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='mips64-buildroot-linux-musl' host_alias='mips64-buildroot-linux-musl' host_cpu='mips64' host_os='linux-musl' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /nvmedata/autobuild/instance-15/output-1/build/libtorrent-rasterbar-1.2.15/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' pkgpyexecdir='' pkgpythondir='' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' pyexecdir='' pythondir='' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='mips64-buildroot-linux-musl' target_alias='mips64-buildroot-linux-musl' target_cpu='mips64' target_os='linux-musl' target_vendor='buildroot' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libtorrent-rasterbar" #define PACKAGE_TARNAME "libtorrent-rasterbar" #define PACKAGE_VERSION "1.2.15" #define PACKAGE_STRING "libtorrent-rasterbar 1.2.15" #define PACKAGE_BUGREPORT "arvid@libtorrent.org" #define PACKAGE_URL "http://www.libtorrent.org" #define PACKAGE "libtorrent-rasterbar" #define VERSION "1.2.15" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_PTHREAD_PRIO_INHERIT 1 #define HAVE_PTHREAD 1 #define HAVE_BOOST /**/ configure: exit 1