This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by DRBD configure 9.19.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=arm-buildroot-linux-uclibcgnueabi --host=arm-buildroot-linux-uclibcgnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --with-distro=generic --without-manual --with-initscripttype=sysv --with-udev=no ## --------- ## ## Platform. ## ## --------- ## hostname = gcc159.bak.milne.osuosl.org uname -m = x86_64 uname -r = 4.9.0-16-amd64 uname -s = Linux uname -v = #1 SMP Debian 4.9.272-2 (2021-07-19) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/buildroot/autobuild/instance-2/output-1/host/bin PATH: /home/buildroot/autobuild/instance-2/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2479: checking for arm-buildroot-linux-uclibcgnueabi-gcc configure:2506: result: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc configure:2775: checking for C compiler version configure:2784: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc --version >&5 arm-linux-gcc.br_real (Buildroot 2020.11.2) 9.3.0 Copyright (C) 2019 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:2795: $? = 0 configure:2784: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/arm-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/lto-wrapper Target: arm-buildroot-linux-uclibcgnueabi Configured with: ./configure --prefix=/opt/br-arm-basic-2020.11.2 --sysconfdir=/opt/br-arm-basic-2020.11.2/etc --enable-static --target=arm-buildroot-linux-uclibcgnueabi --with-sysroot=/opt/br-arm-basic-2020.11.2/arm-buildroot-linux-uclibcgnueabi/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-arm-basic-2020.11.2 --with-mpc=/opt/br-arm-basic-2020.11.2 --with-mpfr=/opt/br-arm-basic-2020.11.2 --with-pkgversion='Buildroot 2020.11.2' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-float=soft --with-abi=aapcs-linux --with-cpu=arm926ej-s --with-float=soft --with-mode=arm --enable-languages=c --with-build-time-tools=/opt/br-arm-basic-2020.11.2/arm-buildroot-linux-uclibcgnueabi/bin --enable-shared --disable-libgomp Thread model: posix gcc version 9.3.0 (Buildroot 2020.11.2) COMPILER_PATH=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ LIBRARY_PATH=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/:/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/lib/:/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-mabi=aapcs-linux' '-mfloat-abi=soft' '-marm' '-mfloat-abi=soft' '-mcpu=arm926ej-s' '-fPIE' '-pie' '-v' '-mtls-dialect=gnu' '-march=armv5tej' ... rest of stderr output deleted ... configure:2795: $? = 1 configure:2784: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -V >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-V' configure:2795: $? = 1 configure:2784: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -qversion >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? configure:2795: $? = 1 configure:2815: checking whether the C compiler works configure:2837: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:2841: $? = 0 configure:2889: result: yes configure:2892: checking for C compiler default output file name configure:2894: result: a.out configure:2900: checking for suffix of executables configure:2907: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:2911: $? = 0 configure:2933: result: configure:2955: checking whether we are cross compiling configure:2993: result: yes configure:2998: checking for suffix of object files configure:3020: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3024: $? = 0 configure:3045: result: o configure:3049: checking whether we are using the GNU C compiler configure:3068: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3068: $? = 0 configure:3077: result: yes configure:3086: checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc accepts -g configure:3106: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3106: $? = 0 configure:3147: result: yes configure:3164: checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc option to accept ISO C89 configure:3227: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3227: $? = 0 configure:3240: result: none needed configure:3263: checking for getentropy configure:3263: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/ccOROMlH.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `getentropy' collect2: error: ld returned 1 exit status configure:3263: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | /* end confdefs.h. */ | /* Define getentropy to an innocuous variant, in case declares getentropy. | For example, HP-UX 11i declares gettimeofday. */ | #define getentropy innocuous_getentropy | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getentropy (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getentropy | | /* 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 getentropy (); | /* 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_getentropy || defined __stub___getentropy | choke me | #endif | | int | main () | { | return getentropy (); | ; | return 0; | } configure:3263: result: no configure:3274: checking for gethostbyname_r configure:3274: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3274: $? = 0 configure:3274: result: yes configure:3284: checking for __free_fn_t configure:3284: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3284: $? = 0 configure:3284: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:17:26: error: expected expression before ')' token 17 | if (sizeof ((__free_fn_t))) | ^ configure:3284: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | /* end confdefs.h. */ | #define _GNU_SOURCE | #include | | | int | main () | { | if (sizeof ((__free_fn_t))) | return 0; | ; | return 0; | } configure:3284: result: yes configure:3407: checking pkg-config is at least version 0.9.0 configure:3410: result: yes configure:3430: Could not detect systemd unit directory configure:3437: result: Using systemd unit directory: configure:3507: checking for arm-buildroot-linux-uclibcgnueabi-gcc configure:3534: result: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc configure:3803: checking for C compiler version configure:3812: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc --version >&5 arm-linux-gcc.br_real (Buildroot 2020.11.2) 9.3.0 Copyright (C) 2019 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:3823: $? = 0 configure:3812: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/arm-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/lto-wrapper Target: arm-buildroot-linux-uclibcgnueabi Configured with: ./configure --prefix=/opt/br-arm-basic-2020.11.2 --sysconfdir=/opt/br-arm-basic-2020.11.2/etc --enable-static --target=arm-buildroot-linux-uclibcgnueabi --with-sysroot=/opt/br-arm-basic-2020.11.2/arm-buildroot-linux-uclibcgnueabi/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-arm-basic-2020.11.2 --with-mpc=/opt/br-arm-basic-2020.11.2 --with-mpfr=/opt/br-arm-basic-2020.11.2 --with-pkgversion='Buildroot 2020.11.2' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-float=soft --with-abi=aapcs-linux --with-cpu=arm926ej-s --with-float=soft --with-mode=arm --enable-languages=c --with-build-time-tools=/opt/br-arm-basic-2020.11.2/arm-buildroot-linux-uclibcgnueabi/bin --enable-shared --disable-libgomp Thread model: posix gcc version 9.3.0 (Buildroot 2020.11.2) COMPILER_PATH=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ LIBRARY_PATH=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/:/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/lib/:/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-mabi=aapcs-linux' '-mfloat-abi=soft' '-marm' '-mfloat-abi=soft' '-mcpu=arm926ej-s' '-fPIE' '-pie' '-v' '-mtls-dialect=gnu' '-march=armv5tej' ... rest of stderr output deleted ... configure:3823: $? = 1 configure:3812: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -V >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-V' configure:3823: $? = 1 configure:3812: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -qversion >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? configure:3823: $? = 1 configure:3827: checking whether we are using the GNU C compiler configure:3855: result: yes configure:3864: checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc accepts -g configure:3925: result: yes configure:3942: checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc option to accept ISO C89 configure:4018: result: none needed configure:4038: checking whether ln -s works configure:4042: result: yes configure:4051: checking for sed configure:4069: found /bin/sed configure:4081: result: /bin/sed configure:4091: checking for grep configure:4109: found /bin/grep configure:4121: result: /bin/grep configure:4131: checking for flex configure:4149: found /home/buildroot/autobuild/instance-2/output-1/host/bin/flex configure:4161: result: /home/buildroot/autobuild/instance-2/output-1/host/bin/flex configure:4171: checking for rpmbuild configure:4204: result: no configure:4211: checking for xsltproc configure:4244: result: no configure:4251: checking for clitest configure:4284: result: no configure:4291: checking for tar configure:4309: found /bin/tar configure:4321: result: /bin/tar configure:4331: checking for git configure:4349: found /usr/bin/git configure:4361: result: /usr/bin/git configure:4371: checking for po4a-translate configure:4404: result: no configure:4411: checking for po4a-gettextize configure:4444: result: no configure:4451: checking for dpkg-buildpackage configure:4469: found /usr/bin/dpkg-buildpackage configure:4481: result: /usr/bin/dpkg-buildpackage configure:4491: checking for udevadm configure:4509: found /sbin/udevadm configure:4522: result: /sbin/udevadm configure:4532: checking for udevinfo configure:4563: result: false configure:4693: checking for C++ compiler version configure:4702: no --version >&5 ./configure: line 4704: no: command not found configure:4713: $? = 127 configure:4702: no -v >&5 ./configure: line 4704: no: command not found configure:4713: $? = 127 configure:4702: no -V >&5 ./configure: line 4704: no: command not found configure:4713: $? = 127 configure:4702: no -qversion >&5 ./configure: line 4704: no: command not found configure:4713: $? = 127 configure:4717: checking whether we are using the GNU C++ compiler configure:4736: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:4736: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 1 | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:4745: result: no configure:4754: checking whether no accepts -g configure:4774: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:4774: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4789: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:4789: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4805: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:4805: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4815: result: no configure:4846: checking whether no supports C++11 features by default configure:5140: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:5140: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 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:5147: result: no configure:5156: checking whether no supports C++11 features with -std=gnu++11 configure:5452: no -std=gnu++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:5452: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 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:5461: result: no configure:5156: checking whether no supports C++11 features with -std=gnu++0x configure:5452: no -std=gnu++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:5452: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 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:5461: result: no configure:5477: checking whether no supports C++11 features with -std=c++11 configure:5773: no -std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:5773: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 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:5782: result: no configure:5477: checking whether no supports C++11 features with -std=c++0x configure:5773: no -std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:5773: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 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:5782: result: no configure:5477: checking whether no supports C++11 features with +std=c++11 configure:5773: no +std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:5773: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 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:5782: result: no configure:5477: checking whether no supports C++11 features with -h std=c++11 configure:5773: no -h std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1741: no: command not found configure:5773: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 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:5782: result: no configure:5807: No compiler with C++11 support was found configure:5818: WARNING: No C++11 compiler found, disabling drbdmon build. configure:5822: checking for clock_gettime, timer_create, timer_settime, timer_delete in -lrt configure:5847: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lrt >&5 configure:5847: $? = 0 configure:5856: result: yes configure:5892: WARNING: No rpmbuild found, building RPM packages is disabled. configure:5902: WARNING: Cannot build man pages without xsltproc. You may safely ignore this warning when building from a tarball. configure:5908: WARNING: Cannot run tests without clitest, disabling test target. configure:5916: WARNING: Cannot build man pages without po4a-translage. You may safely ignore this warning when building from a tarball. configure:5922: WARNING: Cannot build man pages without po4a-gettextize. You may safely ignore this warning when building from a tarball. configure:5952: checking how to run the C preprocessor configure:6022: result: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp configure:6042: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:6042: $? = 0 configure:6056: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:12:10: fatal error: ac_nonexistent.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:6056: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "DRBD" | #define PACKAGE_TARNAME "drbd" | #define PACKAGE_VERSION "9.19.0" | #define PACKAGE_STRING "DRBD 9.19.0" | #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" | #define PACKAGE_URL "" | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE___FREE_FN_T 1 | #define HAVE_LIBRT 1 | /* end confdefs.h. */ | #include configure:6085: checking for grep that handles long lines and -e configure:6143: result: /bin/grep configure:6148: checking for egrep configure:6210: result: /bin/grep -E configure:6215: checking for ANSI C header files configure:6235: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6235: $? = 0 configure:6319: result: yes configure:6332: checking for sys/types.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6332: checking for sys/stat.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6332: checking for stdlib.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6332: checking for string.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6332: checking for memory.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6332: checking for strings.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6332: checking for inttypes.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6332: checking for stdint.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6332: checking for unistd.h configure:6332: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6332: $? = 0 configure:6332: result: yes configure:6346: checking linux/genetlink.h usability configure:6346: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6346: $? = 0 configure:6346: result: yes configure:6346: checking linux/genetlink.h presence configure:6346: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:6346: $? = 0 configure:6346: result: yes configure:6346: checking for linux/genetlink.h configure:6346: result: yes configure:6359: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6359: $? = 0 configure:6372: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6372: $? = 0 configure:6385: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6385: $? = 0 configure:6398: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6398: $? = 0 configure:6761: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by DRBD config.status 9.19.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on gcc159.bak.milne.osuosl.org config.status:881: creating Makefile config.status:881: creating user/shared/Makefile config.status:881: creating user/v9/Makefile config.status:881: creating user/v83/Makefile config.status:881: creating user/v84/Makefile config.status:881: creating scripts/Makefile config.status:881: creating documentation/v83/Makefile config.status:881: creating scripts/drbd.rules config.status:881: creating user/windrbd/Makefile config.status:881: creating user/drbdmon/Makefile config.status:881: creating documentation/common/Makefile_v84_com config.status:881: creating documentation/common/Makefile_v9_com config.status:881: creating user/shared/config.h configure:7927: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=arm-buildroot-linux-uclibcgnueabi ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=arm-buildroot-linux-uclibcgnueabi ac_cv_func_calloc_0_nonnull=yes ac_cv_func_getentropy=no ac_cv_func_gethostbyname_r=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_have_decl_malloc=yes ac_cv_header_inttypes_h=yes ac_cv_header_linux_genetlink_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_lbl_unaligned_fail=yes ac_cv_lib_rt_clock_gettime__timer_create__timer_settime__timer_delete=yes ac_cv_objext=o ac_cv_path_DPKG_BUILDPACKAGE=/usr/bin/dpkg-buildpackage ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FLEX=/home/buildroot/autobuild/instance-2/output-1/host/bin/flex ac_cv_path_GIT=/usr/bin/git ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_TAR=/bin/tar ac_cv_path_UDEVADM=/sbin/udevadm ac_cv_path_UDEVINFO=false ac_cv_prog_CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc ac_cv_prog_CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=no ac_cv_type___free_fn_t=yes ax_cv_cxx_compile_cxx11=no ax_cv_cxx_compile_cxx11__h_std_cpp11=no ax_cv_cxx_compile_cxx11__std_cpp0x=no ax_cv_cxx_compile_cxx11__std_cpp11=no ax_cv_cxx_compile_cxx11__std_gnupp0x=no ax_cv_cxx_compile_cxx11__std_gnupp11=no ax_cv_cxx_compile_cxx11_pstd_cpp11=no gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## BASH_COMPLETION_SUFFIX='' CC='/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' CLITEST='' CPP='/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CXX='no' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' DEFS='-DHAVE_CONFIG_H' DISTRO='generic' DPKG_BUILDPACKAGE='/usr/bin/dpkg-buildpackage' DRBD_BIN_DIR='/usr/bin' DRBD_CONFIG_DIR='/etc' DRBD_LIB_DIR='/var/lib/drbd' DRBD_LOCK_DIR='/var/lock' DRBD_RUN_DIR='/var/run/drbd' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FLEX='/home/buildroot/autobuild/instance-2/output-1/host/bin/flex' GIT='/usr/bin/git' GREP='/bin/grep' HAVE_CXX11='0' INITDIR='/etc/init.d' LDFLAGS='' LIBOBJS='' LIBS='-lrt ' LN_S='ln -s' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='drbd-dev@lists.linbit.com' PACKAGE_NAME='DRBD' PACKAGE_STRING='DRBD 9.19.0' PACKAGE_TARNAME='drbd' PACKAGE_URL='' PACKAGE_VERSION='9.19.0' PATH_SEPARATOR=':' PKG_CONFIG='/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PO4A_GETTEXTIZE='po4a-gettextize' PO4A_TRANSLATE='po4a-translate' RPMBUILD='' RPM_BUILDREQ_DEFAULT='gcc flex glibc-devel make' RPM_DIST_TAG='' RPM_REQ_BASH_COMPLETION='' RPM_REQ_CHKCONFIG_POST='' RPM_REQ_CHKCONFIG_PREUN='' RPM_REQ_HEARTBEAT='' RPM_REQ_PACEMAKER='' RPM_REQ_XEN='' RPM_SUBPACKAGE_NOARCH='' SED='/bin/sed' SHELL='/bin/bash' TAR='/bin/tar' UDEVADM='/sbin/udevadm' UDEVINFO='false' UDEV_RULE_SUFFIX='' WITH_83_SUPPORT='yes' WITH_84_SUPPORT='yes' WITH_BASHCOMPLETION='yes' WITH_CLITEST='no' WITH_DRBDMON='no' WITH_HEARTBEAT='yes' WITH_MANUAL='no' WITH_PACEMAKER='yes' WITH_PREBUILTMAN='no' WITH_RGMANAGER='no' WITH_UDEV='no' WITH_WINDRBD='no' WITH_XEN='yes' XSLTPROC='xsltproc' ac_ct_CC='' ac_ct_CXX='' bindir='/usr/bin' build_alias='x86_64-pc-linux-gnu' datadir='/usr/share' datarootdir='/usr/share' docdir='/usr/share/doc/drbd' dvidir='${docdir}' exec_prefix='/usr' host_alias='arm-buildroot-linux-uclibcgnueabi' htmldir='${docdir}' includedir='/usr/include' infodir='/usr/share/info' initscripttype='sysv' libdir='/usr/lib' libexecdir='/usr/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='/usr/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='/usr/sbin' sharedstatedir='/usr/com' sysconfdir='/etc' systemdunitdir='' target_alias='arm-buildroot-linux-uclibcgnueabi' tmpfilesdir='${prefix}/lib/tmpfiles.d' udevdir='/lib/udev' udevrulesdir='/lib/udev/rules.d' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "DRBD" #define PACKAGE_TARNAME "drbd" #define PACKAGE_VERSION "9.19.0" #define PACKAGE_STRING "DRBD 9.19.0" #define PACKAGE_BUGREPORT "drbd-dev@lists.linbit.com" #define PACKAGE_URL "" #define HAVE_GETHOSTBYNAME_R 1 #define HAVE___FREE_FN_T 1 #define HAVE_LIBRT 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 HAVE_LINUX_GENETLINK_H 1 #define HAVE_CTRL_ATTR_VERSION /**/ #define HAVE_CTRL_ATTR_HDRSIZE /**/ #define HAVE_CTRL_ATTR_MCAST_GROUPS /**/ #define HAVE_CTRL_CMD_DELMCAST_GRP 1 #define DRBD_LIB_DIR "/var/lib/drbd" #define DRBD_RUN_DIR "/var/run/drbd" #define DRBD_LOCK_DIR "/var/lock" #define DRBD_CONFIG_DIR "/etc" #define DRBD_BIN_DIR "/usr/bin" #define DRBD_LEGACY_83 1 #define DRBD_LEGACY_84 1 configure: exit 0