This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Protocol Buffers configure 3.6.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/home/peko/autobuild/instance-1/output/host --sysconfdir=/home/peko/autobuild/instance-1/output/host/etc --localstatedir=/home/peko/autobuild/instance-1/output/host/var --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-dependency-tracking ## --------- ## ## Platform. ## ## --------- ## hostname = gcc20 uname -m = x86_64 uname -r = 3.2.0-4-amd64 uname -s = Linux uname -v = #1 SMP Debian 3.2.63-2+deb7u2 /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/peko/autobuild/instance-1/output/host/bin PATH: /home/peko/autobuild/instance-1/output/host/sbin PATH: /home/peko/host/usr/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/games PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2620: checking whether to enable maintainer-specific portions of Makefiles configure:2629: result: yes configure:2704: checking build system type configure:2718: result: x86_64-pc-linux-gnu configure:2738: checking host system type configure:2751: result: x86_64-pc-linux-gnu configure:2771: checking target system type configure:2784: result: x86_64-pc-linux-gnu configure:2827: checking for a BSD-compatible install configure:2895: result: /usr/bin/install -c configure:2906: checking whether build environment is sane configure:2961: result: yes configure:3112: checking for a thread-safe mkdir -p configure:3151: result: /bin/mkdir -p configure:3158: checking for gawk configure:3174: found /home/peko/autobuild/instance-1/output/host/bin/gawk configure:3185: result: gawk configure:3196: checking whether make sets $(MAKE) configure:3218: result: yes configure:3247: checking whether make supports nested variables configure:3264: result: yes configure:3353: checking whether UID '1043' is supported by ustar format configure:3356: result: yes configure:3363: checking whether GID '1043' is supported by ustar format configure:3366: result: yes configure:3374: checking how to create a ustar tar archive configure:3385: tar --version tar (GNU tar) 1.29 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. configure:3388: $? = 0 configure:3428: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3431: $? = 0 configure:3435: tar -xf - &5 gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 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:3864: $? = 0 configure:3853: /usr/bin/gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5) configure:3864: $? = 0 configure:3853: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3864: $? = 4 configure:3853: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3864: $? = 4 configure:3884: checking whether the C compiler works configure:3906: /usr/bin/gcc -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c >&5 configure:3910: $? = 0 configure:3958: result: yes configure:3961: checking for C compiler default output file name configure:3963: result: a.out configure:3969: checking for suffix of executables configure:3976: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c >&5 configure:3980: $? = 0 configure:4002: result: configure:4024: checking whether we are cross compiling configure:4032: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c >&5 configure:4036: $? = 0 configure:4043: ./conftest configure:4047: $? = 0 configure:4062: result: no configure:4067: checking for suffix of object files configure:4089: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4093: $? = 0 configure:4114: result: o configure:4118: checking whether we are using the GNU C compiler configure:4137: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4137: $? = 0 configure:4146: result: yes configure:4155: checking whether /usr/bin/gcc accepts -g configure:4175: /usr/bin/gcc -c -g -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4175: $? = 0 configure:4216: result: yes configure:4233: checking for /usr/bin/gcc option to accept ISO C89 configure:4296: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4296: $? = 0 configure:4309: result: none needed configure:4334: checking whether /usr/bin/gcc understands -c and -o together configure:4356: /usr/bin/gcc -c conftest.c -o conftest2.o configure:4359: $? = 0 configure:4356: /usr/bin/gcc -c conftest.c -o conftest2.o configure:4359: $? = 0 configure:4371: result: yes configure:4399: checking for style of include used by make configure:4427: result: GNU configure:4453: checking dependency style of /usr/bin/gcc configure:4564: result: none configure:4691: checking for C++ compiler version configure:4700: /usr/bin/g++ --version >&5 g++ (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 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:4711: $? = 0 configure:4700: /usr/bin/g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5) configure:4711: $? = 0 configure:4700: /usr/bin/g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:4711: $? = 4 configure:4700: /usr/bin/g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:4711: $? = 4 configure:4715: checking whether we are using the GNU C++ compiler configure:4734: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:4734: $? = 0 configure:4743: result: yes configure:4752: checking whether /usr/bin/g++ accepts -g configure:4772: /usr/bin/g++ -c -g -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:4772: $? = 0 configure:4813: result: yes configure:4838: checking dependency style of /usr/bin/g++ configure:4949: result: none configure:4969: checking how to run the C preprocessor configure:5039: result: /usr/bin/cpp configure:5059: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c configure:5059: $? = 0 configure:5073: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5073: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.0" | /* end confdefs.h. */ | #include configure:5157: checking for gcc configure:5173: found /usr/bin/gcc configure:5184: result: gcc configure:5413: checking for C compiler version configure:5422: gcc --version >&5 gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 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:5433: $? = 0 configure:5422: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5) configure:5433: $? = 0 configure:5422: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:5433: $? = 4 configure:5422: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:5433: $? = 4 configure:5437: checking whether we are using the GNU C compiler configure:5465: result: yes configure:5474: checking whether gcc accepts -g configure:5494: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:5494: $? = 0 configure:5535: result: yes configure:5552: checking for gcc option to accept ISO C89 configure:5628: result: none needed configure:5653: checking whether gcc understands -c and -o together configure:5690: result: yes configure:5709: checking dependency style of gcc configure:5820: result: none configure:5840: checking how to run the C preprocessor configure:5871: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c configure:5871: $? = 0 configure:5885: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5885: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.0" | /* end confdefs.h. */ | #include configure:5910: result: gcc -E configure:5930: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c configure:5930: $? = 0 configure:5944: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.0" | /* end confdefs.h. */ | #include configure:5986: checking how to run the C++ preprocessor configure:6013: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp configure:6013: $? = 0 configure:6027: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:6027: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.0" | /* end confdefs.h. */ | #include configure:6052: result: /usr/bin/g++ -E configure:6072: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp configure:6072: $? = 0 configure:6086: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:6086: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.0" | /* end confdefs.h. */ | #include configure:6179: checking for g++ configure:6195: found /usr/bin/g++ configure:6206: result: g++ configure:6233: checking for C++ compiler version configure:6242: g++ --version >&5 g++ (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 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:6253: $? = 0 configure:6242: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5) configure:6253: $? = 0 configure:6242: g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:6253: $? = 4 configure:6242: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:6253: $? = 4 configure:6257: checking whether we are using the GNU C++ compiler configure:6285: result: yes configure:6294: checking whether g++ accepts -g configure:6314: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6314: $? = 0 configure:6355: result: yes configure:6380: checking dependency style of g++ configure:6491: result: none configure:6511: checking how to run the C++ preprocessor configure:6538: g++ -E conftest.cpp configure:6538: $? = 0 configure:6552: g++ -E conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:6552: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.0" | /* end confdefs.h. */ | #include configure:6577: result: g++ -E configure:6597: g++ -E conftest.cpp configure:6597: $? = 0 configure:6611: g++ -E conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:6611: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.0" | /* end confdefs.h. */ | #include configure:6653: checking for grep that handles long lines and -e configure:6711: result: /bin/grep configure:6716: checking for egrep configure:6778: result: /bin/grep -E configure:6783: checking for ANSI C header files configure:6803: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6803: $? = 0 configure:6876: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 configure:6876: $? = 0 configure:6876: ./conftest configure:6876: $? = 0 configure:6887: result: yes configure:6900: checking for sys/types.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6900: checking for sys/stat.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6900: checking for stdlib.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6900: checking for string.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6900: checking for memory.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6900: checking for strings.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6900: checking for inttypes.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6900: checking for stdint.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6900: checking for unistd.h configure:6900: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6900: $? = 0 configure:6900: result: yes configure:6913: checking minix/config.h usability configure:6913: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 conftest.cpp:54:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:6913: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:6913: result: no configure:6913: checking minix/config.h presence configure:6913: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp conftest.cpp:21:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:6913: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 | /* end confdefs.h. */ | #include configure:6913: result: no configure:6913: checking for minix/config.h configure:6913: result: no configure:6934: checking whether it is safe to define __EXTENSIONS__ configure:6952: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:6952: $? = 0 configure:6959: result: yes configure:7081: checking the archiver (/usr/bin/ar) interface configure:7097: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:7097: $? = 0 configure:7099: /usr/bin/ar cru libconftest.a conftest.o >&5 configure:7102: $? = 0 configure:7130: result: ar configure:7212: checking for gcc configure:7228: found /usr/bin/gcc configure:7239: result: gcc configure:7264: checking for Objective C compiler version configure:7273: gcc --version >&5 gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 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:7284: $? = 0 configure:7273: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5) configure:7284: $? = 0 configure:7273: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:7284: $? = 4 configure:7273: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:7284: $? = 4 configure:7288: checking whether we are using the GNU Objective C compiler configure:7307: gcc -c -I/home/peko/autobuild/instance-1/output/host/include conftest.m >&5 configure:7307: $? = 0 configure:7316: result: yes configure:7325: checking whether gcc accepts -g configure:7345: gcc -c -g -I/home/peko/autobuild/instance-1/output/host/include conftest.m >&5 configure:7345: $? = 0 configure:7386: result: yes configure:7411: checking dependency style of gcc configure:7520: result: none configure:7537: checking C++ compiler flags... configure:7558: result: use user-supplied: -O2 -I/home/peko/autobuild/instance-1/output/host/include configure:7573: checking whether __SUNPRO_CC is declared configure:7573: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:64:10: error: '__SUNPRO_CC' was not declared in this scope configure:7573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | #ifndef __SUNPRO_CC | #ifdef __cplusplus | (void) __SUNPRO_CC; | #else | (void) __SUNPRO_CC; | #endif | #endif | | ; | return 0; | } configure:7573: result: no configure:7737: checking how to print strings configure:7764: result: printf configure:7785: checking for a sed that does not truncate output configure:7849: result: /bin/sed configure:7867: checking for fgrep configure:7929: result: /bin/grep -F configure:7964: checking for ld used by /usr/bin/gcc configure:8031: result: /usr/bin/ld configure:8038: checking if the linker (/usr/bin/ld) is GNU ld configure:8053: result: yes configure:8065: checking for BSD- or MS-compatible name lister (nm) configure:8119: result: /usr/bin/nm configure:8249: checking the name lister (/usr/bin/nm) interface configure:8256: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:8259: /usr/bin/nm "conftest.o" configure:8262: output 0000000000000000 B some_variable configure:8269: result: BSD nm configure:8272: checking whether ln -s works configure:8276: result: yes configure:8284: checking the maximum length of command line arguments configure:8415: result: 3458764513820540925 configure:8463: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:8503: result: func_convert_file_noop configure:8510: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8530: result: func_convert_file_noop configure:8537: checking for /usr/bin/ld option to reload object files configure:8544: result: -r configure:8618: checking for objdump configure:8634: found /usr/bin/objdump configure:8645: result: objdump configure:8677: checking how to recognize dependent libraries configure:8877: result: pass_all configure:8962: checking for dlltool configure:8992: result: no configure:9022: checking how to associate runtime and link libraries configure:9049: result: printf %s\n configure:9173: checking for archiver @FILE support configure:9190: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:9190: $? = 0 configure:9193: /usr/bin/ar cru libconftest.a @conftest.lst >&5 configure:9196: $? = 0 configure:9201: /usr/bin/ar cru libconftest.a @conftest.lst >&5 /usr/bin/ar: conftest.o: No such file or directory configure:9204: $? = 1 configure:9216: result: @ configure:9274: checking for strip configure:9290: found /usr/bin/strip configure:9301: result: strip configure:9373: checking for ranlib configure:9400: result: /usr/bin/ranlib configure:9502: checking command to parse /usr/bin/nm output from /usr/bin/gcc object configure:9655: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:9658: $? = 0 configure:9662: /usr/bin/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:9665: $? = 0 configure:9731: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp conftstm.o >&5 configure:9734: $? = 0 configure:9772: result: ok configure:9819: checking for sysroot configure:9849: result: no configure:9856: checking for a working dd configure:9894: result: /bin/dd configure:9898: checking how to truncate binary pipes configure:9913: result: /bin/dd bs=4096 count=1 configure:10049: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:10052: $? = 0 configure:10242: checking for mt configure:10258: found /bin/mt configure:10269: result: mt configure:10292: checking if mt is a manifest tool configure:10298: mt '-?' configure:10306: result: no configure:10980: checking for dlfcn.h configure:10980: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:10980: $? = 0 configure:10980: result: yes configure:11246: checking for objdir configure:11261: result: .libs configure:11525: checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions configure:11543: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] configure:11547: $? = 0 configure:11560: result: no configure:11918: checking for /usr/bin/gcc option to produce PIC configure:11925: result: -fPIC -DPIC configure:11933: checking if /usr/bin/gcc PIC flag -fPIC -DPIC works configure:11951: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -fPIC -DPIC -DPIC conftest.c >&5 configure:11955: $? = 0 configure:11968: result: yes configure:11997: checking if /usr/bin/gcc static flag -static works configure:12025: result: yes configure:12040: checking if /usr/bin/gcc supports -c -o file.o configure:12061: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -o out/conftest2.o conftest.c >&5 configure:12065: $? = 0 configure:12087: result: yes configure:12095: checking if /usr/bin/gcc supports -c -o file.o configure:12142: result: yes configure:12175: checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:13438: result: yes configure:13475: checking whether -lc should be explicitly linked in configure:13483: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:13486: $? = 0 configure:13501: /usr/bin/gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:13504: $? = 0 configure:13518: result: no configure:13678: checking dynamic linker characteristics configure:14259: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath -Wl,/foo conftest.c >&5 configure:14259: $? = 0 configure:14508: result: GNU/Linux ld.so configure:14630: checking how to hardcode library paths into programs configure:14655: result: immediate configure:15203: checking whether stripping libraries is possible configure:15208: result: yes configure:15243: checking if libtool supports shared libraries configure:15245: result: yes configure:15248: checking whether to build shared libraries configure:15273: result: yes configure:15276: checking whether to build static libraries configure:15280: result: no configure:15303: checking how to run the C++ preprocessor configure:15369: result: /usr/bin/g++ -E configure:15389: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp configure:15389: $? = 0 configure:15403: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp conftest.cpp:28:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:15403: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:15565: checking for ld used by /usr/bin/g++ configure:15632: result: /usr/bin/ld -m elf_x86_64 configure:15639: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:15654: result: yes configure:15709: checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:16782: result: yes configure:16818: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:16821: $? = 0 configure:17302: checking for /usr/bin/g++ option to produce PIC configure:17309: result: -fPIC -DPIC configure:17317: checking if /usr/bin/g++ PIC flag -fPIC -DPIC works configure:17335: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -fPIC -DPIC -DPIC conftest.cpp >&5 configure:17339: $? = 0 configure:17352: result: yes configure:17375: checking if /usr/bin/g++ static flag -static works configure:17403: result: yes configure:17415: checking if /usr/bin/g++ supports -c -o file.o configure:17436: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -o out/conftest2.o conftest.cpp >&5 configure:17440: $? = 0 configure:17462: result: yes configure:17467: checking if /usr/bin/g++ supports -c -o file.o configure:17514: result: yes configure:17544: checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:17587: result: yes configure:17728: checking dynamic linker characteristics configure:18485: result: GNU/Linux ld.so configure:18550: checking how to hardcode library paths into programs configure:18575: result: immediate configure:18638: checking whether the linker supports version scripts configure:18654: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib -Wl,--version-script=conftest.map conftest.cpp >&5 configure:18654: $? = 0 configure:18655: result: yes configure:18674: checking for ANSI C header files configure:18778: result: yes configure:18789: checking fcntl.h usability configure:18789: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:18789: $? = 0 configure:18789: result: yes configure:18789: checking fcntl.h presence configure:18789: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp configure:18789: $? = 0 configure:18789: result: yes configure:18789: checking for fcntl.h configure:18789: result: yes configure:18789: checking for inttypes.h configure:18789: result: yes configure:18789: checking limits.h usability configure:18789: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:18789: $? = 0 configure:18789: result: yes configure:18789: checking limits.h presence configure:18789: /usr/bin/g++ -E -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp configure:18789: $? = 0 configure:18789: result: yes configure:18789: checking for limits.h configure:18789: result: yes configure:18789: checking for stdlib.h configure:18789: result: yes configure:18789: checking for unistd.h configure:18789: result: yes configure:18801: checking for working memcmp configure:18844: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 configure:18844: $? = 0 configure:18844: ./conftest configure:18844: $? = 0 configure:18854: result: yes configure:18863: checking for working strtod configure:18904: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:76:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] conftest.cpp:87:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] configure:18904: $? = 0 configure:18904: ./conftest configure:18904: $? = 0 configure:18914: result: yes configure:18979: checking for ftruncate configure:18979: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 configure:18979: $? = 0 configure:18979: result: yes configure:18979: checking for memset configure:18979: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 configure:18979: $? = 0 configure:18979: result: yes configure:18979: checking for mkdir configure:18979: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 configure:18979: $? = 0 configure:18979: result: yes configure:18979: checking for strchr configure:18979: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 configure:18979: $? = 0 configure:18979: result: yes configure:18979: checking for strerror configure:18979: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 configure:18979: $? = 0 configure:18979: result: yes configure:18979: checking for strtol configure:18979: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 configure:18979: $? = 0 configure:18979: result: yes configure:18993: checking zlib version configure:19013: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:19013: $? = 0 configure:19015: result: ok (1.2.0.4 or later) configure:19019: checking for library containing zlibVersion configure:19050: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp >&5 /tmp/cc7mkjBd.o: In function `main': conftest.cpp:(.text.startup+0x5): undefined reference to `zlibVersion' collect2: error: ld returned 1 exit status configure:19050: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char zlibVersion (); | int | main () | { | return zlibVersion (); | ; | return 0; | } configure:19050: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp -lz >&5 configure:19050: $? = 0 configure:19067: result: -lz configure:19337: checking whether /usr/bin/gcc is Clang configure:19362: result: no configure:19485: checking whether pthreads work with -pthread configure:19579: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -pthread -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -lz >&5 configure:19579: $? = 0 configure:19588: result: yes configure:19607: checking for joinable pthread attribute configure:19625: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -pthread -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -lz >&5 configure:19625: $? = 0 configure:19633: result: PTHREAD_CREATE_JOINABLE configure:19647: checking whether more special flags are required for pthreads configure:19660: result: no configure:19668: checking for PTHREAD_PRIO_INHERIT configure:19684: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -pthread -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -lz >&5 configure:19684: $? = 0 configure:19693: result: yes configure:19805: checking the location of hash_map configure:19831: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:19831: $? = 0 configure:19853: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 In file included from /usr/include/c++/4.7/unordered_map:35:0, from conftest.cpp:43: /usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. conftest.cpp: In function 'int main()': conftest.cpp:47:7: error: 'unordered_map' in namespace 'std' does not name a type conftest.cpp:48:33: error: 't' was not declared in this scope configure:19853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | /* end confdefs.h. */ | #include | int | main () | { | const std::unordered_map t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19853: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 In file included from /usr/include/c++/4.7/unordered_map:35:0, from conftest.cpp:43: /usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. conftest.cpp: In function 'int main()': conftest.cpp:47:7: error: 'tr1' in namespace 'std' does not name a type conftest.cpp:48:33: error: 't' was not declared in this scope configure:19853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | /* end confdefs.h. */ | #include | int | main () | { | const std::tr1::unordered_map t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19853: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:47:7: error: 'unordered_map' in namespace 'std' does not name a type conftest.cpp:48:33: error: 't' was not declared in this scope configure:19853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | /* end confdefs.h. */ | #include | int | main () | { | const std::unordered_map t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19853: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 configure:19853: $? = 0 configure:19920: result: configure:19935: checking for library containing sched_yield configure:19966: /usr/bin/g++ -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.cpp -lz >&5 configure:19966: $? = 0 configure:19983: result: none required configure:20022: checking whether /usr/bin/g++ supports C++11 features by default configure:20335: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 conftest.cpp:61:2: error: #error "This is not a C++11 compiler" configure:20335: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_HASH_MAP 1 | #define HAVE_HASH_SET 1 | #define HASH_MAP_H | #define HASH_SET_H | #define HASH_NAMESPACE std::tr1 | #define HASH_MAP_CLASS unordered_map | #define HASH_SET_CLASS unordered_set | /* 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 | | #include | | 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 test_std_move_and_forward | { | struct message {}; | char foo(message&) { return '\0'; } | int foo(message&&) { return 0; } | | template | void check(Arg&& arg, RT rt) { | static_assert(sizeof(rt) == sizeof(foo(std::forward(arg))), ""); | } | void test() { | message a; | check(a, char()); | check(std::move(a), int()); | } | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:20342: result: no configure:20354: checking whether /usr/bin/g++ supports C++11 features with -std=c++11 configure:20669: /usr/bin/g++ -std=c++11 -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1>': conftest.cpp:301:25: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<23>': conftest.cpp:302:26: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<23>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1, 2>': conftest.cpp:303:28: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1, 2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2>': conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<1, 2>::value' conftest.cpp:303:30: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 5, 11>': conftest.cpp:304:32: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 11>': conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:304:34: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<5, 11>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:304:34: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>': conftest.cpp:305:42: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>': conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 7, 11, 13>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<7, 11, 13>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11, 13>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<13>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<13>::value' has no initializer configure:20669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_HASH_MAP 1 | #define HAVE_HASH_SET 1 | #define HASH_MAP_H | #define HASH_SET_H | #define HASH_NAMESPACE std::tr1 | #define HASH_MAP_CLASS unordered_map | #define HASH_SET_CLASS unordered_set | /* 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 | | #include | | 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 test_std_move_and_forward | { | struct message {}; | char foo(message&) { return '\0'; } | int foo(message&&) { return 0; } | | template | void check(Arg&& arg, RT rt) { | static_assert(sizeof(rt) == sizeof(foo(std::forward(arg))), ""); | } | void test() { | message a; | check(a, char()); | check(std::move(a), int()); | } | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:20678: result: no configure:20354: checking whether /usr/bin/g++ supports C++11 features with +std=c++11 configure:20669: /usr/bin/g++ +std=c++11 -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 g++: error: +std=c++11: No such file or directory configure:20669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_HASH_MAP 1 | #define HAVE_HASH_SET 1 | #define HASH_MAP_H | #define HASH_SET_H | #define HASH_NAMESPACE std::tr1 | #define HASH_MAP_CLASS unordered_map | #define HASH_SET_CLASS unordered_set | /* 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 | | #include | | 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 test_std_move_and_forward | { | struct message {}; | char foo(message&) { return '\0'; } | int foo(message&&) { return 0; } | | template | void check(Arg&& arg, RT rt) { | static_assert(sizeof(rt) == sizeof(foo(std::forward(arg))), ""); | } | void test() { | message a; | check(a, char()); | check(std::move(a), int()); | } | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:20678: result: no configure:20354: checking whether /usr/bin/g++ supports C++11 features with -h std=c++11 configure:20669: /usr/bin/g++ -h std=c++11 -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 g++: error: unrecognized option '-h' configure:20669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_HASH_MAP 1 | #define HAVE_HASH_SET 1 | #define HASH_MAP_H | #define HASH_SET_H | #define HASH_NAMESPACE std::tr1 | #define HASH_MAP_CLASS unordered_map | #define HASH_SET_CLASS unordered_set | /* 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 | | #include | | 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 test_std_move_and_forward | { | struct message {}; | char foo(message&) { return '\0'; } | int foo(message&&) { return 0; } | | template | void check(Arg&& arg, RT rt) { | static_assert(sizeof(rt) == sizeof(foo(std::forward(arg))), ""); | } | void test() { | message a; | check(a, char()); | check(std::move(a), int()); | } | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:20678: result: no configure:20354: checking whether /usr/bin/g++ supports C++11 features with -std=c++0x configure:20669: /usr/bin/g++ -std=c++0x -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1>': conftest.cpp:301:25: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<23>': conftest.cpp:302:26: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<23>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1, 2>': conftest.cpp:303:28: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1, 2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2>': conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<1, 2>::value' conftest.cpp:303:30: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 5, 11>': conftest.cpp:304:32: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 11>': conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:304:34: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<5, 11>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:304:34: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>': conftest.cpp:305:42: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>': conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 7, 11, 13>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<7, 11, 13>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11, 13>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<13>': conftest.cpp:291:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:291:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:305:44: required from here conftest.cpp:291:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<13>::value' has no initializer configure:20669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_HASH_MAP 1 | #define HAVE_HASH_SET 1 | #define HASH_MAP_H | #define HASH_SET_H | #define HASH_NAMESPACE std::tr1 | #define HASH_MAP_CLASS unordered_map | #define HASH_SET_CLASS unordered_set | /* 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 | | #include | | 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 test_std_move_and_forward | { | struct message {}; | char foo(message&) { return '\0'; } | int foo(message&&) { return 0; } | | template | void check(Arg&& arg, RT rt) { | static_assert(sizeof(rt) == sizeof(foo(std::forward(arg))), ""); | } | void test() { | message a; | check(a, char()); | check(std::move(a), int()); | } | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:20678: result: no configure:20354: checking whether /usr/bin/g++ supports C++11 features with +std=c++0x configure:20669: /usr/bin/g++ +std=c++0x -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 g++: error: +std=c++0x: No such file or directory configure:20669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_HASH_MAP 1 | #define HAVE_HASH_SET 1 | #define HASH_MAP_H | #define HASH_SET_H | #define HASH_NAMESPACE std::tr1 | #define HASH_MAP_CLASS unordered_map | #define HASH_SET_CLASS unordered_set | /* 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 | | #include | | 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 test_std_move_and_forward | { | struct message {}; | char foo(message&) { return '\0'; } | int foo(message&&) { return 0; } | | template | void check(Arg&& arg, RT rt) { | static_assert(sizeof(rt) == sizeof(foo(std::forward(arg))), ""); | } | void test() { | message a; | check(a, char()); | check(std::move(a), int()); | } | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:20678: result: no configure:20354: checking whether /usr/bin/g++ supports C++11 features with -h std=c++0x configure:20669: /usr/bin/g++ -h std=c++0x -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.cpp >&5 g++: error: unrecognized option '-h' configure:20669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.6.0" | #define PACKAGE_STRING "Protocol Buffers 3.6.0" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.6.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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MEMSET 1 | #define HAVE_MKDIR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRERROR 1 | #define HAVE_STRTOL 1 | #define HAVE_ZLIB 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD 1 | #define HAVE_HASH_MAP 1 | #define HAVE_HASH_SET 1 | #define HASH_MAP_H | #define HASH_SET_H | #define HASH_NAMESPACE std::tr1 | #define HASH_MAP_CLASS unordered_map | #define HASH_SET_CLASS unordered_set | /* 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 | | #include | | 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 test_std_move_and_forward | { | struct message {}; | char foo(message&) { return '\0'; } | int foo(message&&) { return 0; } | | template | void check(Arg&& arg, RT rt) { | static_assert(sizeof(rt) == sizeof(foo(std::forward(arg))), ""); | } | void test() { | message a; | check(a, char()); | check(std::move(a), int()); | } | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:20678: result: no configure:20702: error: *** A compiler with support for C++11 language features is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_build_prog_CPP='gcc -E' ac_cv_build_prog_CXXCPP='g++ -E' ac_cv_build_prog_cc_g=yes ac_cv_build_prog_cxx_g=yes ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_cxx_hash_map='' ac_cv_cxx_hash_map_class=unordered_map ac_cv_cxx_hash_namespace=std::tr1 ac_cv_cxx_hash_set='' ac_cv_cxx_hash_set_class=unordered_set ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -I/home/peko/autobuild/instance-1/output/host/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/home/peko/autobuild/instance-1/output/host/include ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/usr/bin/cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -I/home/peko/autobuild/instance-1/output/host/include' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/g++ ac_cv_env_DIST_LANG_set= ac_cv_env_DIST_LANG_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib' 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_OBJCFLAGS_set= ac_cv_env_OBJCFLAGS_value= ac_cv_env_OBJC_set= ac_cv_env_OBJC_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_ftruncate=yes ac_cv_func_memcmp_working=yes ac_cv_func_memset=yes ac_cv_func_mkdir=yes ac_cv_func_strchr=yes ac_cv_func_strerror=yes ac_cv_func_strtod=yes ac_cv_func_strtol=yes ac_cv_have_decl___SUNPRO_CC=no ac_cv_header_dlfcn_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_limits_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no 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-pc-linux-gnu ac_cv_objc_compiler_gnu=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP=/usr/bin/cpp ac_cv_prog_CXXCPP='/usr/bin/g++ -E' ac_cv_prog_ac_ct_CC=/usr/bin/gcc ac_cv_prog_ac_ct_CC_FOR_BUILD=gcc ac_cv_prog_ac_ct_CXX_FOR_BUILD=g++ ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJC=gcc ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=/usr/bin/ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_prog_objc_g=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_sched_yield='none required' ac_cv_search_zlibVersion=-lz ac_cv_target=x86_64-pc-linux-gnu am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_OBJC_dependencies_compiler_type=none am_cv_ar_interface=ar am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes am_cv_prog_tar_ustar=gnutar ax_cv_PTHREAD_CLANG=no ax_cv_PTHREAD_JOINABLE_ATTR=PTHREAD_CREATE_JOINABLE ax_cv_PTHREAD_PRIO_INHERIT=yes ax_cv_PTHREAD_SPECIAL_FLAGS=no ax_cv_cxx_compile_cxx11=no 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_pstd_cpp0x=no ax_cv_cxx_compile_cxx11_pstd_cpp11=no lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' lt_cv_path_NM=/usr/bin/nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=3458764513820540925 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/peko/autobuild/instance-1/output/build/host-protobuf-3.6.0/missing aclocal-1.15' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='/usr/bin/ar' AUTOCONF='${SHELL} /home/peko/autobuild/instance-1/output/build/host-protobuf-3.6.0/missing autoconf' AUTOHEADER='${SHELL} /home/peko/autobuild/instance-1/output/build/host-protobuf-3.6.0/missing autoheader' AUTOMAKE='${SHELL} /home/peko/autobuild/instance-1/output/build/host-protobuf-3.6.0/missing automake-1.15' AWK='gawk' BUILD_EXEEXT='' BUILD_OBJEXT='' CC='/usr/bin/gcc' CCDEPMODE='depmode=none' CC_FOR_BUILD='gcc' CFLAGS='-O2 -I/home/peko/autobuild/instance-1/output/host/include' CFLAGS_FOR_BUILD='-g -O2' CPP='/usr/bin/cpp' CPPFLAGS='-I/home/peko/autobuild/instance-1/output/host/include' CPPFLAGS_FOR_BUILD='' CPP_FOR_BUILD='gcc -E' CXX='/usr/bin/g++' CXXCPP='/usr/bin/g++ -E' CXXCPPFLAGS_FOR_BUILD='' CXXCPP_FOR_BUILD='g++ -E' CXXDEPMODE='depmode=none' CXXFLAGS='-O2 -I/home/peko/autobuild/instance-1/output/host/include' CXXFLAGS_FOR_BUILD='-g -O2' CXX_FOR_BUILD='g++' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DIST_LANG='all' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GCC_FALSE='#' GCC_TRUE='' GREP='/bin/grep' HAVE_CXX11='' HAVE_LD_VERSION_SCRIPT_FALSE='#' HAVE_LD_VERSION_SCRIPT_TRUE='' HAVE_PTHREAD_FALSE='#' HAVE_PTHREAD_TRUE='' HAVE_ZLIB_FALSE='#' HAVE_ZLIB_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' ISAINFO='' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='-L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib' LDFLAGS_FOR_BUILD='' LIBOBJS='' LIBS='-lz ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAINT='' MAINTAINER_MODE_FALSE='#' MAINTAINER_MODE_TRUE='' MAKEINFO='${SHELL} /home/peko/autobuild/instance-1/output/build/host-protobuf-3.6.0/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm' NMEDIT='' OBJC='gcc' OBJCDEPMODE='depmode=none' OBJCFLAGS='-g -O2' OBJC_CONFORMANCE_TEST_FALSE='' OBJC_CONFORMANCE_TEST_TRUE='#' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='protobuf' PACKAGE_BUGREPORT='protobuf@googlegroups.com' PACKAGE_NAME='Protocol Buffers' PACKAGE_STRING='Protocol Buffers 3.6.0' PACKAGE_TARNAME='protobuf' PACKAGE_URL='' PACKAGE_VERSION='3.6.0' PATH_SEPARATOR=':' POW_LIB='' PROTOBUF_OPT_FLAG='' PROTOC='' PTHREAD_CC='/usr/bin/gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' RANLIB='/usr/bin/ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' USE_EXTERNAL_PROTOC_FALSE='' USE_EXTERNAL_PROTOC_TRUE='#' VERSION='3.6.0' ac_ct_AR='' ac_ct_CC='/usr/bin/gcc' ac_ct_CC_FOR_BUILD='gcc' ac_ct_CXX='' ac_ct_CXX_FOR_BUILD='g++' ac_ct_DUMPBIN='' ac_ct_OBJC='gcc' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__fastdepOBJC_FALSE='' am__fastdepOBJC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' ax_pthread_config='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/peko/autobuild/instance-1/output/build/host-protobuf-3.6.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/home/peko/autobuild/instance-1/output/host/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/peko/autobuild/instance-1/output/host' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='/home/peko/autobuild/instance-1/output/host/etc' target='x86_64-pc-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Protocol Buffers" #define PACKAGE_TARNAME "protobuf" #define PACKAGE_VERSION "3.6.0" #define PACKAGE_STRING "Protocol Buffers 3.6.0" #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" #define PACKAGE_URL "" #define PACKAGE "protobuf" #define VERSION "3.6.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 __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define STDC_HEADERS 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_FTRUNCATE 1 #define HAVE_MEMSET 1 #define HAVE_MKDIR 1 #define HAVE_STRCHR 1 #define HAVE_STRERROR 1 #define HAVE_STRTOL 1 #define HAVE_ZLIB 1 #define HAVE_PTHREAD_PRIO_INHERIT 1 #define HAVE_PTHREAD 1 #define HAVE_HASH_MAP 1 #define HAVE_HASH_SET 1 #define HASH_MAP_H #define HASH_SET_H #define HASH_NAMESPACE std::tr1 #define HASH_MAP_CLASS unordered_map #define HASH_SET_CLASS unordered_set configure: exit 1