Build of iperf3 with musl toolchain

The build took 00h 01m 17s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
8,331 ansic
4,484 sh
2,696 makefile
103 python
15,614 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: iperf3 3.1.3-1 (Tue Apr 4 23:20:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for x86_64-unknown-linux-gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking whether clang understands -c and -o together... yes
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# configure: WARNING: using cross tools not prefixed with host triplet
# checking whether ln -s works... yes
# checking how to print strings... printf
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for fgrep... /usr/sbin/grep -F
# checking for ld used by clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/nm -B
# checking the name lister (/sysroot/bin/nm -B) interface... BSD nm
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... no
# checking for ar... ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... ranlib
# checking command to parse /sysroot/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for a working dd... /usr/sbin/dd
# checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking how to run the C preprocessor... clang -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking for dlfcn.h... yes
# checking for objdir... .libs
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... yes
# checking for ANSI C header files... (cached) yes
# checking for library containing floor... none required
# checking for library containing nanosleep... none required
# checking for library containing hstrerror... none required
# checking for library containing socket... none required
# checking for library containing inet_ntop... none required
# checking for an ANSI C-conforming const... yes
# checking sys/socket.h usability... yes
# checking sys/socket.h presence... yes
# checking for sys/socket.h... yes
# checking for netinet/sctp.h... no
# checking TCP_CONGESTION socket option... yes
# checking IPv6 flowlabel support... no
# checking for cpuset_setaffinity... no
# checking for sched_setaffinity... yes
# checking for sendfile... yes
# checking SO_MAX_PACING_RATE socket option... yes
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating src/Makefile
# config.status: creating src/version.h
# config.status: creating examples/Makefile
# config.status: creating iperf3.spec
# config.status: creating src/iperf_config.h
# config.status: executing depfiles commands
# config.status: executing libtool commands
# Making all in src
# make[1]: Entering directory '/tmp/iperf3/src/iperf-3.1.3/src'
# make all-am
# make[2]: Entering directory '/tmp/iperf3/src/iperf-3.1.3/src'
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -MT cjson.lo -MD -MP -MF .deps/cjson.Tpo -c -o cjson.lo cjson.c
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -MT iperf_api.lo -MD -MP -MF .deps/iperf_api.Tpo -c -o iperf_api.lo iperf_api.c
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -MT iperf_error.lo -MD -MP -MF .deps/iperf_error.Tpo -c -o iperf_error.lo iperf_error.c
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -MT iperf_client_api.lo -MD -MP -MF .deps/iperf_client_api.Tpo -c -o iperf_client_api.lo iperf_client_api.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -MT iperf_api.lo -MD -MP -MF .deps/iperf_api.Tpo -c iperf_api.c -fPIC -DPIC -o .libs/iperf_api.o
# libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -MT cjson.lo -MD -MP -MF .deps/cjson.Tpo -c cjson.c -fPIC -DPIC -o .libs/cjson.o
# libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -MT iperf_client_api.lo -MD -MP -MF .deps/iperf_client_api.Tpo -c iperf_client_api.c -fPIC -DPIC -o .libs/iperf_client_api.o
# libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -MT iperf_error.lo -MD -MP -MF .deps/iperf_error.Tpo -c iperf_error.c -fPIC -DPIC -o .libs/iperf_error.o
# In file included from iperf_client_api.c:39:
# ./iperf.h:71:21: error: field has incomplete type 'struct tcp_info'
# struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD */
# ^
# ./iperf.h:71:12: note: forward declaration of 'struct tcp_info'
# struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD */
# ^
# In file included from iperf_error.c:33:
# ./iperf.h:71:21: error: field has incomplete type 'struct tcp_info'
# struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD */
# ^
# ./iperf.h:71:12: note: forward declaration of 'struct tcp_info'
# struct tcp_info tcpInfo; /* getsockopt(TCP_INFO) for Linux, {Free,Net}BSD */
# ^
# 1 error generated.
# 1 error generated.
# make[2]: *** [Makefile:856: iperf_error.lo] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[2]: *** [Makefile:856: iperf_client_api.lo] Error 1
# libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -MT cjson.lo -MD -MP -MF .deps/cjson.Tpo -c cjson.c -o cjson.o >/dev/null 2>&1
# libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -MT iperf_api.lo -MD -MP -MF .deps/iperf_api.Tpo -c iperf_api.c -o iperf_api.o >/dev/null 2>&1
# mv -f .deps/cjson.Tpo .deps/cjson.Plo
# mv -f .deps/iperf_api.Tpo .deps/iperf_api.Plo
# make[2]: Leaving directory '/tmp/iperf3/src/iperf-3.1.3/src'
# make[1]: *** [Makefile:632: all] Error 2
# make[1]: Leaving directory '/tmp/iperf3/src/iperf-3.1.3/src'
# make: *** [Makefile:381: all-recursive] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/iperf3/src/iperf-3.1.3/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by iperf configure 3.1.3, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 5099e97b06e2
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /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: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2277: checking for a BSD-compatible install
# configure:2345: result: /usr/bin/install -c
# configure:2356: checking whether build environment is sane
# configure:2411: result: yes
# configure:2470: checking for x86_64-unknown-linux-strip
# configure:2500: result: no
# configure:2510: checking for strip
# configure:2526: found /sysroot/bin/strip
# configure:2537: result: strip
# configure:2562: checking for a thread-safe mkdir -p
# configure:2601: result: /usr/sbin/mkdir -p
# configure:2608: checking for gawk
# configure:2624: found /usr/sbin/gawk
# configure:2635: result: gawk
# configure:2646: checking whether make sets $(MAKE)
# configure:2668: result: yes
# configure:2697: checking whether make supports nested variables
# configure:2714: result: yes
# configure:2841: checking whether to enable maintainer-specific portions of Makefiles
# configure:2850: result: no
# configure:2870: checking build system type
# configure:2884: result: x86_64-unknown-linux-gnu
# configure:2904: checking host system type
# configure:2917: result: x86_64-unknown-linux-gnu
# configure:2948: checking for x86_64-unknown-linux-gcc
# configure:2975: result: clang
# configure:3244: checking for C compiler version
# configure:3253: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3264: $? = 0
# configure:3253: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:3264: $? = 0
# configure:3253: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3264: $? = 1
# configure:3253: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3264: $? = 1
# configure:3284: checking whether the C compiler works
# configure:3306: clang conftest.c >&5
# configure:3310: $? = 0
# configure:3358: result: yes
# configure:3361: checking for C compiler default output file name
# configure:3363: result: a.out
# configure:3369: checking for suffix of executables
# configure:3376: clang -o conftest conftest.c >&5
# configure:3380: $? = 0
# configure:3402: result:
# configure:3424: checking whether we are cross compiling
# configure:3432: clang -o conftest conftest.c >&5
# configure:3436: $? = 0
# configure:3443: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3447: $? = 127
# configure:3462: result: yes
# configure:3467: checking for suffix of object files
# configure:3489: clang -c conftest.c >&5
# configure:3493: $? = 0
# configure:3514: result: o
# configure:3518: checking whether we are using the GNU C compiler
# configure:3537: clang -c conftest.c >&5
# configure:3537: $? = 0
# configure:3546: result: yes
# configure:3555: checking whether clang accepts -g
# configure:3575: clang -c -g conftest.c >&5
# configure:3575: $? = 0
# configure:3616: result: yes
# configure:3633: checking for clang option to accept ISO C89
# configure:3696: clang -c conftest.c >&5
# configure:3696: $? = 0
# configure:3709: result: none needed
# configure:3734: checking whether clang understands -c and -o together
# configure:3756: clang -c conftest.c -o conftest2.o
# configure:3759: $? = 0
# configure:3756: clang -c conftest.c -o conftest2.o
# configure:3759: $? = 0
# configure:3771: result: yes
# configure:3799: checking for style of include used by make
# configure:3827: result: GNU
# configure:3853: checking dependency style of clang
# configure:3964: result: gcc3
# configure:3982: checking for x86_64-unknown-linux-ranlib
# configure:4012: result: no
# configure:4022: checking for ranlib
# configure:4038: found /sysroot/bin/ranlib
# configure:4049: result: ranlib
# configure:4061: WARNING: using cross tools not prefixed with host triplet
# configure:4071: checking whether ln -s works
# configure:4075: result: yes
# configure:4128: checking how to print strings
# configure:4155: result: printf
# configure:4176: checking for a sed that does not truncate output
# configure:4240: result: /usr/sbin/sed
# configure:4258: checking for grep that handles long lines and -e
# configure:4316: result: /usr/sbin/grep
# configure:4321: checking for egrep
# configure:4383: result: /usr/sbin/grep -E
# configure:4388: checking for fgrep
# configure:4450: result: /usr/sbin/grep -F
# configure:4485: checking for ld used by clang
# configure:4552: result: /sysroot/bin/ld
# configure:4559: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4574: result: yes
# configure:4586: checking for BSD- or MS-compatible name lister (nm)
# configure:4640: result: /sysroot/bin/nm -B
# configure:4770: checking the name lister (/sysroot/bin/nm -B) interface
# configure:4777: clang -c conftest.c >&5
# configure:4780: /sysroot/bin/nm -B "conftest.o"
# configure:4783: output
# 0000000000000000 B some_variable
# configure:4790: result: BSD nm
# configure:4794: checking the maximum length of command line arguments
# configure:4925: result: 1572864
# configure:4973: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:5013: result: func_convert_file_noop
# configure:5020: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:5040: result: func_convert_file_noop
# configure:5047: checking for /sysroot/bin/ld option to reload object files
# configure:5054: result: -r
# configure:5088: checking for x86_64-unknown-linux-objdump
# configure:5118: result: no
# configure:5128: checking for objdump
# configure:5144: found /sysroot/bin/objdump
# configure:5155: result: objdump
# configure:5187: checking how to recognize dependent libraries
# configure:5387: result: pass_all
# configure:5432: checking for x86_64-unknown-linux-dlltool
# configure:5462: result: no
# configure:5472: checking for dlltool
# configure:5502: result: no
# configure:5532: checking how to associate runtime and link libraries
# configure:5559: result: printf %s\n
# configure:5576: checking for x86_64-unknown-linux-ar
# configure:5606: result: no
# configure:5620: checking for ar
# configure:5636: found /sysroot/bin/ar
# configure:5647: result: ar
# configure:5684: checking for archiver @FILE support
# configure:5701: clang -c conftest.c >&5
# configure:5701: $? = 0
# configure:5704: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:5707: $? = 0
# configure:5712: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# /r: conftest.o: No such file or directory
# configure:5715: $? = 1
# configure:5727: result: @
# configure:5745: checking for x86_64-unknown-linux-strip
# configure:5772: result: strip
# configure:5844: checking for x86_64-unknown-linux-ranlib
# configure:5871: result: ranlib
# configure:6013: checking command to parse /sysroot/bin/nm -B output from clang object
# configure:6166: clang -c conftest.c >&5
# configure:6169: $? = 0
# configure:6173: /sysroot/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
# configure:6176: $? = 0
# configure:6242: clang -o conftest conftest.c conftstm.o >&5
# configure:6245: $? = 0
# configure:6283: result: ok
# configure:6330: checking for sysroot
# configure:6360: result: no
# configure:6367: checking for a working dd
# configure:6405: result: /usr/sbin/dd
# configure:6409: checking how to truncate binary pipes
# configure:6424: result: /usr/sbin/dd bs=4096 count=1
# configure:6560: clang -c conftest.c >&5
# configure:6563: $? = 0
# configure:6713: checking for x86_64-unknown-linux-mt
# configure:6743: result: no
# configure:6753: checking for mt
# configure:6783: result: no
# configure:6803: checking if : is a manifest tool
# configure:6809: : '-?'
# configure:6817: result: no
# configure:7494: checking how to run the C preprocessor
# configure:7525: clang -E conftest.c
# configure:7525: $? = 0
# configure:7539: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7539: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "iperf"
# | #define PACKAGE_TARNAME "iperf"
# | #define PACKAGE_VERSION "3.1.3"
# | #define PACKAGE_STRING "iperf 3.1.3"
# | #define PACKAGE_BUGREPORT "https://github.com/esnet/iperf"
# | #define PACKAGE_URL "http://software.es.net/iperf/"
# | #define PACKAGE "iperf"
# | #define VERSION "3.1.3"
# | /* end confdefs.h. */
# | #include
# configure:7564: result: clang -E
# configure:7584: clang -E conftest.c
# configure:7584: $? = 0
# configure:7598: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7598: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "iperf"
# | #define PACKAGE_TARNAME "iperf"
# | #define PACKAGE_VERSION "3.1.3"
# | #define PACKAGE_STRING "iperf 3.1.3"
# | #define PACKAGE_BUGREPORT "https://github.com/esnet/iperf"
# | #define PACKAGE_URL "http://software.es.net/iperf/"
# | #define PACKAGE "iperf"
# | #define VERSION "3.1.3"
# | /* end confdefs.h. */
# | #include
# configure:7627: checking for ANSI C header files
# configure:7647: clang -c conftest.c >&5
# configure:7647: $? = 0
# configure:7731: result: yes
# configure:7744: checking for sys/types.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7744: checking for sys/stat.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7744: checking for stdlib.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7744: checking for string.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7744: checking for memory.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7744: checking for strings.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7744: checking for inttypes.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7744: checking for stdint.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7744: checking for unistd.h
# configure:7744: clang -c conftest.c >&5
# configure:7744: $? = 0
# configure:7744: result: yes
# configure:7758: checking for dlfcn.h
# configure:7758: clang -c conftest.c >&5
# configure:7758: $? = 0
# configure:7758: result: yes
# configure:8014: checking for objdir
# configure:8029: result: .libs
# configure:8289: checking if clang supports -fno-rtti -fno-exceptions
# configure:8307: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:8311: $? = 0
# configure:8324: result: yes
# configure:8682: checking for clang option to produce PIC
# configure:8689: result: -fPIC -DPIC
# configure:8697: checking if clang PIC flag -fPIC -DPIC works
# configure:8715: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:8719: $? = 0
# configure:8732: result: yes
# configure:8761: checking if clang static flag -static works
# configure:8789: result: no
# configure:8804: checking if clang supports -c -o file.o
# configure:8825: clang -c -o out/conftest2.o conftest.c >&5
# configure:8829: $? = 0
# configure:8851: result: yes
# configure:8859: checking if clang supports -c -o file.o
# configure:8906: result: yes
# configure:8939: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:10198: result: yes
# configure:10235: checking whether -lc should be explicitly linked in
# configure:10243: clang -c conftest.c >&5
# configure:10246: $? = 0
# configure:10261: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:10264: $? = 0
# configure:10278: result: no
# configure:10438: checking dynamic linker characteristics
# configure:11019: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:11019: $? = 0
# configure:11256: result: GNU/Linux ld.so
# configure:11378: checking how to hardcode library paths into programs
# configure:11403: result: immediate
# configure:11951: checking whether stripping libraries is possible
# configure:11956: result: yes
# configure:11991: checking if libtool supports shared libraries
# configure:11993: result: yes
# configure:11996: checking whether to build shared libraries
# configure:12021: result: yes
# configure:12024: checking whether to build static libraries
# configure:12028: result: yes
# configure:12072: checking for ANSI C header files
# configure:12176: result: yes
# configure:12189: checking for library containing floor
# configure:12220: clang -o conftest -Wall conftest.c >&5
# conftest.c:31:6: warning: incompatible redeclaration of library function 'floor' [-Wincompatible-library-redeclaration]
# char floor ();
# ^
# conftest.c:31:6: note: 'floor' is a builtin with type 'double (double)'
# 1 warning generated.
# configure:12220: $? = 0
# configure:12237: result: none required
# configure:12252: checking for library containing nanosleep
# configure:12283: clang -o conftest -Wall conftest.c >&5
# configure:12283: $? = 0
# configure:12300: result: none required
# configure:12315: checking for library containing hstrerror
# configure:12346: clang -o conftest -Wall conftest.c >&5
# configure:12346: $? = 0
# configure:12363: result: none required
# configure:12378: checking for library containing socket
# configure:12409: clang -o conftest -Wall conftest.c >&5
# configure:12409: $? = 0
# configure:12426: result: none required
# configure:12441: checking for library containing inet_ntop
# configure:12472: clang -o conftest -Wall conftest.c >&5
# configure:12472: $? = 0
# configure:12489: result: none required
# configure:12504: checking for an ANSI C-conforming const
# configure:12570: clang -c -Wall conftest.c >&5
# configure:12570: $? = 0
# configure:12577: result: yes
# configure:12589: checking sys/socket.h usability
# configure:12589: clang -c -Wall conftest.c >&5
# configure:12589: $? = 0
# configure:12589: result: yes
# configure:12589: checking sys/socket.h presence
# configure:12589: clang -E conftest.c
# configure:12589: $? = 0
# configure:12589: result: yes
# configure:12589: checking for sys/socket.h
# configure:12589: result: yes
# configure:12601: checking for netinet/sctp.h
# configure:12601: clang -c -Wall conftest.c >&5
# conftest.c:30:10: fatal error: 'netinet/sctp.h' file not found
# #include
# ^
# 1 error generated.
# configure:12601: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "iperf"
# | #define PACKAGE_TARNAME "iperf"
# | #define PACKAGE_VERSION "3.1.3"
# | #define PACKAGE_STRING "iperf 3.1.3"
# | #define PACKAGE_BUGREPORT "https://github.com/esnet/iperf"
# | #define PACKAGE_URL "http://software.es.net/iperf/"
# | #define PACKAGE "iperf"
# | #define VERSION "3.1.3"
# | #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_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# | #ifdef HAVE_SYS_SOCKET_H
# | #include
# | #endif
# |
# |
# | #include
# configure:12601: result: no
# configure:12740: checking TCP_CONGESTION socket option
# configure:12762: result: yes
# configure:12774: checking IPv6 flowlabel support
# conftest.c:27:10: fatal error: 'linux/in6.h' file not found
# #include
# ^
# 1 error generated.
# configure:12797: result: no
# configure:12813: checking for cpuset_setaffinity
# configure:12813: clang -o conftest -Wall conftest.c >&5
# /tmp/conftest-b60cf2.o:conftest.c:function main: error: undefined reference to 'cpuset_setaffinity'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:12813: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "iperf"
# | #define PACKAGE_TARNAME "iperf"
# | #define PACKAGE_VERSION "3.1.3"
# | #define PACKAGE_STRING "iperf 3.1.3"
# | #define PACKAGE_BUGREPORT "https://github.com/esnet/iperf"
# | #define PACKAGE_URL "http://software.es.net/iperf/"
# | #define PACKAGE "iperf"
# | #define VERSION "3.1.3"
# | #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_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_TCP_CONGESTION 1
# | /* end confdefs.h. */
# | /* Define cpuset_setaffinity to an innocuous variant, in case declares cpuset_setaffinity.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define cpuset_setaffinity innocuous_cpuset_setaffinity
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char cpuset_setaffinity (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef cpuset_setaffinity
# |
# | /* 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 cpuset_setaffinity ();
# | /* 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_cpuset_setaffinity || defined __stub___cpuset_setaffinity
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return cpuset_setaffinity ();
# | ;
# | return 0;
# | }
# configure:12813: result: no
# configure:12813: checking for sched_setaffinity
# configure:12813: clang -o conftest -Wall conftest.c >&5
# configure:12813: $? = 0
# configure:12813: result: yes
# configure:12830: checking for sendfile
# configure:12830: clang -o conftest -Wall conftest.c >&5
# configure:12830: $? = 0
# configure:12830: result: yes
# configure:12841: checking SO_MAX_PACING_RATE socket option
# configure:12863: result: yes
# configure:12982: checking that generated files are newer than configure
# configure:12988: result: done
# configure:13015: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by iperf config.status 3.1.3, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 5099e97b06e2
#
# config.status:1098: creating Makefile
# config.status:1098: creating src/Makefile
# config.status:1098: creating src/version.h
# config.status:1098: creating examples/Makefile
# config.status:1098: creating iperf3.spec
# config.status:1098: creating src/iperf_config.h
# config.status:1327: executing depfiles commands
# config.status:1327: executing libtool commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=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=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_LT_SYS_LIBRARY_PATH_set=
# ac_cv_env_LT_SYS_LIBRARY_PATH_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_cpuset_setaffinity=no
# ac_cv_func_sched_setaffinity=yes
# ac_cv_func_sendfile=yes
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_netinet_sctp_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_socket_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-unknown-linux-gnu
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_lt_DD=/usr/sbin/dd
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_RANLIB=ranlib
# ac_cv_prog_STRIP=strip
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_search_floor='none required'
# ac_cv_search_hstrerror='none required'
# ac_cv_search_inet_ntop='none required'
# ac_cv_search_nanosleep='none required'
# ac_cv_search_socket='none required'
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# iperf3_cv_header_flowlabel=no
# iperf3_cv_header_so_max_pacing_rate=yes
# iperf3_cv_header_tcp_congestion=yes
# lt_cv_ar_at_file=@
# lt_cv_archive_cmds_need_lc=no
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/sysroot/bin/ld
# lt_cv_path_NM='/sysroot/bin/nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=yes
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_global_symbol_to_import=
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
# lt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/iperf3/src/iperf-3.1.3/config/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# AR='ar'
# AUTOCONF='${SHELL} /tmp/iperf3/src/iperf-3.1.3/config/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/iperf3/src/iperf-3.1.3/config/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/iperf3/src/iperf-3.1.3/config/missing automake-1.15'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=' -Wall'
# CPP='clang -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# DLLTOOL='false'
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD='/sysroot/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# LT_SYS_LIBRARY_PATH=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/iperf3/src/iperf-3.1.3/config/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='/sysroot/bin/nm -B'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='iperf'
# PACKAGE_BUGREPORT='https://github.com/esnet/iperf'
# PACKAGE_NAME='iperf'
# PACKAGE_STRING='iperf 3.1.3'
# PACKAGE_TARNAME='iperf'
# PACKAGE_URL='http://software.es.net/iperf/'
# PACKAGE_VERSION='3.1.3'
# PATH_SEPARATOR=':'
# RANLIB='ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='3.1.3'
# ac_ct_AR='ar'
# ac_ct_CC=''
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/iperf3/src/iperf-3.1.3/config/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='$(MKDIR_P)'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "iperf"
# #define PACKAGE_TARNAME "iperf"
# #define PACKAGE_VERSION "3.1.3"
# #define PACKAGE_STRING "iperf 3.1.3"
# #define PACKAGE_BUGREPORT "https://github.com/esnet/iperf"
# #define PACKAGE_URL "http://software.es.net/iperf/"
# #define PACKAGE "iperf"
# #define VERSION "3.1.3"
# #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_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define STDC_HEADERS 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_TCP_CONGESTION 1
# #define HAVE_SCHED_SETAFFINITY 1
# #define HAVE_CPU_AFFINITY 1
# #define HAVE_SENDFILE 1
# #define HAVE_SO_MAX_PACING_RATE 1
#
# configure: exit 0