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-musl --host=x86_64-buildroot-linux-musl --build=aarch64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --disable-gstreamer --disable-opengl --disable-smartcard --without-sasl --disable-manual --disable-tests --disable-lz4 --enable-opus gl_cv_warn__fstack_protector_all=no ## --------- ## ## Platform. ## ## --------- ## hostname = asahi-mini uname -m = aarch64 uname -r = 5.17.0-rc7-asahi-next-20220310-5-2-ARCH uname -s = Linux uname -v = #2 SMP PREEMPT Tue, 22 Mar 2022 14:28:10 +0000 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin PATH: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/lib/jvm/default/bin PATH: /usr/bin/site_perl PATH: /usr/bin/vendor_perl PATH: /usr/bin/core_perl ## ----------- ## ## Core tests. ## ## ----------- ## configure:2709: checking for a BSD-compatible install configure:2777: result: /usr/bin/install -c configure:2788: checking whether build environment is sane configure:2843: result: yes configure:2902: checking for x86_64-buildroot-linux-musl-strip configure:2929: result: /bin/true configure:2994: checking for a thread-safe mkdir -p configure:3033: result: /usr/bin/mkdir -p configure:3040: checking for gawk configure:3056: found /usr/bin/gawk configure:3067: result: gawk configure:3078: checking whether make sets $(MAKE) configure:3100: result: yes configure:3129: checking whether make supports nested variables configure:3146: result: yes configure:3273: checking whether to enable maintainer-specific portions of Makefiles configure:3282: result: no configure:3304: checking for x86_64-buildroot-linux-musl-gcc configure:3331: result: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc configure:3600: checking for C compiler version configure:3609: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc --version >&5 x86_64-buildroot-linux-musl-gcc.br_real (Buildroot 2022.02-371-g342631bed1) 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:3620: $? = 0 configure:3609: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc.br_real COLLECT_LTO_WRAPPER=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/../libexec/gcc/x86_64-buildroot-linux-musl/10.3.0/lto-wrapper Target: x86_64-buildroot-linux-musl Configured with: ./configure --prefix=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --sysconfdir=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host/etc --enable-static --target=x86_64-buildroot-linux-musl --with-sysroot=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host/x86_64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --with-mpc=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --with-mpfr=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --with-pkgversion='Buildroot 2022.02-371-g342631bed1' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --enable-libquadmath --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=core2 --enable-languages=c --with-build-time-tools=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host/x86_64-buildroot-linux-musl/bin --disable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (Buildroot 2022.02-371-g342631bed1) configure:3620: $? = 0 configure:3609: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -V >&5 x86_64-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-V' x86_64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:3620: $? = 1 configure:3609: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -qversion >&5 x86_64-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? x86_64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:3620: $? = 1 configure:3640: checking whether the C compiler works configure:3662: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:3666: $? = 0 configure:3714: result: yes configure:3717: checking for C compiler default output file name configure:3719: result: a.out configure:3725: checking for suffix of executables configure:3732: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:3736: $? = 0 configure:3758: result: configure:3780: checking whether we are cross compiling configure:3818: result: yes configure:3823: checking for suffix of object files configure:3845: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3849: $? = 0 configure:3870: result: o configure:3874: checking whether we are using the GNU C compiler configure:3893: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3893: $? = 0 configure:3902: result: yes configure:3911: checking whether /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc accepts -g configure:3931: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3931: $? = 0 configure:3972: result: yes configure:3989: checking for /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc option to accept ISO C89 configure:4052: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4052: $? = 0 configure:4065: result: none needed configure:4090: checking whether /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc understands -c and -o together configure:4112: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:4115: $? = 0 configure:4112: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:4115: $? = 0 configure:4127: result: yes configure:4147: checking whether make supports the include directive configure:4162: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/home/autobuild/autobuild/instance-0/output-1/build/spice-0.15.0' make[1]: Leaving directory '/home/autobuild/autobuild/instance-0/output-1/build/spice-0.15.0' this is the am__doit target configure:4165: $? = 0 configure:4184: result: yes (GNU style) configure:4209: checking dependency style of /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc configure:4320: result: none configure:4335: checking for /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc option to accept ISO C99 configure:4484: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4484: $? = 0 configure:4497: result: none needed configure:4520: checking build system type configure:4534: result: aarch64-unknown-linux-gnu configure:4554: checking host system type configure:4567: result: x86_64-buildroot-linux-musl configure:4633: checking how to print strings configure:4660: result: printf configure:4681: checking for a sed that does not truncate output configure:4745: result: /usr/bin/sed configure:4763: checking for grep that handles long lines and -e configure:4821: result: /usr/bin/grep configure:4826: checking for egrep configure:4888: result: /usr/bin/grep -E configure:4893: checking for fgrep configure:4955: result: /usr/bin/grep -F configure:4990: checking for ld used by /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc configure:5057: result: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-ld configure:5064: checking if the linker (/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-ld) is GNU ld configure:5079: result: yes configure:5091: checking for BSD- or MS-compatible name lister (nm) configure:5145: result: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-nm configure:5275: checking the name lister (/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-nm) interface configure:5282: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5285: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-nm "conftest.o" configure:5288: output 0000000000000000 B some_variable configure:5295: result: BSD nm configure:5298: checking whether ln -s works configure:5302: result: yes configure:5310: checking the maximum length of command line arguments configure:5441: result: 1572864 configure:5489: checking how to convert aarch64-unknown-linux-gnu file names to x86_64-buildroot-linux-musl format configure:5529: result: func_convert_file_noop configure:5536: checking how to convert aarch64-unknown-linux-gnu file names to toolchain format configure:5556: result: func_convert_file_noop configure:5563: checking for /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-ld option to reload object files configure:5570: result: -r configure:5604: checking for x86_64-buildroot-linux-musl-objdump configure:5631: result: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-objdump configure:5703: checking how to recognize dependent libraries configure:5903: result: pass_all configure:5948: checking for x86_64-buildroot-linux-musl-dlltool configure:5978: result: no configure:5988: checking for dlltool configure:6018: result: no configure:6048: checking how to associate runtime and link libraries configure:6075: result: printf %s\n configure:6092: checking for x86_64-buildroot-linux-musl-ar configure:6119: result: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-ar configure:6200: checking for archiver @FILE support configure:6217: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6217: $? = 0 configure:6220: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-ar cru libconftest.a @conftest.lst >&5 configure:6223: $? = 0 configure:6228: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-ar cru libconftest.a @conftest.lst >&5 /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/../lib/gcc/x86_64-buildroot-linux-musl/10.3.0/../../../../x86_64-buildroot-linux-musl/bin/ar: conftest.o: No such file or directory configure:6231: $? = 1 configure:6243: result: @ configure:6261: checking for x86_64-buildroot-linux-musl-strip configure:6288: result: /bin/true configure:6360: checking for x86_64-buildroot-linux-musl-ranlib configure:6387: result: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-ranlib configure:6529: checking command to parse /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-nm output from /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc object configure:6682: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6685: $? = 0 configure:6689: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:6692: $? = 0 configure:6758: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c conftstm.o >&5 configure:6761: $? = 0 configure:6799: result: ok configure:6846: checking for sysroot configure:6876: result: no configure:6883: checking for a working dd configure:6921: result: /usr/bin/dd configure:6925: checking how to truncate binary pipes configure:6940: result: /usr/bin/dd bs=4096 count=1 configure:7076: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7079: $? = 0 configure:7229: checking for x86_64-buildroot-linux-musl-mt configure:7259: result: no configure:7269: checking for mt configure:7299: result: no configure:7319: checking if : is a manifest tool configure:7325: : '-?' configure:7333: result: no configure:8010: checking how to run the C preprocessor configure:8080: result: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-cpp configure:8100: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:8100: $? = 0 configure:8114: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-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:8114: $? = 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:8143: checking for ANSI C header files configure:8163: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8163: $? = 0 configure:8247: result: yes configure:8260: checking for sys/types.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8260: checking for sys/stat.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8260: checking for stdlib.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8260: checking for string.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8260: checking for memory.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8260: checking for strings.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8260: checking for inttypes.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8260: checking for stdint.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8260: checking for unistd.h configure:8260: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8260: $? = 0 configure:8260: result: yes configure:8274: checking for dlfcn.h configure:8274: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8274: $? = 0 configure:8274: result: yes configure:8529: checking for objdir configure:8544: result: .libs configure:8808: checking if /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc supports -fno-rtti -fno-exceptions configure:8826: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C configure:8830: $? = 0 configure:8843: result: no configure:9201: checking for /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc option to produce PIC configure:9208: result: -fPIC -DPIC configure:9216: checking if /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc PIC flag -fPIC -DPIC works configure:9234: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:9238: $? = 0 configure:9251: result: yes configure:9280: checking if /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc static flag -static works configure:9308: result: yes configure:9323: checking if /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc supports -c -o file.o configure:9344: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:9348: $? = 0 configure:9370: result: yes configure:9378: checking if /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc supports -c -o file.o configure:9425: result: yes configure:9458: checking whether the /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc linker (/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-ld -m elf_x86_64) supports shared libraries configure:10717: result: yes configure:10957: checking dynamic linker characteristics configure:11538: /home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11538: $? = 0 configure:11778: result: GNU/Linux ld.so configure:11900: checking how to hardcode library paths into programs configure:11925: result: immediate configure:12473: checking whether stripping libraries is possible configure:12495: result: no configure:12513: checking if libtool supports shared libraries configure:12515: result: yes configure:12518: checking whether to build shared libraries configure:12543: result: no configure:12546: checking whether to build static libraries configure:12550: result: yes configure:12588: checking whether byte ordering is bigendian configure:12794: result: no configure:12921: checking pkg-config is at least version 0.9.0 configure:12924: result: yes configure:13045: checking for C++ compiler version configure:13054: no --version >&5 ./configure: line 13056: no: command not found configure:13065: $? = 127 configure:13054: no -v >&5 ./configure: line 13056: no: command not found configure:13065: $? = 127 configure:13054: no -V >&5 ./configure: line 13056: no: command not found configure:13065: $? = 127 configure:13054: no -qversion >&5 ./configure: line 13056: no: command not found configure:13065: $? = 127 configure:13069: checking whether we are using the GNU C++ compiler configure:13088: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:13088: $? = 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:13097: result: no configure:13106: checking whether no accepts -g configure:13126: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:13126: $? = 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:13141: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:13141: $? = 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:13157: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:13157: $? = 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:13167: result: no configure:13192: checking dependency style of no configure:13303: result: none configure:16655: checking whether no supports C++11 features with -std=gnu++11 configure:16951: no -std=gnu++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:16951: $? = 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:16960: result: no configure:16655: checking whether no supports C++11 features with -std=gnu++0x configure:16951: no -std=gnu++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:16951: $? = 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:16960: result: no configure:16977: checking whether no supports C++11 features with -std=c++11 configure:17273: no -std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:17273: $? = 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:17282: result: no configure:16977: checking whether no supports C++11 features with +std=c++11 configure:17273: no +std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:17273: $? = 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:17282: result: no configure:16977: checking whether no supports C++11 features with -h std=c++11 configure:17273: no -h std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:17273: $? = 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:17282: result: no configure:16977: checking whether no supports C++11 features with -std=c++0x configure:17273: no -std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:17273: $? = 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:17282: result: no configure:16977: checking whether no supports C++11 features with +std=c++0x configure:17273: no +std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:17273: $? = 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:17282: result: no configure:16977: checking whether no supports C++11 features with -h std=c++0x configure:17273: no -h std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 2000: no: command not found configure:17273: $? = 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:17282: result: no configure:17306: error: *** A compiler with support for C++11 language features is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=aarch64-unknown-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -static' 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=' -static' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_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=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/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=aarch64-unknown-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-buildroot-linux-musl ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=x86_64-buildroot-linux-musl ac_cv_func_calloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_have_decl_malloc=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-buildroot-linux-musl ac_cv_lbl_unaligned_fail=no ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/usr/bin/dd ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AR=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc ac_cv_prog_CPP=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-cpp ac_cv_prog_OBJDUMP=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-objdump ac_cv_prog_RANLIB=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-ranlib ac_cv_prog_STRIP=/bin/true 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 gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes lt_cv_ar_at_file=@ lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-ld lt_cv_path_NM=/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-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='/usr/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## A2X='' ACLOCAL='${SHELL} /home/autobuild/autobuild/instance-0/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='/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-ar' ASCIIDOC='' AUTOCONF='${SHELL} /home/autobuild/autobuild/instance-0/output-1/build/spice-0.15.0/missing autoconf' AUTOHEADER='${SHELL} /home/autobuild/autobuild/instance-0/output-1/build/spice-0.15.0/missing autoheader' AUTOMAKE='${SHELL} /home/autobuild/autobuild/instance-0/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='/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static' CPP='/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-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 -Og -g0 -static -static' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/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='/usr/bin/grep -F' GIO_UNIX_CFLAGS='' GIO_UNIX_LIBS='' GLIB2_CFLAGS='' GLIB2_LIBS='' GREP='/usr/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='/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-ld -m elf_x86_64' LDFLAGS=' -static' 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} /home/autobuild/autobuild/instance-0/output-1/build/spice-0.15.0/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/usr/bin/mkdir -p' NM='/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-nm' NMEDIT='' NO_INDIRECT_LDFLAGS='' OBJDUMP='/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-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='/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' RANLIB='/home/autobuild/autobuild/instance-0/output-1/per-package/spice/host/bin/x86_64-buildroot-linux-musl-gcc-ranlib' RELRO_LDFLAGS='' SASL_CFLAGS='' SASL_LIBS='' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' 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='aarch64-unknown-linux-gnu' build_alias='aarch64-unknown-linux-gnu' build_cpu='aarch64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='x86_64-buildroot-linux-musl' host_alias='x86_64-buildroot-linux-musl' host_cpu='x86_64' host_os='linux-musl' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/autobuild/autobuild/instance-0/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-musl' 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