This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by spice configure 0.15.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=x86_64-buildroot-linux-gnu --host=x86_64-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --enable-shared --disable-gstreamer --disable-opengl --disable-smartcard --without-sasl --disable-manual --disable-tests --enable-lz4 --disable-opus gl_cv_warn__fstack_protector_all=no ## --------- ## ## 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-13/output-1/host/bin PATH: /nvmedata/autobuild/instance-13/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:2705: checking for a BSD-compatible install configure:2773: result: /usr/bin/install -c configure:2784: checking whether build environment is sane configure:2839: result: yes configure:2896: checking for x86_64-buildroot-linux-gnu-strip configure:2923: result: /bin/true configure:2988: checking for a thread-safe mkdir -p configure:3027: result: /bin/mkdir -p configure:3034: checking for gawk configure:3050: found /nvmedata/autobuild/instance-13/output-1/host/bin/gawk configure:3061: result: gawk configure:3072: checking whether make sets $(MAKE) configure:3094: result: yes configure:3123: checking whether make supports nested variables configure:3140: result: yes configure:3267: checking whether to enable maintainer-specific portions of Makefiles configure:3276: result: no configure:3298: checking for x86_64-buildroot-linux-gnu-gcc configure:3325: result: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc configure:3594: checking for C compiler version configure:3603: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc --version >&5 x86_64-buildroot-linux-gnu-gcc.br_real (Buildroot 2022.02-438-gac91235797) 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:3614: $? = 0 configure:3603: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/nvmedata/autobuild/instance-13/output-1/host/libexec/gcc/x86_64-buildroot-linux-gnu/10.3.0/lto-wrapper Target: x86_64-buildroot-linux-gnu Configured with: ./configure --prefix=/nvmedata/autobuild/instance-13/output-1/host --sysconfdir=/nvmedata/autobuild/instance-13/output-1/host/etc --enable-static --target=x86_64-buildroot-linux-gnu --with-sysroot=/nvmedata/autobuild/instance-13/output-1/host/x86_64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/nvmedata/autobuild/instance-13/output-1/host --with-mpc=/nvmedata/autobuild/instance-13/output-1/host --with-mpfr=/nvmedata/autobuild/instance-13/output-1/host --with-pkgversion='Buildroot 2022.02-438-gac91235797' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --enable-libquadmath --enable-tls --enable-plugins --enable-lto --enable-threads --without-isl --without-cloog --with-arch=x86-64 --enable-languages=c --with-build-time-tools=/nvmedata/autobuild/instance-13/output-1/host/x86_64-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (Buildroot 2022.02-438-gac91235797) configure:3614: $? = 0 configure:3603: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -V >&5 x86_64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-V' x86_64-buildroot-linux-gnu-gcc.br_real: fatal error: no input files compilation terminated. configure:3614: $? = 1 configure:3603: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -qversion >&5 x86_64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? x86_64-buildroot-linux-gnu-gcc.br_real: fatal error: no input files compilation terminated. configure:3614: $? = 1 configure:3634: checking whether the C compiler works configure:3656: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3660: $? = 0 configure:3708: result: yes configure:3711: checking for C compiler default output file name configure:3713: result: a.out configure:3719: checking for suffix of executables configure:3726: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3730: $? = 0 configure:3752: result: configure:3774: checking whether we are cross compiling configure:3812: result: yes configure:3817: checking for suffix of object files configure:3839: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3843: $? = 0 configure:3864: result: o configure:3868: checking whether we are using the GNU C compiler configure:3887: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3887: $? = 0 configure:3896: result: yes configure:3905: checking whether /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc accepts -g configure:3925: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3925: $? = 0 configure:3966: result: yes configure:3983: checking for /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc option to accept ISO C89 configure:4046: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4046: $? = 0 configure:4059: result: none needed configure:4084: checking whether /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc understands -c and -o together configure:4106: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c conftest.c -o conftest2.o configure:4109: $? = 0 configure:4106: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c conftest.c -o conftest2.o configure:4109: $? = 0 configure:4121: result: yes configure:4141: checking whether make supports the include directive configure:4156: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/nvmedata/autobuild/instance-13/output-1/build/spice-0.15.0' make[1]: Leaving directory '/nvmedata/autobuild/instance-13/output-1/build/spice-0.15.0' this is the am__doit target configure:4159: $? = 0 configure:4178: result: yes (GNU style) configure:4203: checking dependency style of /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc configure:4314: result: none configure:4329: checking for /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc option to accept ISO C99 configure:4478: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4478: $? = 0 configure:4491: result: none needed configure:4514: checking build system type configure:4528: result: x86_64-pc-linux-gnu configure:4548: checking host system type configure:4561: result: x86_64-buildroot-linux-gnu configure:4627: checking how to print strings configure:4654: result: printf configure:4675: checking for a sed that does not truncate output configure:4739: result: /bin/sed configure:4757: checking for grep that handles long lines and -e configure:4815: result: /bin/grep configure:4820: checking for egrep configure:4882: result: /bin/grep -E configure:4887: checking for fgrep configure:4949: result: /bin/grep -F configure:4984: checking for ld used by /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc configure:5051: result: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-ld configure:5058: checking if the linker (/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-ld) is GNU ld configure:5073: result: yes configure:5085: checking for BSD- or MS-compatible name lister (nm) configure:5139: result: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-nm configure:5269: checking the name lister (/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-nm) interface configure:5276: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5279: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-nm "conftest.o" configure:5282: output 0000000000000000 B some_variable configure:5283: result: BSD nm configure:5286: checking whether ln -s works configure:5290: result: yes configure:5298: checking the maximum length of command line arguments configure:5429: result: 1572864 configure:5477: checking how to convert x86_64-pc-linux-gnu file names to x86_64-buildroot-linux-gnu format configure:5517: result: func_convert_file_noop configure:5524: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:5544: result: func_convert_file_noop configure:5551: checking for /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-ld option to reload object files configure:5558: result: -r configure:5592: checking for x86_64-buildroot-linux-gnu-objdump configure:5619: result: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-objdump configure:5691: checking how to recognize dependent libraries configure:5891: result: pass_all configure:5936: checking for x86_64-buildroot-linux-gnu-dlltool configure:5966: result: no configure:5976: checking for dlltool configure:6006: result: no configure:6036: checking how to associate runtime and link libraries configure:6063: result: printf %s\n configure:6080: checking for x86_64-buildroot-linux-gnu-ar configure:6107: result: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar configure:6188: checking for archiver @FILE support configure:6205: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6205: $? = 0 configure:6208: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar cru libconftest.a @conftest.lst >&5 configure:6211: $? = 0 configure:6216: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar cru libconftest.a @conftest.lst >&5 /nvmedata/autobuild/instance-13/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/10.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ar: conftest.o: No such file or directory configure:6219: $? = 1 configure:6218: result: @ configure:6236: checking for x86_64-buildroot-linux-gnu-strip configure:6263: result: /bin/true configure:6335: checking for x86_64-buildroot-linux-gnu-ranlib configure:6362: result: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ranlib configure:6504: checking command to parse /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-nm output from /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc object configure:6657: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6660: $? = 0 configure:6664: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-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:6667: $? = 0 configure:6733: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:6736: $? = 0 configure:6774: result: ok configure:6821: checking for sysroot configure:6851: result: no configure:6858: checking for a working dd configure:6896: result: /bin/dd configure:6900: checking how to truncate binary pipes configure:6915: result: /bin/dd bs=4096 count=1 configure:7051: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7054: $? = 0 configure:7204: checking for x86_64-buildroot-linux-gnu-mt configure:7234: result: no configure:7244: checking for mt configure:7260: found /bin/mt configure:7271: result: mt configure:7283: WARNING: using cross tools not prefixed with host triplet configure:7294: checking if mt is a manifest tool configure:7300: mt '-?' configure:7308: result: no configure:7985: checking how to run the C preprocessor configure:8055: result: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-cpp configure:8075: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:8075: $? = 0 configure:8089: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:8089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | /* end confdefs.h. */ | #include configure:8118: checking for ANSI C header files configure:8138: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8138: $? = 0 configure:8222: result: yes configure:8235: checking for sys/types.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8235: checking for sys/stat.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8235: checking for stdlib.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8235: checking for string.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8235: checking for memory.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8235: checking for strings.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8235: checking for inttypes.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8235: checking for stdint.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8235: checking for unistd.h configure:8235: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8235: $? = 0 configure:8235: result: yes configure:8249: checking for dlfcn.h configure:8249: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8249: $? = 0 configure:8249: result: yes configure:8504: checking for objdir configure:8519: result: .libs configure:8783: checking if /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc supports -fno-rtti -fno-exceptions configure:8801: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -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:8805: $? = 0 configure:8818: result: no configure:9176: checking for /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc option to produce PIC configure:9183: result: -fPIC -DPIC configure:9191: checking if /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc PIC flag -fPIC -DPIC works configure:9209: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:9213: $? = 0 configure:9226: result: yes configure:9255: checking if /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc static flag -static works configure:9283: result: yes configure:9298: checking if /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc supports -c -o file.o configure:9319: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:9323: $? = 0 configure:9345: result: yes configure:9353: checking if /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc supports -c -o file.o configure:9400: result: yes configure:9433: checking whether the /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc linker (/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-ld -m elf_x86_64) supports shared libraries configure:10692: result: yes configure:10729: checking whether -lc should be explicitly linked in configure:10737: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10740: $? = 0 configure:10755: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:10758: $? = 0 configure:10772: result: no configure:10932: checking dynamic linker characteristics configure:11513: /nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11513: $? = 0 configure:11753: result: GNU/Linux ld.so configure:11875: checking how to hardcode library paths into programs configure:11900: result: immediate configure:12448: checking whether stripping libraries is possible configure:12470: result: no configure:12488: checking if libtool supports shared libraries configure:12490: result: yes configure:12493: checking whether to build shared libraries configure:12518: result: yes configure:12521: checking whether to build static libraries configure:12525: result: yes configure:9352: checking whether byte ordering is bigendian configure:9558: result: no configure:9685: checking pkg-config is at least version 0.9.0 configure:9688: result: yes configure:9809: checking for C++ compiler version configure:9818: no --version >&5 ./configure: line 9820: no: command not found configure:9829: $? = 127 configure:9818: no -v >&5 ./configure: line 9820: no: command not found configure:9829: $? = 127 configure:9818: no -V >&5 ./configure: line 9820: no: command not found configure:9829: $? = 127 configure:9818: no -qversion >&5 ./configure: line 9820: no: command not found configure:9829: $? = 127 configure:9833: checking whether we are using the GNU C++ compiler configure:9852: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:9852: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:9861: result: no configure:9870: checking whether no accepts -g configure:9890: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:9890: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | int | main () | { | | ; | return 0; | } configure:9905: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:9905: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | int | main () | { | | ; | return 0; | } configure:9921: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:9921: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | int | main () | { | | ; | return 0; | } configure:9931: result: no configure:9956: checking dependency style of no configure:10067: result: none configure:13419: checking whether no supports C++11 features with -std=gnu++11 configure:13715: no -std=gnu++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:13715: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | | // 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 void f() {} | }; | | struct Derived : public Base | { | 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 | | | configure:13724: result: no configure:13419: checking whether no supports C++11 features with -std=gnu++0x configure:13715: no -std=gnu++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:13715: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | | // 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 void f() {} | }; | | struct Derived : public Base | { | 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 | | | configure:13724: result: no configure:13741: checking whether no supports C++11 features with -std=c++11 configure:14037: no -std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:14037: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | | // 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 void f() {} | }; | | struct Derived : public Base | { | 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 | | | configure:14046: result: no configure:13741: checking whether no supports C++11 features with +std=c++11 configure:14037: no +std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:14037: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | | // 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 void f() {} | }; | | struct Derived : public Base | { | 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 | | | configure:14046: result: no configure:13741: checking whether no supports C++11 features with -h std=c++11 configure:14037: no -h std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:14037: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | | // 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 void f() {} | }; | | struct Derived : public Base | { | 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 | | | configure:14046: result: no configure:13741: checking whether no supports C++11 features with -std=c++0x configure:14037: no -std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:14037: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | | // 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 void f() {} | }; | | struct Derived : public Base | { | 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 | | | configure:14046: result: no configure:13741: checking whether no supports C++11 features with +std=c++0x configure:14037: no +std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:14037: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | | // 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 void f() {} | }; | | struct Derived : public Base | { | 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 | | | configure:14046: result: no configure:13741: checking whether no supports C++11 features with -h std=c++0x configure:14037: no -h std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1996: no: command not found configure:14037: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "spice" | #define PACKAGE_TARNAME "spice" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "spice 0.15.0" | #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" | #define PACKAGE_URL "" | #define PACKAGE "spice" | #define VERSION "0.15.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #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. */ | | | // 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 void f() {} | }; | | struct Derived : public Base | { | 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 | | | configure:14046: result: no configure:14070: error: *** A compiler with support for C++11 language features is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2' 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-13/output-1/host/bin/x86_64-buildroot-linux-gnu-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 -O1 -g0 -D_FORTIFY_SOURCE=2' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_GIO_UNIX_CFLAGS_set= ac_cv_env_GIO_UNIX_CFLAGS_value= ac_cv_env_GIO_UNIX_LIBS_set= ac_cv_env_GIO_UNIX_LIBS_value= ac_cv_env_GLIB2_CFLAGS_set= ac_cv_env_GLIB2_CFLAGS_value= ac_cv_env_GLIB2_LIBS_set= ac_cv_env_GLIB2_LIBS_value= ac_cv_env_GSTREAMER_0_10_CFLAGS_set= ac_cv_env_GSTREAMER_0_10_CFLAGS_value= ac_cv_env_GSTREAMER_0_10_LIBS_set= ac_cv_env_GSTREAMER_0_10_LIBS_value= ac_cv_env_GSTREAMER_1_0_CFLAGS_set= ac_cv_env_GSTREAMER_1_0_CFLAGS_value= ac_cv_env_GSTREAMER_1_0_LIBS_set= ac_cv_env_GSTREAMER_1_0_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_LZ4_CFLAGS_set= ac_cv_env_LZ4_CFLAGS_value= ac_cv_env_LZ4_LIBS_set= ac_cv_env_LZ4_LIBS_value= ac_cv_env_ORC_CFLAGS_set= ac_cv_env_ORC_CFLAGS_value= ac_cv_env_ORC_LIBS_set= ac_cv_env_ORC_LIBS_value= ac_cv_env_PIXMAN_CFLAGS_set= ac_cv_env_PIXMAN_CFLAGS_value= ac_cv_env_PIXMAN_LIBS_set= ac_cv_env_PIXMAN_LIBS_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-13/output-1/host/bin/pkg-config ac_cv_env_SASL_CFLAGS_set= ac_cv_env_SASL_CFLAGS_value= ac_cv_env_SASL_LIBS_set= ac_cv_env_SASL_LIBS_value= ac_cv_env_SMARTCARD_CFLAGS_set= ac_cv_env_SMARTCARD_CFLAGS_value= ac_cv_env_SMARTCARD_LIBS_set= ac_cv_env_SMARTCARD_LIBS_value= ac_cv_env_SPICE_PROTOCOL_CFLAGS_set= ac_cv_env_SPICE_PROTOCOL_CFLAGS_value= ac_cv_env_SPICE_PROTOCOL_LIBS_set= ac_cv_env_SPICE_PROTOCOL_LIBS_value= ac_cv_env_SSL_CFLAGS_set= ac_cv_env_SSL_CFLAGS_value= ac_cv_env_SSL_LIBS_set= ac_cv_env_SSL_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-buildroot-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=x86_64-buildroot-linux-gnu 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_host=x86_64-buildroot-linux-gnu ac_cv_lbl_unaligned_fail=no 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-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc ac_cv_prog_CPP=/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-cpp ac_cv_prog_OBJDUMP=/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-objdump ac_cv_prog_RANLIB=/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ranlib ac_cv_prog_STRIP=/bin/true ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c89= ac_cv_prog_cc_c99= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=no ac_cv_prog_make_make_set=yes 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_cxx_compile_cxx11__h_std_cpp0x=no ax_cv_cxx_compile_cxx11__h_std_cpp11=no ax_cv_cxx_compile_cxx11__std_cpp0x=no ax_cv_cxx_compile_cxx11__std_cpp11=no ax_cv_cxx_compile_cxx11__std_gnupp0x=no ax_cv_cxx_compile_cxx11__std_gnupp11=no ax_cv_cxx_compile_cxx11_pstd_cpp0x=no ax_cv_cxx_compile_cxx11_pstd_cpp11=no gl_cv_func_malloc_0_nonnull=yes gl_cv_warn__fstack_protector_all=no lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-ld lt_cv_path_NM=/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_lib_search_path_spec= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## A2X='' ACLOCAL='${SHELL} /nvmedata/autobuild/instance-13/output-1/build/spice-0.15.0/missing aclocal-1.16' ALLOCA='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar' ASCIIDOC='' AUTOCONF='${SHELL} /nvmedata/autobuild/instance-13/output-1/build/spice-0.15.0/missing autoconf' AUTOHEADER='${SHELL} /nvmedata/autobuild/instance-13/output-1/build/spice-0.15.0/missing autoheader' AUTOMAKE='${SHELL} /nvmedata/autobuild/instance-13/output-1/build/spice-0.15.0/missing automake-1.16' AWK='gawk' BUILD_CHUNKED_MANUAL_FALSE='' BUILD_CHUNKED_MANUAL_TRUE='' BUILD_HTML_MANUAL_FALSE='' BUILD_HTML_MANUAL_TRUE='' BUILD_MANUAL_FALSE='' BUILD_MANUAL_TRUE='' CC='/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2' CPP='/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CXX='no' CXXCPP='' CXXDEPMODE='depmode=none' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_AGENT_INTERFACE_FALSE='' ENABLE_AGENT_INTERFACE_TRUE='' ENABLE_EXTRA_CHECKS_FALSE='' ENABLE_EXTRA_CHECKS_TRUE='' ENABLE_RECORDER_FALSE='' ENABLE_RECORDER_TRUE='' ENABLE_TESTS_FALSE='' ENABLE_TESTS_TRUE='' ENABLE_VALGRIND_drd='' ENABLE_VALGRIND_helgrind='' ENABLE_VALGRIND_memcheck='' ENABLE_VALGRIND_sgcheck='' EXEEXT='' FGREP='/bin/grep -F' GIO_UNIX_CFLAGS='' GIO_UNIX_LIBS='' GLIB2_CFLAGS='' GLIB2_LIBS='' GREP='/bin/grep' GSTREAMER_0_10_CFLAGS='' GSTREAMER_0_10_LIBS='' GSTREAMER_1_0_CFLAGS='' GSTREAMER_1_0_LIBS='' GST_INSPECT_0_10='' GST_INSPECT_1_0='' HAVE_CXX11='' HAVE_GSTREAMER_1_0_FALSE='' HAVE_GSTREAMER_1_0_TRUE='' HAVE_GSTREAMER_FALSE='' HAVE_GSTREAMER_TRUE='' HAVE_LD_VERSION_SCRIPT_FALSE='' HAVE_LD_VERSION_SCRIPT_TRUE='' HAVE_LZ4_FALSE='' HAVE_LZ4_TRUE='' HAVE_SASL_FALSE='' HAVE_SASL_TRUE='' HAVE_SMARTCARD_FALSE='' HAVE_SMARTCARD_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' JPEG_LIBS='' LD='/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-ld -m elf_x86_64' LDFLAGS='' LIBM='' LIBOBJS='' LIBRT='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' LZ4_CFLAGS='' LZ4_LIBS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /nvmedata/autobuild/instance-13/output-1/build/spice-0.15.0/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-nm' NMEDIT='' NO_INDIRECT_LDFLAGS='' OBJDUMP='/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-objdump' OBJEXT='o' ORC_CFLAGS='' ORC_LIBS='' OS_WIN32_FALSE='' OS_WIN32_TRUE='' OTOOL64='' OTOOL='' PACKAGE='spice' PACKAGE_BUGREPORT='spice-devel@lists.freedesktop.org' PACKAGE_NAME='spice' PACKAGE_STRING='spice 0.15.0' PACKAGE_TARNAME='spice' PACKAGE_URL='' PACKAGE_VERSION='0.15.0' PATH_SEPARATOR=':' PIXMAN_CFLAGS='' PIXMAN_LIBS='' PKG_CONFIG='/nvmedata/autobuild/instance-13/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' RANLIB='/nvmedata/autobuild/instance-13/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ranlib' RELRO_LDFLAGS='' SASL_CFLAGS='' SASL_LIBS='' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SMARTCARD_CFLAGS='' SMARTCARD_LIBS='' SPICE_COMMON_CFLAGS='' SPICE_COMMON_DIR='' SPICE_LT_VERSION='' SPICE_NONPKGCONFIG_CFLAGS='' SPICE_NONPKGCONFIG_LIBS='' SPICE_PROTOCOL_CFLAGS='' SPICE_PROTOCOL_LIBS='' SPICE_PROTOCOL_MIN_VER='' SPICE_REQUIRES='' SPICE_SERVER_VERSION='0x000f00' SSL_CFLAGS='' SSL_LIBS='' STRIP='/bin/true' VALGRIND='' VALGRIND_CHECK_RULES='' VALGRIND_ENABLED='' VALGRIND_ENABLED_FALSE='' VALGRIND_ENABLED_TRUE='' VERSION='0.15.0' VISIBILITY_HIDDEN_CFLAGS='' WARN_CFLAGS='' WARN_CXXFLAGS='' WARN_LDFLAGS='' Z_LIBS='' 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 -' 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='x86_64-buildroot-linux-gnu' host_alias='x86_64-buildroot-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /nvmedata/autobuild/instance-13/output-1/build/spice-0.15.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='/etc' target_alias='x86_64-buildroot-linux-gnu' valgrind_enabled_tools='' valgrind_tools='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "spice" #define PACKAGE_TARNAME "spice" #define PACKAGE_VERSION "0.15.0" #define PACKAGE_STRING "spice 0.15.0" #define PACKAGE_BUGREPORT "spice-devel@lists.freedesktop.org" #define PACKAGE_URL "" #define PACKAGE "spice" #define VERSION "0.15.0" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" configure: exit 1