This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Capn Proto configure 0.7.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=arm-buildroot-linux-gnueabi --host=arm-buildroot-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --with-external-capnp ## --------- ## ## Platform. ## ## --------- ## hostname = shattrath uname -m = x86_64 uname -r = 3.16.0-10-amd64 uname -s = Linux uname -v = #1 SMP Debian 3.16.72-1 (2019-08-13) /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/buildroot/build/instance-0/output-1/host/bin PATH: /home/buildroot/build/instance-0/output-1/host/sbin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2671: checking for a BSD-compatible install configure:2739: result: /usr/bin/install -c configure:2750: checking whether build environment is sane configure:2805: result: yes configure:2864: checking for arm-buildroot-linux-gnueabi-strip configure:2891: result: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip configure:2956: checking for a thread-safe mkdir -p configure:2995: result: /bin/mkdir -p configure:3002: checking for gawk configure:3018: found /usr/bin/gawk configure:3029: result: gawk configure:3040: checking whether make sets $(MAKE) configure:3062: result: yes configure:3091: checking whether make supports nested variables configure:3108: result: yes configure:3197: checking whether UID '107' is supported by ustar format configure:3200: result: yes configure:3207: checking whether GID '113' is supported by ustar format configure:3210: result: yes configure:3218: checking how to create a ustar tar archive configure:3229: tar --version tar (GNU tar) 1.27.1 Copyright (C) 2013 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:3232: $? = 0 configure:3272: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3275: $? = 0 configure:3279: tar -xf - &5 arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease) Copyright (C) 2013 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:3719: $? = 0 configure:3708: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/build/instance-0/output-1/host/opt/ext-toolchain/bin/arm-none-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/home/buildroot/build/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-none-linux-gnueabi/4.8.3/lto-wrapper Target: arm-none-linux-gnueabi Configured with: /scratch/maciej/arm-linux-2014.05-rel/src/gcc-4.8-2014.05/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs --with-arch=armv5te --with-gnu-as --with-gnu-ld --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables} -D__CS_SOURCERYGXX_MAJ__=2014 -D__CS_SOURCERYGXX_MIN__=5 -D__CS_SOURCERYGXX_REV__=29' --enable-languages=c,c++ --enable-shared --enable-lto --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery CodeBench Lite 2014.05-29' --with-bugurl=https://sourcery.mentor.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/maciej/arm-linux-2014.05-rel/install/opt/codesourcery/arm-none-linux-gnueabi/libc --with-gmp=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-mpfr=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-mpc=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-isl=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-cloog=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --disable-libgomp --disable-libitm --enable-libatomic --disable-libssp --enable-poison-system-directories --with-build-time-tools=/scratch/maciej/arm-linux-2014.05-rel/install/opt/codesourcery/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/maciej/arm-linux-2014.05-rel/install/opt/codesourcery/arm-none-linux-gnueabi/bin SED=sed Thread model: posix gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite 2014.05-29) configure:3719: $? = 0 configure:3708: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -V >&5 arm-none-linux-gnueabi-gcc: error: unrecognized command line option '-V' arm-none-linux-gnueabi-gcc: fatal error: no input files compilation terminated. configure:3719: $? = 1 configure:3708: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -qversion >&5 arm-none-linux-gnueabi-gcc: error: unrecognized command line option '-qversion' arm-none-linux-gnueabi-gcc: fatal error: no input files compilation terminated. configure:3719: $? = 1 configure:3739: checking whether the C compiler works configure:3761: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -latomic >&5 configure:3765: $? = 0 configure:3813: result: yes configure:3816: checking for C compiler default output file name configure:3818: result: a.out configure:3824: checking for suffix of executables configure:3831: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -latomic >&5 configure:3835: $? = 0 configure:3857: result: configure:3879: checking whether we are cross compiling configure:3917: result: yes configure:3922: checking for suffix of object files configure:3944: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3948: $? = 0 configure:3969: result: o configure:3973: checking whether we are using the GNU C compiler configure:3992: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3992: $? = 0 configure:4001: result: yes configure:4010: checking whether /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc accepts -g configure:4030: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4030: $? = 0 configure:4071: result: yes configure:4088: checking for /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89 configure:4151: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4151: $? = 0 configure:4164: result: none needed configure:4189: checking whether /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc understands -c and -o together configure:4211: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -c conftest.c -o conftest2.o configure:4214: $? = 0 configure:4211: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -c conftest.c -o conftest2.o configure:4214: $? = 0 configure:4226: result: yes configure:4254: checking for style of include used by make configure:4282: result: GNU configure:4308: checking dependency style of /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc configure:4419: result: none configure:4546: checking for C++ compiler version configure:4555: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ --version >&5 arm-none-linux-gnueabi-g++ (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease) Copyright (C) 2013 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:4566: $? = 0 configure:4555: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/build/instance-0/output-1/host/opt/ext-toolchain/bin/arm-none-linux-gnueabi-g++ COLLECT_LTO_WRAPPER=/home/buildroot/build/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-none-linux-gnueabi/4.8.3/lto-wrapper Target: arm-none-linux-gnueabi Configured with: /scratch/maciej/arm-linux-2014.05-rel/src/gcc-4.8-2014.05/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs --with-arch=armv5te --with-gnu-as --with-gnu-ld --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables} -D__CS_SOURCERYGXX_MAJ__=2014 -D__CS_SOURCERYGXX_MIN__=5 -D__CS_SOURCERYGXX_REV__=29' --enable-languages=c,c++ --enable-shared --enable-lto --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery CodeBench Lite 2014.05-29' --with-bugurl=https://sourcery.mentor.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/maciej/arm-linux-2014.05-rel/install/opt/codesourcery/arm-none-linux-gnueabi/libc --with-gmp=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-mpfr=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-mpc=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-isl=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --with-cloog=/scratch/maciej/arm-linux-2014.05-rel/obj/pkg-2014.05-29-arm-none-linux-gnueabi/arm-2014.05-29-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr --disable-libgomp --disable-libitm --enable-libatomic --disable-libssp --enable-poison-system-directories --with-build-time-tools=/scratch/maciej/arm-linux-2014.05-rel/install/opt/codesourcery/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/maciej/arm-linux-2014.05-rel/install/opt/codesourcery/arm-none-linux-gnueabi/bin SED=sed Thread model: posix gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite 2014.05-29) configure:4566: $? = 0 configure:4555: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -V >&5 arm-none-linux-gnueabi-g++: error: unrecognized command line option '-V' arm-none-linux-gnueabi-g++: fatal error: no input files compilation terminated. configure:4566: $? = 1 configure:4555: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -qversion >&5 arm-none-linux-gnueabi-g++: error: unrecognized command line option '-qversion' arm-none-linux-gnueabi-g++: fatal error: no input files compilation terminated. configure:4566: $? = 1 configure:4570: checking whether we are using the GNU C++ compiler configure:4589: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:4589: $? = 0 configure:4598: result: yes configure:4607: checking whether /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ accepts -g configure:4627: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:4627: $? = 0 configure:4668: result: yes configure:4693: checking dependency style of /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ configure:4804: result: none configure:4827: checking whether /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ supports C++14 features by default configure:4883: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:15:19: error: expected identifier before 'sizeof' static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:15:19: error: expected ',' or '...' before 'sizeof' conftest.cpp:15:61: error: ISO C++ forbids declaration of 'static_assert' with no type [-fpermissive] static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:18:27: error: '>>' should be '> >' within a nested template argument list typedef check> right_angle_brackets; ^ conftest.cpp:21:11: error: expected constructor, destructor, or type conversion before '(' token decltype(a) b; ^ conftest.cpp:25:13: error: expected unqualified-id before '&&' token check_type&& cr = static_cast(c); ^ conftest.cpp:49:30: error: ISO C++ forbids declaration of 'deduceReturnType' with no type [-fpermissive] auto deduceReturnType(int i) { return i; } ^ conftest.cpp:49:30: error: top-level declaration of 'deduceReturnType' specifies 'auto' conftest.cpp:49:30: error: storage class 'auto' invalid for function 'deduceReturnType' conftest.cpp:51:8: error: 'genericLambda' does not name a type auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:52:8: error: 'captureExpressions' does not name a type auto captureExpressions = [x = 123]() { return x; }; ^ conftest.cpp: In function 'int foo()': conftest.cpp:56:30: error: 'genericLambda' was not declared in this scope return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:56:53: error: 'captureExpressions' was not declared in this scope return genericLambda(1, 2) + captureExpressions(); ^ configure:4883: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:4890: result: no configure:4899: checking whether /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ supports C++14 features with -std=gnu++14 configure:4957: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -std=gnu++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 arm-none-linux-gnueabi-g++: error: unrecognized command line option '-std=gnu++14' configure:4957: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:4966: result: no configure:4899: checking whether /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ supports C++14 features with -std=gnu++1y configure:4957: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -std=gnu++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:51:32: error: parameter declared 'auto' auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:40: error: parameter declared 'auto' auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp: In lambda function: conftest.cpp:51:52: error: 'x' was not declared in this scope auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:56: error: 'y' was not declared in this scope auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp: In function 'int foo()': conftest.cpp:56:30: error: no match for call to '(__lambda0) (int, int)' return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:51:25: note: candidates are: auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:56:30: note: void (*)() return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:56:30: note: candidate expects 1 argument, 3 provided conftest.cpp:51:41: note: __lambda0 auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:41: note: candidate expects 0 arguments, 2 provided configure:4957: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:4966: result: no configure:4979: checking whether /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ supports C++14 features with -std=c++14 configure:5037: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -std=c++14 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 arm-none-linux-gnueabi-g++: error: unrecognized command line option '-std=c++14' configure:5037: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:5046: result: no configure:4979: checking whether /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ supports C++14 features with -std=c++1y configure:5037: /home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ -std=c++1y -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:51:32: error: parameter declared 'auto' auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:40: error: parameter declared 'auto' auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp: In lambda function: conftest.cpp:51:52: error: 'x' was not declared in this scope auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:56: error: 'y' was not declared in this scope auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp: In function 'int foo()': conftest.cpp:56:30: error: no match for call to '(__lambda0) (int, int)' return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:51:25: note: candidates are: auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:56:30: note: void (*)() return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:56:30: note: candidate expects 1 argument, 3 provided conftest.cpp:51:41: note: __lambda0 auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:41: note: candidate expects 0 arguments, 2 provided configure:5037: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:5046: result: no configure:5057: error: *** A compiler with support for C++14 language features is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value=-latomic ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=arm-buildroot-linux-gnueabi ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=arm-buildroot-linux-gnueabi ac_cv_func_calloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_have_decl_malloc=yes ac_cv_lbl_unaligned_fail=yes ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc ac_cv_prog_STRIP=/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-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 am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes am_cv_prog_tar_ustar=gnutar ax_cv_cxx_compile_cxx14=no ax_cv_cxx_compile_cxx14__std_cpp14=no ax_cv_cxx_compile_cxx14__std_cpp1y=no ax_cv_cxx_compile_cxx14__std_gnupp14=no ax_cv_cxx_compile_cxx14__std_gnupp1y=no gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/buildroot/build/instance-0/output-1/build/capnproto-0.7.0/c++/build-aux/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='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ar' ASYNC_LIBS='' AUTOCONF='${SHELL} /home/buildroot/build/instance-0/output-1/build/capnproto-0.7.0/c++/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/buildroot/build/instance-0/output-1/build/capnproto-0.7.0/c++/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/buildroot/build/instance-0/output-1/build/capnproto-0.7.0/c++/build-aux/missing automake-1.15' AWK='gawk' BUILD_KJ_TLS_FALSE='' BUILD_KJ_TLS_TRUE='' CAPNP='' CAPNPC_CXX='' CAPNP_CMAKE_CONFIG_FILES='' CAPNP_LITE_FLAG='' CAPNP_PKG_CONFIG_FILES='' CC='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' CMAKE_SIZEOF_VOID_P='' CPP='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CXX='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++' CXXCPP='' CXXDEPMODE='depmode=none' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FGREP='' GREP='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld' LDFLAGS='' LIBOBJS='' LIBS='-latomic' LIBTOOL='' LIPO='' LITE_MODE_FALSE='' LITE_MODE_TRUE='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/buildroot/build/instance-0/output-1/build/capnproto-0.7.0/c++/build-aux/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/bin/mkdir -p' NM='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm' NMEDIT='' OBJDUMP='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='capnproto-c++' PACKAGE_BUGREPORT='capnproto@googlegroups.com' PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR='' PACKAGE_INIT='' PACKAGE_NAME='Capn Proto' PACKAGE_STRING='Capn Proto 0.7.0' PACKAGE_TARNAME='capnproto-c++' PACKAGE_URL='' PACKAGE_VERSION='0.7.0' PATH_SEPARATOR=':' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_LIBS='' RANLIB='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ranlib' SED='' SET_MAKE='' SHELL='/bin/sh' STDLIB_FLAG='' STRIP='/home/buildroot/build/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip' USE_EXTERNAL_CAPNP_FALSE='' USE_EXTERNAL_CAPNP_TRUE='' VERSION='0.7.0' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' acx_pthread_config='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='arm-buildroot-linux-gnueabi' host_alias='arm-buildroot-linux-gnueabi' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/buildroot/build/instance-0/output-1/build/capnproto-0.7.0/c++/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='arm-buildroot-linux-gnueabi' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Capn Proto" #define PACKAGE_TARNAME "capnproto-c++" #define PACKAGE_VERSION "0.7.0" #define PACKAGE_STRING "Capn Proto 0.7.0" #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" #define PACKAGE_URL "" #define PACKAGE "capnproto-c++" #define VERSION "0.7.0" configure: exit 1