This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by breakpad configure 0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host --sysconfdir=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/etc --localstatedir=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/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-nls --disable-dependency-tracking ## --------- ## ## Platform. ## ## --------- ## hostname = linuxtest5810 uname -m = x86_64 uname -r = 3.10.0-1160.71.1.el7.x86_64 uname -s = Linux uname -v = #1 SMP Wed Jun 15 08:55:08 UTC 2022 /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/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/bin PATH: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/sbin PATH: /usr/lfs/v0/bin/ PATH: /accts/mlweber1/python/ PATH: /accts/mlweber1/.local/bin PATH: /accts/mlweber1/.local/bin PATH: /accts/mlweber1/python/Python-2.7.11/ PATH: /usr/lfs/v0/bin/ PATH: /accts/mlweber1/python/ PATH: /usr/bin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2346: checking build system type configure:2360: result: x86_64-pc-linux-gnu configure:2380: checking host system type configure:2393: result: x86_64-pc-linux-gnu configure:2430: checking for a BSD-compatible install configure:2498: result: /usr/bin/install -c configure:2509: checking whether build environment is sane configure:2564: result: yes configure:2715: checking for a thread-safe mkdir -p configure:2754: result: /usr/bin/mkdir -p configure:2761: checking for gawk configure:2777: found /usr/bin/gawk configure:2788: result: gawk configure:2799: checking whether make sets $(MAKE) configure:2821: result: yes configure:2850: checking whether make supports nested variables configure:2867: result: yes configure:2956: checking whether UID '1059' is supported by ustar format configure:2959: result: yes configure:2966: checking whether GID '8000' is supported by ustar format configure:2969: result: yes configure:2977: checking how to create a ustar tar archive configure:2988: tar --version tar (GNU tar) 1.34 Copyright (C) 2021 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:2991: $? = 0 configure:3031: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3034: $? = 0 configure:3038: tar -xf - &5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) 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:3522: $? = 0 configure:3511: /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-44) (GCC) configure:3522: $? = 0 configure:3511: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3522: $? = 4 configure:3511: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3522: $? = 4 configure:3542: checking whether the C compiler works configure:3564: /usr/bin/gcc -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:3568: $? = 0 configure:3616: result: yes configure:3619: checking for C compiler default output file name configure:3621: result: a.out configure:3627: checking for suffix of executables configure:3634: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:3638: $? = 0 configure:3660: result: configure:3682: checking whether we are cross compiling configure:3690: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:3694: $? = 0 configure:3701: ./conftest configure:3705: $? = 0 configure:3720: result: no configure:3725: checking for suffix of object files configure:3747: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:3751: $? = 0 configure:3772: result: o configure:3776: checking whether we are using the GNU C compiler configure:3795: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:3795: $? = 0 configure:3804: result: yes configure:3813: checking whether /usr/bin/gcc accepts -g configure:3833: /usr/bin/gcc -c -g -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:3833: $? = 0 configure:3874: result: yes configure:3891: checking for /usr/bin/gcc option to accept ISO C89 configure:3954: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:3954: $? = 0 configure:3967: result: none needed configure:3992: checking whether /usr/bin/gcc understands -c and -o together configure:4014: /usr/bin/gcc -c conftest.c -o conftest2.o configure:4017: $? = 0 configure:4014: /usr/bin/gcc -c conftest.c -o conftest2.o configure:4017: $? = 0 configure:4029: result: yes configure:4048: checking dependency style of /usr/bin/gcc configure:4159: result: none configure:4277: checking the archiver (/usr/bin/ar) interface configure:4293: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:4293: $? = 0 configure:4295: /usr/bin/ar cru libconftest.a conftest.o >&5 configure:4298: $? = 0 configure:4326: result: ar configure:4355: checking dependency style of /usr/bin/gcc configure:4464: result: none configure:4527: checking for gcc configure:4554: result: /usr/bin/gcc configure:4783: checking for C compiler version configure:4792: /usr/bin/gcc --version >&5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) 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:4803: $? = 0 configure:4792: /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-44) (GCC) configure:4803: $? = 0 configure:4792: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4803: $? = 4 configure:4792: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:4803: $? = 4 configure:4807: checking whether we are using the GNU C compiler configure:4835: result: yes configure:4844: checking whether /usr/bin/gcc accepts -g configure:4905: result: yes configure:4922: checking for /usr/bin/gcc option to accept ISO C89 configure:4998: result: none needed configure:5023: checking whether /usr/bin/gcc understands -c and -o together configure:5060: result: yes configure:5079: checking dependency style of /usr/bin/gcc configure:5190: result: none configure:5211: checking how to run the C preprocessor configure:5281: result: /usr/bin/cpp configure:5301: /usr/bin/cpp -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c configure:5301: $? = 0 configure:5315: /usr/bin/cpp -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:5315: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | /* end confdefs.h. */ | #include configure:5455: checking for C++ compiler version configure:5464: /usr/bin/g++ --version >&5 g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) 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:5475: $? = 0 configure:5464: /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-44) (GCC) configure:5475: $? = 0 configure:5464: /usr/bin/g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:5475: $? = 4 configure:5464: /usr/bin/g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:5475: $? = 4 configure:5479: checking whether we are using the GNU C++ compiler configure:5498: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:5498: $? = 0 configure:5507: result: yes configure:5516: checking whether /usr/bin/g++ accepts -g configure:5536: /usr/bin/g++ -c -g -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:5536: $? = 0 configure:5577: result: yes configure:5602: checking dependency style of /usr/bin/g++ configure:5713: result: none configure:5771: checking for ranlib configure:5798: result: /usr/bin/ranlib configure:5842: checking for grep that handles long lines and -e configure:5900: result: /usr/bin/grep configure:5905: checking for egrep configure:5967: result: /usr/bin/grep -E configure:5972: checking for ANSI C header files configure:5992: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:5992: $? = 0 configure:6065: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:6065: $? = 0 configure:6065: ./conftest configure:6065: $? = 0 configure:6076: result: yes configure:6091: checking for special C compiler options needed for large files configure:6136: result: no configure:6142: checking for _FILE_OFFSET_BITS value needed for large files configure:6167: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6167: $? = 0 configure:6199: result: no configure:6453: checking for the pthreads library -lpthreads configure:6491: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c -lpthreads >&5 /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status configure:6491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | static void routine(void* a) {a=0;} | static void* start_routine(void* a) {return a;} | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_create(&th,0,start_routine,0); | pthread_cleanup_pop(0); | ; | return 0; | } configure:6500: result: no configure:6398: checking whether pthreads work without any flags configure:6491: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 /tmp/cccwaYkD.o: In function `main': conftest.c:(.text.startup+0xf): undefined reference to `pthread_join' conftest.c:(.text.startup+0x33): undefined reference to `__pthread_register_cancel' conftest.c:(.text.startup+0x46): undefined reference to `pthread_create' conftest.c:(.text.startup+0x50): undefined reference to `__pthread_unregister_cancel' collect2: error: ld returned 1 exit status configure:6491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | static void routine(void* a) {a=0;} | static void* start_routine(void* a) {return a;} | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_create(&th,0,start_routine,0); | pthread_cleanup_pop(0); | ; | return 0; | } configure:6500: result: no configure:6403: checking whether pthreads work with -Kthread configure:6491: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -Kthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 gcc: error: unrecognized command line option '-Kthread' configure:6491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | static void routine(void* a) {a=0;} | static void* start_routine(void* a) {return a;} | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_create(&th,0,start_routine,0); | pthread_cleanup_pop(0); | ; | return 0; | } configure:6500: result: no configure:6403: checking whether pthreads work with -kthread configure:6491: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -kthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 gcc: error: unrecognized command line option '-kthread' configure:6491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | static void routine(void* a) {a=0;} | static void* start_routine(void* a) {return a;} | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_create(&th,0,start_routine,0); | pthread_cleanup_pop(0); | ; | return 0; | } configure:6500: result: no configure:6453: checking for the pthreads library -llthread configure:6491: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c -llthread >&5 /usr/bin/ld: cannot find -llthread collect2: error: ld returned 1 exit status configure:6491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | static void routine(void* a) {a=0;} | static void* start_routine(void* a) {return a;} | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_create(&th,0,start_routine,0); | pthread_cleanup_pop(0); | ; | return 0; | } configure:6500: result: no configure:6403: checking whether pthreads work with -pthread configure:6491: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:6491: $? = 0 configure:6500: result: yes configure:6519: checking for joinable pthread attribute configure:6534: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:6534: $? = 0 configure:6540: result: PTHREAD_CREATE_JOINABLE configure:6550: checking if more special flags are required for pthreads configure:6557: result: no configure:6644: checking for sys/types.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6644: checking for sys/stat.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6644: checking for stdlib.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6644: checking for string.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6644: checking for memory.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6644: checking for strings.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6644: checking for inttypes.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6644: checking for stdint.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6644: checking for unistd.h configure:6644: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6644: $? = 0 configure:6644: result: yes configure:6659: checking a.out.h usability configure:6659: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6659: $? = 0 configure:6659: result: yes configure:6659: checking a.out.h presence configure:6659: /usr/bin/cpp -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c configure:6659: $? = 0 configure:6659: result: yes configure:6659: checking for a.out.h configure:6659: result: yes configure:6659: checking sys/mman.h usability configure:6659: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:6659: $? = 0 configure:6659: result: yes configure:6659: checking sys/mman.h presence configure:6659: /usr/bin/cpp -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c configure:6659: $? = 0 configure:6659: result: yes configure:6659: checking for sys/mman.h configure:6659: result: yes configure:6659: checking sys/random.h usability configure:6659: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 conftest.c:57:24: fatal error: sys/random.h: No such file or directory #include ^ compilation terminated. configure:6659: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_PTHREAD 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_A_OUT_H 1 | #define HAVE_SYS_MMAN_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:6659: result: no configure:6659: checking sys/random.h presence configure:6659: /usr/bin/cpp -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c conftest.c:24:24: fatal error: sys/random.h: No such file or directory #include ^ compilation terminated. configure:6659: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_PTHREAD 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_A_OUT_H 1 | #define HAVE_SYS_MMAN_H 1 | /* end confdefs.h. */ | #include configure:6659: result: no configure:6659: checking for sys/random.h configure:6659: result: no configure:6672: checking for arc4random configure:6672: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 /tmp/ccMKgcJj.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `arc4random' collect2: error: ld returned 1 exit status configure:6672: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_PTHREAD 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_A_OUT_H 1 | #define HAVE_SYS_MMAN_H 1 | /* end confdefs.h. */ | /* Define arc4random to an innocuous variant, in case declares arc4random. | For example, HP-UX 11i declares gettimeofday. */ | #define arc4random innocuous_arc4random | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char arc4random (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef arc4random | | /* 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 arc4random (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_arc4random || defined __stub___arc4random | choke me | #endif | | int | main () | { | return arc4random (); | ; | return 0; | } configure:6672: result: no configure:6672: checking for getcontext configure:6672: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 configure:6672: $? = 0 configure:6672: result: yes configure:6672: checking for getrandom configure:6672: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 /tmp/ccJ6s8cC.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `getrandom' collect2: error: ld returned 1 exit status configure:6672: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_PTHREAD 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_A_OUT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_GETCONTEXT 1 | /* end confdefs.h. */ | /* Define getrandom to an innocuous variant, in case declares getrandom. | For example, HP-UX 11i declares gettimeofday. */ | #define getrandom innocuous_getrandom | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getrandom (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getrandom | | /* 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 getrandom (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_getrandom || defined __stub___getrandom | choke me | #endif | | int | main () | { | return getrandom (); | ; | return 0; | } configure:6672: result: no configure:6672: checking for memfd_create configure:6672: /usr/bin/gcc -o conftest -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib conftest.c >&5 /tmp/ccVSHSkM.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `memfd_create' collect2: error: ld returned 1 exit status configure:6672: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_PTHREAD 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_A_OUT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_GETCONTEXT 1 | /* end confdefs.h. */ | /* Define memfd_create to an innocuous variant, in case declares memfd_create. | For example, HP-UX 11i declares gettimeofday. */ | #define memfd_create innocuous_memfd_create | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memfd_create (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memfd_create | | /* 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 memfd_create (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_memfd_create || defined __stub___memfd_create | choke me | #endif | | int | main () | { | return memfd_create (); | ; | return 0; | } configure:6672: result: no configure:6706: checking whether /usr/bin/g++ supports C++11 features by default configure:7000: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 conftest.cpp:36:2: error: #error "This is not a C++11 compiler" #error "This is not a C++11 compiler" ^ configure:7000: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_PTHREAD 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_A_OUT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_GETCONTEXT 1 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:7007: result: no configure:7018: checking whether /usr/bin/g++ supports C++11 features with -std=c++11 configure:7314: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7314: $? = 0 configure:7323: result: yes configure:7365: checking whether C++ compiler accepts -Werror=unknown-warning-option configure:7384: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Werror=unknown-warning-option -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 cc1plus: error: -Werror=unknown-warning-option: no option -Wunknown-warning-option configure:7384: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "breakpad" | #define PACKAGE_TARNAME "breakpad" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "breakpad 0.1" | #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "breakpad" | #define VERSION "0.1" | #define STDC_HEADERS 1 | #define HAVE_PTHREAD 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_A_OUT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_GETCONTEXT 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:7392: result: no configure:7410: checking whether C++ compiler accepts -Wmissing-braces configure:7429: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Wmissing-braces -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7429: $? = 0 configure:7438: result: yes configure:7454: : WARN_CXXFLAGS="$WARN_CXXFLAGS" configure:7457: $? = 0 configure:7410: checking whether C++ compiler accepts -Wnon-virtual-dtor configure:7429: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Wnon-virtual-dtor -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7429: $? = 0 configure:7438: result: yes configure:7454: : WARN_CXXFLAGS="$WARN_CXXFLAGS" configure:7457: $? = 0 configure:7410: checking whether C++ compiler accepts -Woverloaded-virtual configure:7429: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Woverloaded-virtual -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7429: $? = 0 configure:7438: result: yes configure:7454: : WARN_CXXFLAGS="$WARN_CXXFLAGS" configure:7457: $? = 0 configure:7410: checking whether C++ compiler accepts -Wreorder configure:7429: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Wreorder -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7429: $? = 0 configure:7438: result: yes configure:7454: : WARN_CXXFLAGS="$WARN_CXXFLAGS" configure:7457: $? = 0 configure:7410: checking whether C++ compiler accepts -Wsign-compare configure:7429: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Wsign-compare -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7429: $? = 0 configure:7438: result: yes configure:7454: : WARN_CXXFLAGS="$WARN_CXXFLAGS" configure:7457: $? = 0 configure:7410: checking whether C++ compiler accepts -Wunused-local-typedefs configure:7429: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Wunused-local-typedefs -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7429: $? = 0 configure:7438: result: yes configure:7454: : WARN_CXXFLAGS="$WARN_CXXFLAGS" configure:7457: $? = 0 configure:7410: checking whether C++ compiler accepts -Wunused-variable configure:7429: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Wunused-variable -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7429: $? = 0 configure:7438: result: yes configure:7454: : WARN_CXXFLAGS="$WARN_CXXFLAGS" configure:7457: $? = 0 configure:7410: checking whether C++ compiler accepts -Wvla configure:7429: /usr/bin/g++ -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11 -Wvla -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.cpp >&5 configure:7429: $? = 0 configure:7438: result: yes configure:7454: : WARN_CXXFLAGS="$WARN_CXXFLAGS" configure:7457: $? = 0 configure:7489: checking for O_CLOEXEC defined in fcntl.h configure:7511: /usr/bin/gcc -c -O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include conftest.c >&5 configure:7511: $? = 0 configure:7518: result: yes configure:7855: checking that generated files are newer than configure configure:7861: result: done configure:7940: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by breakpad config.status 0.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:923: creating breakpad.pc config.status:923: creating breakpad-client.pc config.status:923: creating Makefile config.status:923: creating src/config.h config.status:1152: executing depfiles commands configure:9257: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_defined_O_CLOEXEC_fcntl_h=yes ac_cv_env_CCASFLAGS_set= ac_cv_env_CCASFLAGS_value= ac_cv_env_CCAS_set= ac_cv_env_CCAS_value= 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/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/usr/bin/cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/g++ ac_cv_env_GMOCK_CFLAGS_set= ac_cv_env_GMOCK_CFLAGS_value= ac_cv_env_GMOCK_LIBS_set= ac_cv_env_GMOCK_LIBS_value= ac_cv_env_GTEST_CFLAGS_set= ac_cv_env_GTEST_CFLAGS_value= ac_cv_env_GTEST_LIBS_set= ac_cv_env_GTEST_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_RUSTC_DEMANGLE_CFLAGS_set= ac_cv_env_RUSTC_DEMANGLE_CFLAGS_value= ac_cv_env_RUSTC_DEMANGLE_LIBS_set= ac_cv_env_RUSTC_DEMANGLE_LIBS_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_arc4random=no ac_cv_func_getcontext=yes ac_cv_func_getrandom=no ac_cv_func_memfd_create=no ac_cv_header_a_out_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_mman_h=yes ac_cv_header_sys_random_h=no 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_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep 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_ac_ct_CC=/usr/bin/gcc ac_cv_prog_ac_ct_RANLIB=/usr/bin/ranlib 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_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no am_cv_CCAS_dependencies_compiler_type=none am_cv_CC_dependencies_compiler_type=none am_cv_CXX_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_check_cxxflags___Werror_unknown_warning_option=no ax_cv_check_cxxflags___Wmissing_braces=yes ax_cv_check_cxxflags___Wnon_virtual_dtor=yes ax_cv_check_cxxflags___Woverloaded_virtual=yes ax_cv_check_cxxflags___Wreorder=yes ax_cv_check_cxxflags___Wsign_compare=yes ax_cv_check_cxxflags___Wunused_local_typedefs=yes ax_cv_check_cxxflags___Wunused_variable=yes ax_cv_check_cxxflags___Wvla=yes ax_cv_cxx_compile_cxx11=no ax_cv_cxx_compile_cxx11__std_cpp11=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/host-google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf/autotools/missing aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' ANDROID_HOST_FALSE='' ANDROID_HOST_TRUE='#' AR='/usr/bin/ar' AUTOCONF='${SHELL} /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/host-google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf/autotools/missing autoconf' AUTOHEADER='${SHELL} /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/host-google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf/autotools/missing autoheader' AUTOMAKE='${SHELL} /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/host-google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf/autotools/missing automake-1.16' AWK='gawk' CC='/usr/bin/gcc' CCAS='/usr/bin/gcc' CCASDEPMODE='depmode=none' CCASFLAGS='-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include' CCDEPMODE='depmode=none' CFLAGS='-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include' CPP='/usr/bin/cpp' CPPFLAGS='-I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include' CXX='/usr/bin/g++' CXXDEPMODE='depmode=none' CXXFLAGS='-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/include -std=c++11' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DISABLE_PROCESSOR_FALSE='' DISABLE_PROCESSOR_TRUE='#' DISABLE_TOOLS_FALSE='' DISABLE_TOOLS_TRUE='#' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' GMOCK_CFLAGS='' GMOCK_LIBS='' GREP='/usr/bin/grep' GTEST_CFLAGS='' GTEST_LIBS='' HAVE_CXX11='' HAVE_GETCONTEXT_FALSE='#' HAVE_GETCONTEXT_TRUE='' HAVE_MEMFD_CREATE_FALSE='' HAVE_MEMFD_CREATE_TRUE='#' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/lib' LIBOBJS='' LIBS='' LINUX_HOST_FALSE='#' LINUX_HOST_TRUE='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/host-google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf/autotools/missing makeinfo' MKDIR_P='/usr/bin/mkdir -p' OBJEXT='o' PACKAGE='breakpad' PACKAGE_BUGREPORT='google-breakpad-dev@googlegroups.com' PACKAGE_NAME='breakpad' PACKAGE_STRING='breakpad 0.1' PACKAGE_TARNAME='breakpad' PACKAGE_URL='' PACKAGE_VERSION='0.1' PATH_SEPARATOR=':' PTHREAD_CC='/usr/bin/gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' RANLIB='/usr/bin/ranlib' RUSTC_DEMANGLE_CFLAGS='' RUSTC_DEMANGLE_LIBS='' SELFTEST_FALSE='' SELFTEST_TRUE='#' SET_MAKE='' SHELL='/bin/sh' STRIP='' SYSTEM_TEST_LIBS_FALSE='' SYSTEM_TEST_LIBS_TRUE='#' TESTS_AS_ROOT_FALSE='' TESTS_AS_ROOT_TRUE='#' VERSION='0.1' WARN_CXXFLAGS=' -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-compare -Wunused-local-typedefs -Wunused-variable -Wvla -Werror' X86_HOST_FALSE='#' X86_HOST_TRUE='' ac_ct_AR='' ac_ct_CC='/usr/bin/gcc' ac_ct_CXX='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCCAS_FALSE='' am__fastdepCCAS_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' ax_pthread_config='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${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/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/host-google-breakpad-c85eb4a59b618f3beaad5445ceb1f865ffa8efdf/autotools/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "breakpad" #define PACKAGE_TARNAME "breakpad" #define PACKAGE_VERSION "0.1" #define PACKAGE_STRING "breakpad 0.1" #define PACKAGE_BUGREPORT "google-breakpad-dev@googlegroups.com" #define PACKAGE_URL "" #define PACKAGE "breakpad" #define VERSION "0.1" #define STDC_HEADERS 1 #define HAVE_PTHREAD 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_A_OUT_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_GETCONTEXT 1 configure: exit 0