This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by netdata configure 1.4.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/netdata-1.4.0-r1 --htmldir=/usr/share/doc/netdata-1.4.0-r1/html --libdir=/usr/lib64 --localstatedir=/var --with-user=netdata --disable-plugin-nfacct --enable-x86-sse --with-zlib ## --------- ## ## Platform. ## ## --------- ## hostname = mr-fox uname -m = x86_64 uname -r = 4.8.15-hardened uname -s = Linux uname -v = #1 SMP Sat Dec 17 12:32:14 CET 2016 /usr/bin/uname -p = Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz /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: /usr/lib/portage/python3.4/ebuild-helpers/xattr PATH: /usr/lib/portage/python3.4/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 PATH: /usr/bin/cdsclient PATH: /opt/ekopath/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2444: loading site script /usr/share/config.site | #!/bin/sh | # Copyright 2009-2014 Gentoo Foundation | # Distributed under the terms of the GNU General Public License v2 | | TOPDIR=/usr/share/crossdev/include/site | | config_site_arch() { | local host="${CHOST%%-*}" | | case ${host} in | arm*b*) host=armeb ;; | arm*) host=arm ;; | mips*l*) host=mipsel ;; | mips*) host=mips ;; | esac | | echo "${host}" | } | | config_site_names() { | local site_arch="$(config_site_arch)" | local sites="" | local x | | case ${CHOST} in | *-linux-*) sites="${sites} linux ${site_arch}-linux" ;; | *-darwin*) sites="${sites} darwin ${site_arch}-darwin" ;; | esac | | case ${CHOST} in | *-linux-uclibc*) sites="${sites} linux-uclibc ${site_arch}-linux-uclibc" ;; | *-linux-gnu*) sites="${sites} linux-gnu ${site_arch}-linux-gnu" ;; | *-linux-musl*) sites="${sites} linux-musl ${site_arch}-linux-musl" ;; | esac | | case ${CHOST} in | *-linux-uclibceabi*) sites="${sites} linux-uclibceabi ${site_arch}-linux-uclibceabi" ;; | *-linux-gnueabi*) sites="${sites} linux-gnueabi ${site_arch}-linux-gnueabi" ;; | esac | | for x in ${sites} ${CHOST}; do | [ -e "${TOPDIR}/${x}" ] && echo "${TOPDIR}/${x}" | done | } | | # Only kick in for cross-compiles so we don't break native builds #427184 | if [ "${CBUILD:-${CHOST}}" != "${CHOST}" ] ; then | sites="$(config_site_names)" | if [ -n "${sites}" ] ; then | for site in ${sites}; do | echo "${0##*/}: loading site script ${site}" | . "${site}" | done | fi | unset site sites | fi configure:2543: checking whether to enable maintainer-specific portions of Makefiles configure:2552: result: no configure:2624: checking for a BSD-compatible install configure:2692: result: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c configure:2703: checking whether build environment is sane configure:2758: result: yes configure:2909: checking for a thread-safe mkdir -p configure:2948: result: /bin/mkdir -p configure:2955: checking for gawk configure:2971: found /usr/bin/gawk configure:2982: result: gawk configure:2993: checking whether make sets $(MAKE) configure:3015: result: yes configure:3044: checking whether make supports nested variables configure:3061: result: yes configure:3190: checking build system type configure:3204: result: x86_64-pc-linux-gnu configure:3224: checking host system type configure:3237: result: x86_64-pc-linux-gnu configure:3265: checking for x86_64-pc-linux-gnu-gcc configure:3281: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:3292: result: x86_64-pc-linux-gnu-gcc configure:3561: checking for C compiler version configure:3570: x86_64-pc-linux-gnu-gcc --version >&5 x86_64-pc-linux-gnu-gcc (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0 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:3581: $? = 0 configure:3570: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.4.0 p1.0, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-multilib-list=m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --disable-libquadmath --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) configure:3581: $? = 0 configure:3570: x86_64-pc-linux-gnu-gcc -V >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3581: $? = 1 configure:3570: x86_64-pc-linux-gnu-gcc -qversion >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3581: $? = 1 configure:3601: checking whether the C compiler works configure:3623: x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3627: $? = 0 configure:3675: result: yes configure:3678: checking for C compiler default output file name configure:3680: result: a.out configure:3686: checking for suffix of executables configure:3693: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3697: $? = 0 configure:3719: result: configure:3741: checking whether we are cross compiling configure:3749: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3753: $? = 0 configure:3760: ./conftest configure:3764: $? = 0 configure:3779: result: no configure:3784: checking for suffix of object files configure:3806: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:3810: $? = 0 configure:3831: result: o configure:3835: checking whether we are using the GNU C compiler configure:3854: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:3854: $? = 0 configure:3863: result: yes configure:3872: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:3892: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:3892: $? = 0 configure:3933: result: yes configure:3950: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:4013: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4013: $? = 0 configure:4026: result: none needed configure:4051: checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together configure:4073: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:4076: $? = 0 configure:4073: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:4076: $? = 0 configure:4088: result: yes configure:4116: checking for style of include used by make configure:4144: result: GNU configure:4170: checking dependency style of x86_64-pc-linux-gnu-gcc configure:4281: result: none configure:4308: checking for x86_64-pc-linux-gnu-pkg-config configure:4326: found /usr/bin/x86_64-pc-linux-gnu-pkg-config configure:4338: result: /usr/bin/x86_64-pc-linux-gnu-pkg-config configure:4406: checking pkg-config is at least version 0.9.0 configure:4409: result: yes configure:4423: checking how to run the C preprocessor configure:4454: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4454: $? = 0 configure:4468: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4468: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | /* end confdefs.h. */ | #include configure:4493: result: x86_64-pc-linux-gnu-gcc -E configure:4513: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4513: $? = 0 configure:4527: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4527: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | /* end confdefs.h. */ | #include configure:4556: checking for grep that handles long lines and -e configure:4614: result: /bin/grep configure:4619: checking for egrep configure:4681: result: /bin/grep -E configure:4686: checking for ANSI C header files configure:4706: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4706: $? = 0 configure:4779: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:4779: $? = 0 configure:4779: ./conftest configure:4779: $? = 0 configure:4790: result: yes configure:4803: checking for sys/types.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4803: checking for sys/stat.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4803: checking for stdlib.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4803: checking for string.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4803: checking for memory.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4803: checking for strings.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4803: checking for inttypes.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4803: checking for stdint.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4803: checking for unistd.h configure:4803: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4803: $? = 0 configure:4803: result: yes configure:4816: checking minix/config.h usability configure:4816: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 conftest.c:54:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:4816: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:4816: result: no configure:4816: checking minix/config.h presence configure:4816: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:21:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:4816: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:4816: result: no configure:4816: checking for minix/config.h configure:4816: result: no configure:4837: checking whether it is safe to define __EXTENSIONS__ configure:4855: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe conftest.c >&5 configure:4855: $? = 0 configure:4862: result: yes configure:4882: checking for accept4 configure:4882: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:4882: $? = 0 configure:4882: result: yes configure:5068: checking if compiler needs -Werror to reject unknown flags configure:5084: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe -Werror -Wunknown-warning-option -Wsizeof-array-argument conftest.c >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wunknown-warning-option' configure:5084: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ACCEPT4 1 | /* end confdefs.h. */ | int foo(void); | int | main () | { | foo() | ; | return 0; | } configure:5089: result: no configure:5155: checking for the pthreads library -lpthreads configure:5193: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lpthreads >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status configure:5193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ACCEPT4 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_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:5202: result: no configure:5100: checking whether pthreads work without any flags configure:5193: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/net-analyzer/netdata-1.4.0-r1/temp/ccyaIXDj.o: In function `main': conftest.c:(.text.startup+0x29): undefined reference to `pthread_create' conftest.c:(.text.startup+0x35): undefined reference to `pthread_join' conftest.c:(.text.startup+0x59): undefined reference to `__pthread_register_cancel' conftest.c:(.text.startup+0x63): undefined reference to `__pthread_unregister_cancel' collect2: error: ld returned 1 exit status configure:5193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ACCEPT4 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_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:5202: result: no configure:5105: checking whether pthreads work with -Kthread configure:5193: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -Kthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Kthread' configure:5193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ACCEPT4 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_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:5202: result: no configure:5105: checking whether pthreads work with -kthread configure:5193: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -kthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-kthread' configure:5193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ACCEPT4 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_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:5202: result: no configure:5155: checking for the pthreads library -llthread configure:5193: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -llthread >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llthread collect2: error: ld returned 1 exit status configure:5193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "netdata" | #define PACKAGE_TARNAME "netdata" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "netdata 1.4.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "netdata" | #define VERSION "1.4.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_ACCEPT4 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_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:5202: result: no configure:5105: checking whether pthreads work with -pthread configure:5193: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:5193: $? = 0 configure:5202: result: yes configure:5221: checking for joinable pthread attribute configure:5236: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:5236: $? = 0 configure:5242: result: PTHREAD_CREATE_JOINABLE configure:5252: checking if more special flags are required for pthreads configure:5267: result: no configure:5273: checking for PTHREAD_PRIO_INHERIT configure:5290: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:31:5: warning: unused variable 'i' [-Wunused-variable] int i = PTHREAD_PRIO_INHERIT; ^ configure:5290: $? = 0 configure:5299: result: yes configure:5636: checking for mallopt configure:5649: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:5649: $? = 0 configure:5657: result: yes configure:5665: checking for mallinfo configure:5688: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:36:23: warning: variable 'mi' set but not used [-Wunused-but-set-variable] struct mallinfo mi = mallinfo(); ^ configure:5688: $? = 0 configure:5696: result: yes configure:5707: checking for uint8_t configure:5707: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe -pthread conftest.c >&5 configure:5707: $? = 0 configure:5707: result: yes configure:5721: checking for uint16_t configure:5721: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe -pthread conftest.c >&5 configure:5721: $? = 0 configure:5721: result: yes configure:5733: checking for uint32_t configure:5733: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe -pthread conftest.c >&5 configure:5733: $? = 0 configure:5733: result: yes configure:5747: checking for inline configure:5763: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe -pthread conftest.c >&5 configure:5763: $? = 0 configure:5771: result: inline configure:5789: checking whether strerror_r is declared configure:5789: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe -pthread conftest.c >&5 configure:5789: $? = 0 configure:5789: result: yes configure:5802: checking for strerror_r configure:5802: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:5802: $? = 0 configure:5802: result: yes configure:5811: checking whether strerror_r returns char * configure:5835: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe -pthread conftest.c >&5 configure:5835: $? = 0 configure:5873: result: yes configure:5881: checking for _Generic configure:5900: x86_64-pc-linux-gnu-gcc -c -Wall -march=native -O2 -pipe -pthread conftest.c >&5 configure:5900: $? = 0 configure:5907: result: yes configure:5915: checking for __atomic configure:5937: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:5937: $? = 0 configure:5945: result: yes configure:5957: checking size of void * configure:5962: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:5962: $? = 0 configure:5962: ./conftest configure:5962: $? = 0 configure:5976: result: 8 configure:6041: checking for sin in -lm configure:6066: x86_64-pc-linux-gnu-gcc -o conftest -Wall -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as-needed conftest.c -lm >&5 conftest.c:45:6: warning: conflicting types for built-in function 'sin' char sin (); ^ configure:6066: $? = 0 configure:6075: result: yes configure:6086: checking for UUID configure:6093: $PKG_CONFIG --exists --print-errors "uuid" configure:6096: $? = 0 configure:6110: $PKG_CONFIG --exists --print-errors "uuid" configure:6113: $? = 0 configure:6171: result: yes configure:6376: checking for ZLIB configure:6383: $PKG_CONFIG --exists --print-errors "zlib" configure:6386: $? = 0 configure:6400: $PKG_CONFIG --exists --print-errors "zlib" configure:6403: $? = 0 configure:6461: result: yes configure:6660: checking that generated files are newer than configure configure:6666: result: done configure:6689: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by netdata config.status 1.4.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on mr-fox config.status:938: creating Makefile config.status:938: creating charts.d/Makefile config.status:938: creating conf.d/Makefile config.status:938: creating netdata.spec config.status:938: creating python.d/Makefile config.status:938: creating node.d/Makefile config.status:938: creating plugins.d/Makefile config.status:938: creating src/Makefile config.status:938: creating system/Makefile config.status:938: creating web/Makefile config.status:938: creating contrib/Makefile config.status:938: creating config.h config.status:1167: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c__Generic=yes ac_cv_c___atomic=yes ac_cv_c_compiler_gnu=yes ac_cv_c_inline=inline ac_cv_c_mallinfo=yes ac_cv_c_mallopt=yes ac_cv_c_uint16_t=yes ac_cv_c_uint32_t=yes ac_cv_c_uint8_t=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-Wall -march=native -O2 -pipe' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed' ac_cv_env_LIBMNL_CFLAGS_set= ac_cv_env_LIBMNL_CFLAGS_value= ac_cv_env_LIBMNL_LIBS_set= ac_cv_env_LIBMNL_LIBS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_MATH_CFLAGS_set= ac_cv_env_MATH_CFLAGS_value= ac_cv_env_MATH_LIBS_set= ac_cv_env_MATH_LIBS_value= ac_cv_env_NFACCT_CFLAGS_set= ac_cv_env_NFACCT_CFLAGS_value= ac_cv_env_NFACCT_LIBS_set= ac_cv_env_NFACCT_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib64/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_SSE_CANDIDATE_set= ac_cv_env_SSE_CANDIDATE_value= ac_cv_env_UUID_CFLAGS_set= ac_cv_env_UUID_CFLAGS_value= ac_cv_env_UUID_LIBS_set= ac_cv_env_UUID_LIBS_value= ac_cv_env_ZLIB_CFLAGS_set= ac_cv_env_ZLIB_CFLAGS_value= ac_cv_env_ZLIB_LIBS_set= ac_cv_env_ZLIB_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_accept4=yes ac_cv_func_strerror_r=yes ac_cv_func_strerror_r_char_p=yes ac_cv_have_decl_strerror_r=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_m_sin=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config ac_cv_path_install='/usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E' ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_sizeof_void_p=8 am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv_PTHREAD_PRIO_INHERIT=yes pkg_cv_UUID_CFLAGS='-I/usr/include/uuid ' pkg_cv_UUID_LIBS='-luuid ' pkg_cv_ZLIB_CFLAGS=' ' pkg_cv_ZLIB_LIBS='-lz ' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/net-analyzer/netdata-1.4.0-r1/work/netdata-1.4.0/missing aclocal-1.14' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AUTOCONF='${SHELL} /var/tmp/portage/net-analyzer/netdata-1.4.0-r1/work/netdata-1.4.0/missing autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/net-analyzer/netdata-1.4.0-r1/work/netdata-1.4.0/missing autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/net-analyzer/netdata-1.4.0-r1/work/netdata-1.4.0/missing automake-1.14' AWK='gawk' CC='x86_64-pc-linux-gnu-gcc' CCDEPMODE='depmode=none' CFLAGS='-Wall -march=native -O2 -pipe -pthread' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LIBMNL_CFLAGS='' LIBMNL_LIBS='' LIBOBJS='' LIBS=' ' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /var/tmp/portage/net-analyzer/netdata-1.4.0-r1/work/netdata-1.4.0/missing makeinfo' MATH_CFLAGS='' MATH_LIBS='-lm' MKDIR_P='/bin/mkdir -p' NFACCT_CFLAGS='' NFACCT_LIBS='' OBJEXT='o' OPTIONAL_MATH_CLFAGS='' OPTIONAL_MATH_LIBS='-lm' OPTIONAL_NFACCT_CLFAGS='' OPTIONAL_NFACCT_LIBS='' OPTIONAL_UUID_CLFAGS='-I/usr/include/uuid ' OPTIONAL_UUID_LIBS='-luuid ' OPTIONAL_ZLIB_CLFAGS=' ' OPTIONAL_ZLIB_LIBS='-lz ' PACKAGE='netdata' PACKAGE_BUGREPORT='' PACKAGE_NAME='netdata' PACKAGE_RPM_RELEASE='' PACKAGE_RPM_VERSION='1.4.0' PACKAGE_STRING='netdata 1.4.0' PACKAGE_TARNAME='netdata' PACKAGE_URL='' PACKAGE_VERSION='1.4.0' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/x86_64-pc-linux-gnu-pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/usr/lib64/pkgconfig' PTHREAD_CC='x86_64-pc-linux-gnu-gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' SET_MAKE='' SHELL='/bin/sh' SSE_CANDIDATE='' STRIP='' UUID_CFLAGS='-I/usr/include/uuid ' UUID_LIBS='-luuid ' VERSION='1.4.0' ZLIB_CFLAGS=' ' ZLIB_LIBS='-lz ' ac_ct_CC='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ax_pthread_config='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' cachedir='$(localstatedir)/cache/netdata' chartsdir='$(libexecdir)/netdata/charts.d' configdir='$(sysconfdir)/netdata' datadir='/usr/share' datarootdir='${prefix}/share' docdir='/usr/share/doc/netdata-1.4.0-r1' dvidir='${docdir}' exec_prefix='${prefix}' has_jemalloc='0' has_tcmalloc='0' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='/usr/share/doc/netdata-1.4.0-r1/html' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='${SHELL} /var/tmp/portage/net-analyzer/netdata-1.4.0-r1/work/netdata-1.4.0/install-sh' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' logdir='$(localstatedir)/log/netdata' mandir='/usr/share/man' mkdir_p='$(MKDIR_P)' nodedir='$(libexecdir)/netdata/node.d' oldincludedir='/usr/include' pdfdir='${docdir}' pluginsdir='$(libexecdir)/netdata/plugins.d' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' pythondir='$(libexecdir)/netdata/python.d' registrydir='$(localstatedir)/lib/netdata/registry' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' varlibdir='$(localstatedir)/lib/netdata' webdir='$(pkgdatadir)/web' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "netdata" #define PACKAGE_TARNAME "netdata" #define PACKAGE_VERSION "1.4.0" #define PACKAGE_STRING "netdata 1.4.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "netdata" #define VERSION "1.4.0" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define HAVE_ACCEPT4 1 #define HAVE_PTHREAD_PRIO_INHERIT 1 #define HAVE_PTHREAD 1 #define prefix_jemalloc #define HAVE_C_MALLOPT 1 #define HAVE_C_MALLINFO 1 #define HAVE_DECL_STRERROR_R 1 #define HAVE_STRERROR_R 1 #define STRERROR_R_CHAR_P 1 #define HAVE_C__GENERIC 1 #define HAVE_C___ATOMIC 1 #define SIZEOF_VOID_P 8 #define NETDATA_WITH_UUID 1 #define NETDATA_WITH_ZLIB 1 #define STORAGE_WITH_MATH 1 #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) #define NETDATA_USER "netdata" configure: exit 0