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.4.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host --sysconfdir=/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/etc --localstatedir=/usr/lfs/v0/rc-buildroot-test/scripts/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 = linuxtest5810 uname -m = x86_64 uname -r = 3.10.0-693.21.1.el7.x86_64 uname -s = Linux uname -v = #1 SMP Fri Feb 23 18:54:16 UTC 2018 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/bin PATH: /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/sbin PATH: /usr/bin PATH: /bin PATH: /accts/mlweber1/bin PATH: /accts/mlweber1/libexec/git-core PATH: /accts/mlweber1/usr/bin PATH: /accts/mlweber1/usr/local/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2595: checking whether to enable maintainer-specific portions of Makefiles configure:2604: result: yes configure:2679: checking build system type configure:2693: result: x86_64-pc-linux-gnu configure:2713: checking host system type configure:2726: result: x86_64-pc-linux-gnu configure:2746: checking target system type configure:2759: result: x86_64-pc-linux-gnu configure:2802: checking for a BSD-compatible install configure:2870: result: /usr/bin/install -c configure:2881: checking whether build environment is sane configure:2936: result: yes configure:3087: checking for a thread-safe mkdir -p configure:3126: result: /usr/bin/mkdir -p configure:3133: checking for gawk configure:3149: found /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/bin/gawk configure:3160: result: gawk configure:3171: checking whether make sets $(MAKE) configure:3193: result: yes configure:3222: checking whether make supports nested variables configure:3239: result: yes configure:3328: checking whether UID '1059' is supported by ustar format configure:3331: result: yes configure:3338: checking whether GID '8000' is supported by ustar format configure:3341: result: yes configure:3349: checking how to create a ustar tar archive configure:3360: 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:3363: $? = 0 configure:3403: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3406: $? = 0 configure:3410: tar -xf - &5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) Copyright (C) 2015 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:3824: $? = 0 configure:3813: /usr/bin/gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) configure:3824: $? = 0 configure:3813: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3824: $? = 4 configure:3813: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3824: $? = 4 configure:3844: checking whether the C compiler works configure:3866: /usr/bin/gcc -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c >&5 configure:3870: $? = 0 configure:3918: result: yes configure:3921: checking for C compiler default output file name configure:3923: result: a.out configure:3929: checking for suffix of executables configure:3936: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c >&5 configure:3940: $? = 0 configure:3962: result: configure:3984: checking whether we are cross compiling configure:3992: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c >&5 configure:3996: $? = 0 configure:4003: ./conftest configure:4007: $? = 0 configure:4022: result: no configure:4027: checking for suffix of object files configure:4049: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c >&5 configure:4053: $? = 0 configure:4074: result: o configure:4078: checking whether we are using the GNU C compiler configure:4097: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c >&5 configure:4097: $? = 0 configure:4106: result: yes configure:4115: checking whether /usr/bin/gcc accepts -g configure:4135: /usr/bin/gcc -c -g -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c >&5 configure:4135: $? = 0 configure:4176: result: yes configure:4193: checking for /usr/bin/gcc option to accept ISO C89 configure:4256: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c >&5 configure:4256: $? = 0 configure:4269: result: none needed configure:4294: checking whether /usr/bin/gcc understands -c and -o together configure:4316: /usr/bin/gcc -c conftest.c -o conftest2.o configure:4319: $? = 0 configure:4316: /usr/bin/gcc -c conftest.c -o conftest2.o configure:4319: $? = 0 configure:4331: result: yes configure:4359: checking for style of include used by make configure:4387: result: GNU configure:4413: checking dependency style of /usr/bin/gcc configure:4524: result: none configure:4651: checking for C++ compiler version configure:4660: /usr/bin/g++ --version >&5 g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) Copyright (C) 2015 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:4671: $? = 0 configure:4660: /usr/bin/g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) configure:4671: $? = 0 configure:4660: /usr/bin/g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:4671: $? = 4 configure:4660: /usr/bin/g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:4671: $? = 4 configure:4675: checking whether we are using the GNU C++ compiler configure:4694: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:4694: $? = 0 configure:4703: result: yes configure:4712: checking whether /usr/bin/g++ accepts -g configure:4732: /usr/bin/g++ -c -g -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:4732: $? = 0 configure:4773: result: yes configure:4798: checking dependency style of /usr/bin/g++ configure:4909: result: none configure:4929: checking how to run the C preprocessor configure:4999: result: /usr/bin/cpp configure:5019: /usr/bin/cpp -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c configure:5019: $? = 0 configure:5033: /usr/bin/cpp -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:5033: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | /* end confdefs.h. */ | #include configure:5117: checking for gcc configure:5133: found /usr/bin/gcc configure:5144: result: gcc configure:5373: checking for C compiler version configure:5382: gcc --version >&5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) Copyright (C) 2015 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:5393: $? = 0 configure:5382: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) configure:5393: $? = 0 configure:5382: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:5393: $? = 4 configure:5382: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:5393: $? = 4 configure:5397: checking whether we are using the GNU C compiler configure:5425: result: yes configure:5434: checking whether gcc accepts -g configure:5454: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c >&5 configure:5454: $? = 0 configure:5495: result: yes configure:5512: checking for gcc option to accept ISO C89 configure:5588: result: none needed configure:5613: checking whether gcc understands -c and -o together configure:5650: result: yes configure:5669: checking dependency style of gcc configure:5780: result: none configure:5800: checking how to run the C preprocessor configure:5831: /usr/bin/cpp -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c configure:5831: $? = 0 configure:5845: /usr/bin/cpp -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:5845: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | /* end confdefs.h. */ | #include configure:5870: result: gcc -E configure:5890: /usr/bin/cpp -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c configure:5890: $? = 0 configure:5904: /usr/bin/cpp -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:5904: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | /* end confdefs.h. */ | #include configure:5946: checking how to run the C++ preprocessor configure:5973: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp configure:5973: $? = 0 configure:5987: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:5987: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | /* end confdefs.h. */ | #include configure:6012: result: /usr/bin/g++ -E configure:6032: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp configure:6032: $? = 0 configure:6046: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:6046: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | /* end confdefs.h. */ | #include configure:6139: checking for g++ configure:6155: found /usr/bin/g++ configure:6166: result: g++ configure:6193: checking for C++ compiler version configure:6202: g++ --version >&5 g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) Copyright (C) 2015 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:6213: $? = 0 configure:6202: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) configure:6213: $? = 0 configure:6202: g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:6213: $? = 4 configure:6202: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:6213: $? = 4 configure:6217: checking whether we are using the GNU C++ compiler configure:6245: result: yes configure:6254: checking whether g++ accepts -g configure:6274: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6274: $? = 0 configure:6315: result: yes configure:6340: checking dependency style of g++ configure:6451: result: none configure:6471: checking how to run the C++ preprocessor configure:6498: g++ -E conftest.cpp configure:6498: $? = 0 configure:6512: g++ -E conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:6512: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | /* end confdefs.h. */ | #include configure:6537: result: g++ -E configure:6557: g++ -E conftest.cpp configure:6557: $? = 0 configure:6571: g++ -E conftest.cpp conftest.cpp:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:6571: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | /* end confdefs.h. */ | #include configure:6613: checking for grep that handles long lines and -e configure:6671: result: /usr/bin/grep configure:6676: checking for egrep configure:6738: result: /usr/bin/grep -E configure:6743: checking for ANSI C header files configure:6763: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6763: $? = 0 configure:6836: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 configure:6836: $? = 0 configure:6836: ./conftest configure:6836: $? = 0 configure:6847: result: yes configure:6860: checking for sys/types.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for sys/stat.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for stdlib.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for string.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for memory.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for strings.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for inttypes.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for stdint.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6860: checking for unistd.h configure:6860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6860: $? = 0 configure:6860: result: yes configure:6873: checking minix/config.h usability configure:6873: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 conftest.cpp:54:26: fatal error: minix/config.h: No such file or directory #include ^ compilation terminated. configure:6873: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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:6873: result: no configure:6873: checking minix/config.h presence configure:6873: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp conftest.cpp:21:26: fatal error: minix/config.h: No such file or directory #include ^ compilation terminated. configure:6873: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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:6873: result: no configure:6873: checking for minix/config.h configure:6873: result: no configure:6894: checking whether it is safe to define __EXTENSIONS__ configure:6912: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:6912: $? = 0 configure:6919: result: yes configure:7041: checking the archiver (/usr/bin/ar) interface configure:7057: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c >&5 configure:7057: $? = 0 configure:7059: /usr/bin/ar cru libconftest.a conftest.o >&5 configure:7062: $? = 0 configure:7090: result: ar configure:7172: checking for gcc configure:7188: found /usr/bin/gcc configure:7199: result: gcc configure:7224: checking for Objective C compiler version configure:7233: gcc --version >&5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) Copyright (C) 2015 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:7244: $? = 0 configure:7233: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) configure:7244: $? = 0 configure:7233: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:7244: $? = 4 configure:7233: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:7244: $? = 4 configure:7248: checking whether we are using the GNU Objective C compiler configure:7267: gcc -c -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.m >&5 gcc: error trying to exec 'cc1obj': execvp: No such file or directory configure:7267: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:7276: result: no configure:7285: checking whether gcc accepts -g configure:7305: gcc -c -g -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.m >&5 gcc: error trying to exec 'cc1obj': execvp: No such file or directory configure:7305: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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. */ | | int | main () | { | | ; | return 0; | } configure:7320: gcc -c -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.m >&5 gcc: error trying to exec 'cc1obj': execvp: No such file or directory configure:7320: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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. */ | | int | main () | { | | ; | return 0; | } configure:7336: gcc -c -g -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.m >&5 gcc: error trying to exec 'cc1obj': execvp: No such file or directory configure:7336: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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. */ | | int | main () | { | | ; | return 0; | } configure:7346: result: no configure:7371: checking dependency style of gcc configure:7480: result: none configure:7497: checking C++ compiler flags... configure:7518: result: use user-supplied: -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include configure:7533: checking whether __SUNPRO_CC is declared configure:7533: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/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 (void) __SUNPRO_CC; ^ configure:7533: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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:7533: result: no configure:7697: checking how to print strings configure:7724: result: printf configure:7745: checking for a sed that does not truncate output configure:7809: result: /usr/bin/sed configure:7827: checking for fgrep configure:7889: result: /usr/bin/grep -F configure:7924: checking for ld used by /usr/bin/gcc configure:7991: result: /usr/bin/ld configure:7998: checking if the linker (/usr/bin/ld) is GNU ld configure:8013: result: yes configure:8025: checking for BSD- or MS-compatible name lister (nm) configure:8074: result: /usr/bin/nm configure:8204: checking the name lister (/usr/bin/nm) interface configure:8211: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:8214: /usr/bin/nm "conftest.o" configure:8217: output 0000000000000000 B some_variable configure:8224: result: BSD nm configure:8227: checking whether ln -s works configure:8231: result: yes configure:8239: checking the maximum length of command line arguments configure:8370: result: 1572864 configure:8387: checking whether the shell understands some XSI constructs configure:8397: result: yes configure:8401: checking whether the shell understands "+=" configure:8407: result: yes configure:8442: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:8482: result: func_convert_file_noop configure:8489: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8509: result: func_convert_file_noop configure:8516: checking for /usr/bin/ld option to reload object files configure:8523: result: -r configure:8597: checking for objdump configure:8613: found /usr/bin/objdump configure:8624: result: objdump configure:8656: checking how to recognize dependent libraries configure:8854: result: pass_all configure:8939: checking for dlltool configure:8969: result: no configure:8999: checking how to associate runtime and link libraries configure:9026: result: printf %s\n configure:9150: checking for archiver @FILE support configure:9167: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:9167: $? = 0 configure:9170: /usr/bin/ar cru libconftest.a @conftest.lst >&5 configure:9173: $? = 0 configure:9178: /usr/bin/ar cru libconftest.a @conftest.lst >&5 /usr/bin/ar: conftest.o: No such file or directory configure:9181: $? = 1 configure:9193: result: @ configure:9251: checking for strip configure:9267: found /usr/bin/strip configure:9278: result: strip configure:9350: checking for ranlib configure:9377: result: /usr/bin/ranlib configure:9479: checking command to parse /usr/bin/nm output from /usr/bin/gcc object configure:9599: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:9602: $? = 0 configure:9606: /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:9609: $? = 0 configure:9675: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp conftstm.o >&5 configure:9678: $? = 0 configure:9716: result: ok configure:9753: checking for sysroot configure:9783: result: no configure:9860: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:9863: $? = 0 configure:10052: checking for mt configure:10082: result: no configure:10102: checking if : is a manifest tool configure:10108: : '-?' configure:10116: result: no configure:10755: checking for dlfcn.h configure:10755: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:10755: $? = 0 configure:10755: result: yes configure:10971: checking for objdir configure:10986: result: .libs configure:11257: checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions configure:11275: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/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:11279: $? = 0 configure:11292: result: no configure:11619: checking for /usr/bin/gcc option to produce PIC configure:11626: result: -fPIC -DPIC configure:11634: checking if /usr/bin/gcc PIC flag -fPIC -DPIC works configure:11652: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -fPIC -DPIC -DPIC conftest.c >&5 configure:11656: $? = 0 configure:11669: result: yes configure:11698: checking if /usr/bin/gcc static flag -static works configure:11726: result: no configure:11741: checking if /usr/bin/gcc supports -c -o file.o configure:11762: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -o out/conftest2.o conftest.c >&5 configure:11766: $? = 0 configure:11788: result: yes configure:11796: checking if /usr/bin/gcc supports -c -o file.o configure:11843: result: yes configure:11876: checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:13033: result: yes configure:13070: checking whether -lc should be explicitly linked in configure:13078: /usr/bin/gcc -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.c >&5 configure:13081: $? = 0 configure:13096: /usr/bin/gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:13099: $? = 0 configure:13113: result: no configure:13273: checking dynamic linker characteristics configure:13773: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath -Wl,/foo conftest.c >&5 configure:13773: $? = 0 configure:14007: result: GNU/Linux ld.so configure:14114: checking how to hardcode library paths into programs configure:14139: result: immediate configure:14679: checking whether stripping libraries is possible configure:14684: result: yes configure:14719: checking if libtool supports shared libraries configure:14721: result: yes configure:14724: checking whether to build shared libraries configure:14745: result: yes configure:14748: checking whether to build static libraries configure:14752: result: no configure:14775: checking how to run the C++ preprocessor configure:14841: result: /usr/bin/g++ -E configure:14861: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp configure:14861: $? = 0 configure:14875: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp conftest.cpp:28:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:14875: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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:15044: checking for ld used by /usr/bin/g++ configure:15111: result: /usr/bin/ld -m elf_x86_64 configure:15118: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:15133: result: yes configure:15188: checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:16190: result: yes configure:16226: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:16229: $? = 0 configure:16749: checking for /usr/bin/g++ option to produce PIC configure:16756: result: -fPIC -DPIC configure:16764: checking if /usr/bin/g++ PIC flag -fPIC -DPIC works configure:16782: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -fPIC -DPIC -DPIC conftest.cpp >&5 configure:16786: $? = 0 configure:16799: result: yes configure:16822: checking if /usr/bin/g++ static flag -static works configure:16850: result: no configure:16862: checking if /usr/bin/g++ supports -c -o file.o configure:16883: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -o out/conftest2.o conftest.cpp >&5 configure:16887: $? = 0 configure:16909: result: yes configure:16914: checking if /usr/bin/g++ supports -c -o file.o configure:16961: result: yes configure:16991: checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:17030: result: yes configure:17171: checking dynamic linker characteristics configure:17839: result: GNU/Linux ld.so configure:17892: checking how to hardcode library paths into programs configure:17917: result: immediate configure:17980: checking whether the linker supports version scripts configure:17996: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,--version-script=conftest.map conftest.cpp >&5 configure:17996: $? = 0 configure:17997: result: yes configure:18016: checking for ANSI C header files configure:18120: result: yes configure:18131: checking fcntl.h usability configure:18131: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking fcntl.h presence configure:18131: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking for fcntl.h configure:18131: result: yes configure:18131: checking for inttypes.h configure:18131: result: yes configure:18131: checking limits.h usability configure:18131: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking limits.h presence configure:18131: /usr/bin/g++ -E -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp configure:18131: $? = 0 configure:18131: result: yes configure:18131: checking for limits.h configure:18131: result: yes configure:18131: checking for stdlib.h configure:18131: result: yes configure:18131: checking for unistd.h configure:18131: result: yes configure:18143: checking for working memcmp configure:18186: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 configure:18186: $? = 0 configure:18186: ./conftest configure:18186: $? = 0 configure:18196: result: yes configure:18205: checking for working strtod configure:18246: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/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] char *string = " +69"; ^ conftest.cpp:87:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *string = "NaN"; ^ configure:18246: $? = 0 configure:18246: ./conftest configure:18246: $? = 0 configure:18256: result: yes configure:18321: checking for ftruncate configure:18321: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for memset configure:18321: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for mkdir configure:18321: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for strchr configure:18321: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for strerror configure:18321: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18321: checking for strtol configure:18321: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 configure:18321: $? = 0 configure:18321: result: yes configure:18335: checking zlib version configure:18355: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:18355: $? = 0 configure:18357: result: ok (1.2.0.4 or later) configure:18361: checking for library containing zlibVersion configure:18392: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp >&5 /tmp/ccw7qpp2.o: In function `main': conftest.cpp:(.text.startup+0x5): undefined reference to `zlibVersion' collect2: error: ld returned 1 exit status configure:18392: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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:18392: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp -lz >&5 configure:18392: $? = 0 configure:18409: result: -lz configure:18660: checking for the pthreads library -lpthreads configure:18693: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lpthreads -lz >&5 /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status configure:18693: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:18702: result: no configure:18605: checking whether pthreads work without any flags configure:18693: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lz >&5 /tmp/ccxloe9t.o: In function `main': conftest.c:(.text.startup+0x9): undefined reference to `pthread_join' conftest.c:(.text.startup+0x26): undefined reference to `__pthread_register_cancel' conftest.c:(.text.startup+0x33): undefined reference to `pthread_create' conftest.c:(.text.startup+0x3b): undefined reference to `__pthread_unregister_cancel' collect2: error: ld returned 1 exit status configure:18693: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:18702: result: no configure:18610: checking whether pthreads work with -Kthread configure:18693: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -Kthread -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lz >&5 gcc: error: unrecognized command line option '-Kthread' configure:18693: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:18702: result: no configure:18610: checking whether pthreads work with -kthread configure:18693: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -kthread -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lz >&5 gcc: error: unrecognized command line option '-kthread' configure:18693: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:18702: result: no configure:18660: checking for the pthreads library -llthread configure:18693: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -llthread -lz >&5 /usr/bin/ld: cannot find -llthread collect2: error: ld returned 1 exit status configure:18693: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:18702: result: no configure:18610: checking whether pthreads work with -pthread configure:18693: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -pthread -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lz >&5 configure:18693: $? = 0 configure:18702: result: yes configure:18721: checking for joinable pthread attribute configure:18736: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -pthread -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lz >&5 configure:18736: $? = 0 configure:18742: result: PTHREAD_CREATE_JOINABLE configure:18752: checking if more special flags are required for pthreads configure:18759: result: no configure:18848: checking whether to check for GCC pthread/shared inconsistencies configure:18861: /usr/bin/gcc -o conftest -shared -fPIC -Wl,-z,defs -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -pthread -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lz >&5 configure:18861: $? = 0 configure:18873: result: yes configure:18879: checking whether -pthread is sufficient with -shared configure:18894: /usr/bin/gcc -o conftest -shared -fPIC -Wl,-z,defs -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -pthread -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lz >&5 configure:18894: $? = 0 configure:18901: result: yes configure:18989: checking whether what we have so far is sufficient with -nostdlib configure:19007: /usr/bin/gcc -o conftest -nostdlib -shared -fPIC -Wl,-z,defs -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -pthread -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lz -lc >&5 /tmp/ccjlXirR.o: In function `main': conftest.c:(.text.startup+0xa): undefined reference to `pthread_join' conftest.c:(.text.startup+0x27): undefined reference to `__pthread_register_cancel' conftest.c:(.text.startup+0x34): undefined reference to `pthread_create' conftest.c:(.text.startup+0x3c): undefined reference to `__pthread_unregister_cancel' collect2: error: ld returned 1 exit status configure:19007: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:19019: result: no configure:19024: checking whether -lpthread saves the day configure:19040: /usr/bin/gcc -o conftest -nostdlib -shared -fPIC -Wl,-z,defs -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -pthread -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.c -lpthread -lz -lc >&5 configure:19040: $? = 0 configure:19049: result: yes configure:19099: checking the location of hash_map configure:19125: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:19125: $? = 0 configure:19147: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 In file included from /usr/include/c++/4.8.2/unordered_map:35:0, from conftest.cpp:42: /usr/include/c++/4.8.2/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. #error This file requires compiler and library support for the \ ^ conftest.cpp: In function 'int main()': conftest.cpp:46:7: error: 'unordered_map' in namespace 'std' does not name a type const std::unordered_map t; ^ conftest.cpp:47:33: error: 't' was not declared in this scope return t.find(5) == t.end(); ^ configure:19147: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 1 | /* end confdefs.h. */ | #include | int | main () | { | const std::unordered_map t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19147: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 In file included from /usr/include/c++/4.8.2/unordered_map:35:0, from conftest.cpp:42: /usr/include/c++/4.8.2/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. #error This file requires compiler and library support for the \ ^ conftest.cpp: In function 'int main()': conftest.cpp:46:7: error: 'tr1' in namespace 'std' does not name a type const std::tr1::unordered_map t; ^ conftest.cpp:47:33: error: 't' was not declared in this scope return t.find(5) == t.end(); ^ configure:19147: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 1 | /* end confdefs.h. */ | #include | int | main () | { | const std::tr1::unordered_map t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19147: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:46:7: error: 'unordered_map' in namespace 'std' does not name a type const std::unordered_map t; ^ conftest.cpp:47:33: error: 't' was not declared in this scope return t.find(5) == t.end(); ^ configure:19147: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 1 | /* end confdefs.h. */ | #include | int | main () | { | const std::unordered_map t; | return t.find(5) == t.end(); | ; | return 0; | } configure:19147: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:19147: $? = 0 configure:19214: result: configure:19229: checking for library containing sched_yield configure:19260: /usr/bin/g++ -o conftest -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib conftest.cpp -lz >&5 configure:19260: $? = 0 configure:19277: result: none required configure:19316: checking whether /usr/bin/g++ supports C++11 features by default configure:19629: /usr/bin/g++ -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 conftest.cpp:60:2: error: #error "This is not a C++11 compiler" #error "This is not a C++11 compiler" ^ configure:19629: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Protocol Buffers" | #define PACKAGE_TARNAME "protobuf" | #define PACKAGE_VERSION "3.4.1" | #define PACKAGE_STRING "Protocol Buffers 3.4.1" | #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "protobuf" | #define VERSION "3.4.1" | #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 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:19636: result: no configure:19648: checking whether /usr/bin/g++ supports C++11 features with -std=c++11 configure:19963: /usr/bin/g++ -std=c++11 -c -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include conftest.cpp >&5 configure:19963: $? = 0 configure:19972: result: yes configure:20138: checking that generated files are newer than configure configure:20144: result: done configure:20207: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by Protocol Buffers config.status 3.4.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on linuxtest5810 config.status:1224: creating Makefile config.status:1224: creating src/Makefile config.status:1224: creating benchmarks/Makefile config.status:1224: creating conformance/Makefile config.status:1224: creating protobuf.pc config.status:1224: creating protobuf-lite.pc config.status:1224: creating config.h config.status:1453: executing depfiles commands config.status:1453: executing libtool commands configure:22767: === configuring in gmock (/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/build/host-protobuf-3.4.1/gmock) configure:22830: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host' '--sysconfdir=/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/etc' '--localstatedir=/usr/lfs/v0/rc-buildroot-test/scripts/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' 'CC=/usr/bin/gcc' 'CFLAGS=-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include' 'LDFLAGS=-L/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib' 'CPPFLAGS=-I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include' 'CXX=/usr/bin/g++' 'CXXFLAGS=-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include' 'CPP=/usr/bin/cpp' --cache-file=/dev/null --srcdir=. configure:22835: error: ./configure failed for gmock ## ---------------- ## ## 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/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/usr/lfs/v0/rc-buildroot-test/scripts/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/usr/lfs/v0/rc-buildroot-test/scripts/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/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib' ac_cv_env_LIBS_set= ac_cv_env_LIBS_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=no ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/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_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=no 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_cxx_compile_cxx11=no ax_cv_cxx_compile_cxx11__std_cpp11=yes 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=no lt_cv_prog_compiler_static_works_CXX=no 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]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/build/host-protobuf-3.4.1/missing aclocal-1.14' 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} /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/build/host-protobuf-3.4.1/missing autoconf' AUTOHEADER='${SHELL} /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/build/host-protobuf-3.4.1/missing autoheader' AUTOMAKE='${SHELL} /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/build/host-protobuf-3.4.1/missing automake-1.14' AWK='gawk' BUILD_EXEEXT='' BUILD_OBJEXT='' CC='/usr/bin/gcc' CCDEPMODE='depmode=none' CC_FOR_BUILD='gcc' CFLAGS='-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include' CFLAGS_FOR_BUILD='-g -O2' CPP='/usr/bin/cpp' CPPFLAGS='-I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include' CPPFLAGS_FOR_BUILD='' CPP_FOR_BUILD='gcc -E' CXX='/usr/bin/g++ -std=c++11' CXXCPP='/usr/bin/g++ -E -std=c++11' CXXCPPFLAGS_FOR_BUILD='' CXXCPP_FOR_BUILD='g++ -E' CXXDEPMODE='depmode=none' CXXFLAGS='-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/include' CXXFLAGS_FOR_BUILD='-g -O2' CXX_FOR_BUILD='g++' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DIST_LANG='all' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' FGREP='/usr/bin/grep -F' GCC_FALSE='#' GCC_TRUE='' GREP='/usr/bin/grep' HAVE_CXX11='1' 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/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/lib' LDFLAGS_FOR_BUILD='' LIBOBJS='' LIBS='-lz ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='' MAINTAINER_MODE_FALSE='#' MAINTAINER_MODE_TRUE='' MAKEINFO='${SHELL} /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/build/host-protobuf-3.4.1/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/usr/bin/mkdir -p' NM='/usr/bin/nm' NMEDIT='' OBJC='gcc' OBJCDEPMODE='depmode=none' OBJCFLAGS='' 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.4.1' PACKAGE_TARNAME='protobuf' PACKAGE_URL='' PACKAGE_VERSION='3.4.1' PATH_SEPARATOR=':' POW_LIB='' PROTOBUF_OPT_FLAG='' PROTOC='' PTHREAD_CC='/usr/bin/gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS=' -lpthread' RANLIB='/usr/bin/ranlib' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' USE_EXTERNAL_PROTOC_FALSE='' USE_EXTERNAL_PROTOC_TRUE='#' VERSION='3.4.1' 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' acx_pthread_config='' 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 -' 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='${prefix}' 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} /usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/build/host-protobuf-3.4.1/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs=' gmock' sysconfdir='/usr/lfs/v0/rc-buildroot-test/scripts/instance-1/output/host/etc' target='x86_64-pc-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='pc' configure: exit 1