Build of haveged with musl toolchain

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

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

SLOCLanguage
11,207 sh
9,019 ansic
3,118 makefile
23,344 total

The process tree of the build process is here.

List of Errors

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: haveged 1.9.1-2 (Wed Apr 5 00:23:51 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 for style of include used by make... 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 dependency style of clang... gcc3
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -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 uint32_t... yes
# checking for uint8_t... yes
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking how to print strings... printf
# checking for a sed that does not truncate output... /usr/sbin/sed
# 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 whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking whether the shell understands some XSI constructs... yes
# checking whether the shell understands "+="... yes
# 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
# configure: WARNING: using cross tools not prefixed with host triplet
# 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... no
# checking for ranlib... ranlib
# checking command to parse /sysroot/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# 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 x86_64-unknown-linux-gcc... (cached) clang
# checking whether we are using the GNU C compiler... (cached) yes
# checking whether clang accepts -g... (cached) yes
# checking for clang option to accept ISO C89... (cached) none needed
# checking dependency style of clang... (cached) gcc3
# checking for an ANSI C-conforming const... yes
# checking whether time.h and sys/time.h may both be included... yes
# checking whether clang needs -traditional... no
# checking sys/select.h usability... yes
# checking sys/select.h presence... yes
# checking for sys/select.h... yes
# checking sys/socket.h usability... yes
# checking sys/socket.h presence... yes
# checking for sys/socket.h... yes
# checking types of arguments for select... int,fd_set *,struct timeval *
# checking return type of signal handlers... void
# checking for __rdtsc... no
# checking for floor... yes
# checking for gettimeofday... yes
# checking for memset... yes
# checking for pow... yes
# checking for select... yes
# checking for sched_yield... yes
# checking for sqrt... yes
# checking for ANSI C header files... (cached) yes
# checking fcntl.h usability... yes
# checking fcntl.h presence... yes
# checking for fcntl.h... yes
# checking sched.h usability... yes
# checking sched.h presence... yes
# checking for sched.h... yes
# checking semaphore.h usability... yes
# checking semaphore.h presence... yes
# checking for semaphore.h... yes
# checking for stdlib.h... (cached) yes
# checking for string.h... (cached) yes
# checking sys/ioctl.h usability... yes
# checking sys/ioctl.h presence... yes
# checking for sys/ioctl.h... yes
# checking sys/mman.h usability... yes
# checking sys/mman.h presence... yes
# checking for sys/mman.h... yes
# checking sys/wait.h usability... yes
# checking sys/wait.h presence... yes
# checking for sys/wait.h... yes
# checking time.h usability... yes
# checking time.h presence... yes
# checking for time.h... yes
# checking sys/time.h usability... yes
# checking sys/time.h presence... yes
# checking for sys/time.h... yes
# checking for unistd.h... (cached) yes
# checking cpuid.h usability... yes
# checking cpuid.h presence... yes
# checking for cpuid.h... yes
# checking x86intrin.h usability... yes
# checking x86intrin.h presence... yes
# checking for x86intrin.h... yes
# checking syslog.h usability... yes
# checking syslog.h presence... yes
# checking for syslog.h... yes
# checking linux/random.h usability... no
# checking linux/random.h presence... no
# checking for linux/random.h... no
# 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 man/Makefile
# config.status: creating init.d/Makefile
# config.status: creating ent/Makefile
# config.status: creating nist/Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
# config.status: executing libtool commands
# make all-recursive
# make[1]: Entering directory '/tmp/haveged/src/haveged-1.9.1'
# Making all in src
# make[2]: Entering directory '/tmp/haveged/src/haveged-1.9.1/src'
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havege.lo -MD -MP -MF .deps/libhavege_la-havege.Tpo -c -o libhavege_la-havege.lo `test -f 'havege.c' || echo './'`havege.c
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegetune.lo -MD -MP -MF .deps/libhavege_la-havegetune.Tpo -c -o libhavege_la-havegetune.lo `test -f 'havegetune.c' || echo './'`havegetune.c
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegecollect.lo -MD -MP -MF .deps/libhavege_la-havegecollect.Tpo -c -o libhavege_la-havegecollect.lo `test -f 'havegecollect.c' || echo './'`havegecollect.c
# /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegetest.lo -MD -MP -MF .deps/libhavege_la-havegetest.Tpo -c -o libhavege_la-havegetest.lo `test -f 'havegetest.c' || echo './'`havegetest.c
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegetest.lo -MD -MP -MF .deps/libhavege_la-havegetest.Tpo -c havegetest.c -fPIC -DPIC -o .libs/libhavege_la-havegetest.o
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegetune.lo -MD -MP -MF .deps/libhavege_la-havegetune.Tpo -c havegetune.c -fPIC -DPIC -o .libs/libhavege_la-havegetune.o
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havege.lo -MD -MP -MF .deps/libhavege_la-havege.Tpo -c havege.c -fPIC -DPIC -o .libs/libhavege_la-havege.o
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegecollect.lo -MD -MP -MF .deps/libhavege_la-havegecollect.Tpo -c havegecollect.c -fPIC -DPIC -o .libs/libhavege_la-havegecollect.o
# havegetest.c:819:15: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
# Z_tau = abs(test5XOR(dp, tau) - 2500);
# ^
# havegetest.c:819:15: note: remove the call to 'abs' since unsigned values cannot be negative
# Z_tau = abs(test5XOR(dp, tau) - 2500);
# ^~~
# 1 warning generated.
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havege.lo -MD -MP -MF .deps/libhavege_la-havege.Tpo -c havege.c -o libhavege_la-havege.o >/dev/null 2>&1
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegetest.lo -MD -MP -MF .deps/libhavege_la-havegetest.Tpo -c havegetest.c -o libhavege_la-havegetest.o >/dev/null 2>&1
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegetune.lo -MD -MP -MF .deps/libhavege_la-havegetune.Tpo -c havegetune.c -o libhavege_la-havegetune.o >/dev/null 2>&1
# havegecollect.c:460:19: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# RESULT[i] = abs(addr[i] - addr[LOOP_CT]);
# ^
# havegecollect.c:460:19: note: use function 'labs' instead
# RESULT[i] = abs(addr[i] - addr[LOOP_CT]);
# ^~~
# labs
# mv -f .deps/libhavege_la-havegetest.Tpo .deps/libhavege_la-havegetest.Plo
# mv -f .deps/libhavege_la-havege.Tpo .deps/libhavege_la-havege.Plo
# clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT haveged.o -MD -MP -MF .deps/haveged.Tpo -c -o haveged.o haveged.c
# mv -f .deps/libhavege_la-havegetune.Tpo .deps/libhavege_la-havegetune.Plo
# 1 warning generated.
# libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -MT libhavege_la-havegecollect.lo -MD -MP -MF .deps/libhavege_la-havegecollect.Tpo -c havegecollect.c -o libhavege_la-havegecollect.o >/dev/null 2>&1
# haveged.c:34:10: fatal error: 'asm/types.h' file not found
# #include
# ^
# mv -f .deps/libhavege_la-havegecollect.Tpo .deps/libhavege_la-havegecollect.Plo
# /bin/sh ../libtool --tag=CC --mode=link clang -Wall -I.. -version-number 1:1:0 -o libhavege.la -rpath /usr/lib libhavege_la-havege.lo libhavege_la-havegetune.lo libhavege_la-havegecollect.lo libhavege_la-havegetest.lo
# libtool: link: clang -shared -fPIC -DPIC .libs/libhavege_la-havege.o .libs/libhavege_la-havegetune.o .libs/libhavege_la-havegecollect.o .libs/libhavege_la-havegetest.o -Wl,-soname -Wl,libhavege.so.1 -o .libs/libhavege.so.1.1.0
# libtool: link: (cd ".libs" && rm -f "libhavege.so.1" && ln -s "libhavege.so.1.1.0" "libhavege.so.1")
# libtool: link: (cd ".libs" && rm -f "libhavege.so" && ln -s "libhavege.so.1.1.0" "libhavege.so")
# libtool: link: ar cru .libs/libhavege.a libhavege_la-havege.o libhavege_la-havegetune.o libhavege_la-havegecollect.o libhavege_la-havegetest.o
# /r: `u' modifier ignored since `D' is the default (see `U')
# libtool: link: ranlib .libs/libhavege.a
# 1 error generated.
# make[2]: *** [Makefile:445: haveged.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# libtool: link: ( cd ".libs" && rm -f "libhavege.la" && ln -s "../libhavege.la" "libhavege.la" )
# make[2]: Leaving directory '/tmp/haveged/src/haveged-1.9.1/src'
# make[1]: *** [Makefile:433: all-recursive] Error 1
# make[1]: Leaving directory '/tmp/haveged/src/haveged-1.9.1'
# make: *** [Makefile:291: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/haveged/src/haveged-1.9.1/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 haveged configure 1.9.1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 3177c603a21c
# 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:2332: checking for a BSD-compatible install
# configure:2400: result: /usr/bin/install -c
# configure:2411: checking whether build environment is sane
# configure:2466: result: yes
# configure:2525: checking for x86_64-unknown-linux-strip
# configure:2555: result: no
# configure:2565: checking for strip
# configure:2581: found /sysroot/bin/strip
# configure:2592: result: strip
# configure:2617: checking for a thread-safe mkdir -p
# configure:2656: result: /usr/sbin/mkdir -p
# configure:2663: checking for gawk
# configure:2679: found /usr/sbin/gawk
# configure:2690: result: gawk
# configure:2701: checking whether make sets $(MAKE)
# configure:2723: result: yes
# configure:2822: checking for style of include used by make
# configure:2850: result: GNU
# configure:2881: checking for x86_64-unknown-linux-gcc
# configure:2908: result: clang
# configure:3177: checking for C compiler version
# configure:3186: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3197: $? = 0
# configure:3186: 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:3197: $? = 0
# configure:3186: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3197: $? = 1
# configure:3186: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3197: $? = 1
# configure:3217: checking whether the C compiler works
# configure:3239: clang conftest.c >&5
# configure:3243: $? = 0
# configure:3291: result: yes
# configure:3294: checking for C compiler default output file name
# configure:3296: result: a.out
# configure:3302: checking for suffix of executables
# configure:3309: clang -o conftest conftest.c >&5
# configure:3313: $? = 0
# configure:3335: result:
# configure:3357: checking whether we are cross compiling
# configure:3365: clang -o conftest conftest.c >&5
# configure:3369: $? = 0
# configure:3376: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3380: $? = 127
# configure:3395: result: yes
# configure:3400: checking for suffix of object files
# configure:3422: clang -c conftest.c >&5
# configure:3426: $? = 0
# configure:3447: result: o
# configure:3451: checking whether we are using the GNU C compiler
# configure:3470: clang -c conftest.c >&5
# configure:3470: $? = 0
# configure:3479: result: yes
# configure:3488: checking whether clang accepts -g
# configure:3508: clang -c -g conftest.c >&5
# configure:3508: $? = 0
# configure:3549: result: yes
# configure:3566: checking for clang option to accept ISO C89
# configure:3629: clang -c conftest.c >&5
# configure:3629: $? = 0
# configure:3642: result: none needed
# configure:3664: checking dependency style of clang
# configure:3775: result: gcc3
# configure:3796: checking how to run the C preprocessor
# configure:3827: clang -E conftest.c
# configure:3827: $? = 0
# configure:3841: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3841: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "haveged"
# | #define PACKAGE_TARNAME "haveged"
# | #define PACKAGE_VERSION "1.9.1"
# | #define PACKAGE_STRING "haveged 1.9.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "haveged"
# | #define VERSION "1.9.1"
# | /* end confdefs.h. */
# | #include
# configure:3866: result: clang -E
# configure:3886: clang -E conftest.c
# configure:3886: $? = 0
# configure:3900: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3900: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "haveged"
# | #define PACKAGE_TARNAME "haveged"
# | #define PACKAGE_VERSION "1.9.1"
# | #define PACKAGE_STRING "haveged 1.9.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "haveged"
# | #define VERSION "1.9.1"
# | /* end confdefs.h. */
# | #include
# configure:3929: checking for grep that handles long lines and -e
# configure:3987: result: /usr/sbin/grep
# configure:3992: checking for egrep
# configure:4054: result: /usr/sbin/grep -E
# configure:4059: checking for ANSI C header files
# configure:4079: clang -c conftest.c >&5
# configure:4079: $? = 0
# configure:4163: result: yes
# configure:4176: checking for sys/types.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4176: checking for sys/stat.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4176: checking for stdlib.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4176: checking for string.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4176: checking for memory.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4176: checking for strings.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4176: checking for inttypes.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4176: checking for stdint.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4176: checking for unistd.h
# configure:4176: clang -c conftest.c >&5
# configure:4176: $? = 0
# configure:4176: result: yes
# configure:4188: checking for uint32_t
# configure:4188: clang -c conftest.c >&5
# configure:4188: $? = 0
# configure:4188: clang -c conftest.c >&5
# conftest.c:57:23: error: expected expression
# if (sizeof ((uint32_t)))
# ^
# 1 error generated.
# configure:4188: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "haveged"
# | #define PACKAGE_TARNAME "haveged"
# | #define PACKAGE_VERSION "1.9.1"
# | #define PACKAGE_STRING "haveged 1.9.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "haveged"
# | #define VERSION "1.9.1"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((uint32_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4188: result: yes
# configure:4197: checking for uint8_t
# configure:4197: clang -c conftest.c >&5
# configure:4197: $? = 0
# configure:4197: clang -c conftest.c >&5
# conftest.c:58:22: error: expected expression
# if (sizeof ((uint8_t)))
# ^
# 1 error generated.
# configure:4197: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "haveged"
# | #define PACKAGE_TARNAME "haveged"
# | #define PACKAGE_VERSION "1.9.1"
# | #define PACKAGE_STRING "haveged 1.9.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "haveged"
# | #define VERSION "1.9.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_UINT32_T 1
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((uint8_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:4197: result: yes
# configure:4239: checking build system type
# configure:4253: result: x86_64-unknown-linux-gnu
# configure:4273: checking host system type
# configure:4286: result: x86_64-unknown-linux-gnu
# configure:4327: checking how to print strings
# configure:4354: result: printf
# configure:4375: checking for a sed that does not truncate output
# configure:4439: result: /usr/sbin/sed
# configure:4457: checking for fgrep
# configure:4519: result: /usr/sbin/grep -F
# configure:4554: checking for ld used by clang
# configure:4621: result: /sysroot/bin/ld
# configure:4628: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4643: result: yes
# configure:4655: checking for BSD- or MS-compatible name lister (nm)
# configure:4704: result: /sysroot/bin/nm -B
# configure:4834: checking the name lister (/sysroot/bin/nm -B) interface
# configure:4841: clang -c conftest.c >&5
# configure:4844: /sysroot/bin/nm -B "conftest.o"
# configure:4847: output
# 0000000000000000 B some_variable
# configure:4854: result: BSD nm
# configure:4857: checking whether ln -s works
# configure:4861: result: yes
# configure:4869: checking the maximum length of command line arguments
# configure:4999: result: 1572864
# configure:5016: checking whether the shell understands some XSI constructs
# configure:5026: result: yes
# configure:5030: checking whether the shell understands "+="
# configure:5036: result: yes
# configure:5071: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:5111: result: func_convert_file_noop
# configure:5118: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:5138: result: func_convert_file_noop
# configure:5145: checking for /sysroot/bin/ld option to reload object files
# configure:5152: result: -r
# configure:5186: checking for x86_64-unknown-linux-objdump
# configure:5216: result: no
# configure:5226: checking for objdump
# configure:5242: found /sysroot/bin/objdump
# configure:5253: result: objdump
# configure:5265: WARNING: using cross tools not prefixed with host triplet
# configure:5285: checking how to recognize dependent libraries
# configure:5487: result: pass_all
# configure:5532: checking for x86_64-unknown-linux-dlltool
# configure:5562: result: no
# configure:5572: checking for dlltool
# configure:5602: result: no
# configure:5632: checking how to associate runtime and link libraries
# configure:5659: result: printf %s\n
# configure:5675: checking for x86_64-unknown-linux-ar
# configure:5705: result: no
# configure:5719: checking for ar
# configure:5735: found /sysroot/bin/ar
# configure:5746: result: ar
# configure:5783: checking for archiver @FILE support
# configure:5800: clang -c conftest.c >&5
# configure:5800: $? = 0
# configure:5803: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:5806: $? = 0
# configure:5811: 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:5814: $? = 1
# configure:5826: result: @
# configure:5844: checking for x86_64-unknown-linux-strip
# configure:5871: result: strip
# configure:5943: checking for x86_64-unknown-linux-ranlib
# configure:5973: result: no
# configure:5983: checking for ranlib
# configure:5999: found /sysroot/bin/ranlib
# configure:6010: result: ranlib
# configure:6112: checking command to parse /sysroot/bin/nm -B output from clang object
# configure:6232: clang -c conftest.c >&5
# configure:6235: $? = 0
# configure:6239: /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:6242: $? = 0
# configure:6308: clang -o conftest conftest.c conftstm.o >&5
# configure:6311: $? = 0
# configure:6349: result: ok
# configure:6386: checking for sysroot
# configure:6416: result: no
# configure:6493: clang -c conftest.c >&5
# configure:6496: $? = 0
# configure:6632: checking for x86_64-unknown-linux-mt
# configure:6662: result: no
# configure:6672: checking for mt
# configure:6702: result: no
# configure:6722: checking if : is a manifest tool
# configure:6728: : '-?'
# configure:6736: result: no
# configure:7375: checking for dlfcn.h
# configure:7375: clang -c conftest.c >&5
# configure:7375: $? = 0
# configure:7375: result: yes
# configure:7581: checking for objdir
# configure:7596: result: .libs
# configure:7863: checking if clang supports -fno-rtti -fno-exceptions
# configure:7881: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:7885: $? = 0
# configure:7898: result: yes
# configure:8225: checking for clang option to produce PIC
# configure:8232: result: -fPIC -DPIC
# configure:8240: checking if clang PIC flag -fPIC -DPIC works
# configure:8258: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:8262: $? = 0
# configure:8275: result: yes
# configure:8304: checking if clang static flag -static works
# configure:8332: result: no
# configure:8347: checking if clang supports -c -o file.o
# configure:8368: clang -c -o out/conftest2.o conftest.c >&5
# configure:8372: $? = 0
# configure:8394: result: yes
# configure:8402: checking if clang supports -c -o file.o
# configure:8449: result: yes
# configure:8482: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:9635: result: yes
# configure:9672: checking whether -lc should be explicitly linked in
# configure:9680: clang -c conftest.c >&5
# configure:9683: $? = 0
# configure:9698: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:9701: $? = 0
# configure:9715: result: no
# configure:9875: checking dynamic linker characteristics
# configure:10386: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:10386: $? = 0
# configure:10612: result: GNU/Linux ld.so
# configure:10719: checking how to hardcode library paths into programs
# configure:10744: result: immediate
# configure:11284: checking whether stripping libraries is possible
# configure:11289: result: yes
# configure:11324: checking if libtool supports shared libraries
# configure:11326: result: yes
# configure:11329: checking whether to build shared libraries
# configure:11350: result: yes
# configure:11353: checking whether to build static libraries
# configure:11357: result: yes
# configure:11600: checking for x86_64-unknown-linux-gcc
# configure:11627: result: clang
# configure:11702: checking for C compiler version
# configure:11711: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:11722: $? = 0
# configure:11711: 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:11722: $? = 0
# configure:11711: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:11722: $? = 1
# configure:11711: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:11722: $? = 1
# configure:11726: checking whether we are using the GNU C compiler
# configure:11754: result: yes
# configure:11763: checking whether clang accepts -g
# configure:11824: result: yes
# configure:11841: checking for clang option to accept ISO C89
# configure:11917: result: none needed
# configure:11939: checking dependency style of clang
# configure:12050: result: gcc3
# configure:12067: checking for an ANSI C-conforming const
# configure:12133: clang -c conftest.c >&5
# configure:12133: $? = 0
# configure:12140: result: yes
# configure:12148: checking whether time.h and sys/time.h may both be included
# configure:12168: clang -c conftest.c >&5
# configure:12168: $? = 0
# configure:12175: result: yes
# configure:12186: checking whether clang needs -traditional
# conftest.c:31:10: fatal error: 'sgtty.h' file not found
# #include
# ^
# 1 error generated.
# conftest.c:31:10: fatal error: 'termio.h' file not found
# #include
# ^
# 1 error generated.
# configure:12220: result: no
# configure:12230: checking sys/select.h usability
# configure:12230: clang -c conftest.c >&5
# configure:12230: $? = 0
# configure:12230: result: yes
# configure:12230: checking sys/select.h presence
# configure:12230: clang -E conftest.c
# configure:12230: $? = 0
# configure:12230: result: yes
# configure:12230: checking for sys/select.h
# configure:12230: result: yes
# configure:12230: checking sys/socket.h usability
# configure:12230: clang -c conftest.c >&5
# configure:12230: $? = 0
# configure:12230: result: yes
# configure:12230: checking sys/socket.h presence
# configure:12230: clang -E conftest.c
# configure:12230: $? = 0
# configure:12230: result: yes
# configure:12230: checking for sys/socket.h
# configure:12230: result: yes
# configure:12240: checking types of arguments for select
# configure:12268: clang -c conftest.c >&5
# configure:12268: $? = 0
# configure:12279: result: int,fd_set *,struct timeval *
# configure:12302: checking return type of signal handlers
# configure:12320: clang -c conftest.c >&5
# conftest.c:42:8: error: indirection requires pointer operand ('void' invalid)
# return *(signal (0, 0)) (0) == 1;
# ^~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:12320: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "haveged"
# | #define PACKAGE_TARNAME "haveged"
# | #define PACKAGE_VERSION "1.9.1"
# | #define PACKAGE_STRING "haveged 1.9.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "haveged"
# | #define VERSION "1.9.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_UINT32_T 1
# | #define HAVE_UINT8_T 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVEGE_LIB_VERSION "1:1:0"
# | #define ONLINE_TESTS_ENABLE 1
# | #define NUMBER_CORES 1
# | #define TUNING_CPUID_ENABLE 1
# | #define TUNING_VFS_ENABLE 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 (fd_set *)
# | #define SELECT_TYPE_ARG5 (struct timeval *)
# | /* end confdefs.h. */
# | #include
# | #include
# |
# | int
# | main ()
# | {
# | return *(signal (0, 0)) (0) == 1;
# | ;
# | return 0;
# | }
# configure:12327: result: void
# configure:12338: checking for __rdtsc
# configure:12338: clang -o conftest conftest.c >&5
# /tmp/conftest-0b3721.o:conftest.c:function main: error: undefined reference to '__rdtsc'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:12338: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "haveged"
# | #define PACKAGE_TARNAME "haveged"
# | #define PACKAGE_VERSION "1.9.1"
# | #define PACKAGE_STRING "haveged 1.9.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "haveged"
# | #define VERSION "1.9.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_UINT32_T 1
# | #define HAVE_UINT8_T 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVEGE_LIB_VERSION "1:1:0"
# | #define ONLINE_TESTS_ENABLE 1
# | #define NUMBER_CORES 1
# | #define TUNING_CPUID_ENABLE 1
# | #define TUNING_VFS_ENABLE 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 (fd_set *)
# | #define SELECT_TYPE_ARG5 (struct timeval *)
# | #define RETSIGTYPE void
# | /* end confdefs.h. */
# | /* Define __rdtsc to an innocuous variant, in case declares __rdtsc.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define __rdtsc innocuous___rdtsc
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char __rdtsc (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef __rdtsc
# |
# | /* 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 __rdtsc ();
# | /* 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___rdtsc || defined __stub_____rdtsc
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return __rdtsc ();
# | ;
# | return 0;
# | }
# configure:12338: result: no
# configure:12338: checking for floor
# configure:12338: clang -o conftest conftest.c >&5
# conftest.c:60:6: warning: incompatible redeclaration of library function 'floor' [-Wincompatible-library-redeclaration]
# char floor ();
# ^
# conftest.c:60:6: note: 'floor' is a builtin with type 'double (double)'
# 1 warning generated.
# configure:12338: $? = 0
# configure:12338: result: yes
# configure:12338: checking for gettimeofday
# configure:12338: clang -o conftest conftest.c >&5
# configure:12338: $? = 0
# configure:12338: result: yes
# configure:12338: checking for memset
# configure:12338: clang -o conftest conftest.c >&5
# conftest.c:62:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
# char memset ();
# ^
# conftest.c:62:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
# 1 warning generated.
# configure:12338: $? = 0
# configure:12338: result: yes
# configure:12338: checking for pow
# configure:12338: clang -o conftest conftest.c >&5
# conftest.c:63:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration]
# char pow ();
# ^
# conftest.c:63:6: note: 'pow' is a builtin with type 'double (double, double)'
# 1 warning generated.
# configure:12338: $? = 0
# configure:12338: result: yes
# configure:12338: checking for select
# configure:12338: clang -o conftest conftest.c >&5
# configure:12338: $? = 0
# configure:12338: result: yes
# configure:12338: checking for sched_yield
# configure:12338: clang -o conftest conftest.c >&5
# configure:12338: $? = 0
# configure:12338: result: yes
# configure:12338: checking for sqrt
# configure:12338: clang -o conftest conftest.c >&5
# conftest.c:66:6: warning: incompatible redeclaration of library function 'sqrt' [-Wincompatible-library-redeclaration]
# char sqrt ();
# ^
# conftest.c:66:6: note: 'sqrt' is a builtin with type 'double (double)'
# 1 warning generated.
# configure:12338: $? = 0
# configure:12338: result: yes
# configure:12349: checking for ANSI C header files
# configure:12453: result: yes
# configure:12463: checking fcntl.h usability
# configure:12463: clang -c conftest.c >&5
# configure:12463: $? = 0
# configure:12463: result: yes
# configure:12463: checking fcntl.h presence
# configure:12463: clang -E conftest.c
# configure:12463: $? = 0
# configure:12463: result: yes
# configure:12463: checking for fcntl.h
# configure:12463: result: yes
# configure:12475: checking sched.h usability
# configure:12475: clang -c conftest.c >&5
# configure:12475: $? = 0
# configure:12475: result: yes
# configure:12475: checking sched.h presence
# configure:12475: clang -E conftest.c
# configure:12475: $? = 0
# configure:12475: result: yes
# configure:12475: checking for sched.h
# configure:12475: result: yes
# configure:12487: checking semaphore.h usability
# configure:12487: clang -c conftest.c >&5
# configure:12487: $? = 0
# configure:12487: result: yes
# configure:12487: checking semaphore.h presence
# configure:12487: clang -E conftest.c
# configure:12487: $? = 0
# configure:12487: result: yes
# configure:12487: checking for semaphore.h
# configure:12487: result: yes
# configure:12499: checking for stdlib.h
# configure:12499: result: yes
# configure:12511: checking for string.h
# configure:12511: result: yes
# configure:12523: checking sys/ioctl.h usability
# configure:12523: clang -c conftest.c >&5
# configure:12523: $? = 0
# configure:12523: result: yes
# configure:12523: checking sys/ioctl.h presence
# configure:12523: clang -E conftest.c
# configure:12523: $? = 0
# configure:12523: result: yes
# configure:12523: checking for sys/ioctl.h
# configure:12523: result: yes
# configure:12535: checking sys/mman.h usability
# configure:12535: clang -c conftest.c >&5
# configure:12535: $? = 0
# configure:12535: result: yes
# configure:12535: checking sys/mman.h presence
# configure:12535: clang -E conftest.c
# configure:12535: $? = 0
# configure:12535: result: yes
# configure:12535: checking for sys/mman.h
# configure:12535: result: yes
# configure:12547: checking sys/wait.h usability
# configure:12547: clang -c conftest.c >&5
# configure:12547: $? = 0
# configure:12547: result: yes
# configure:12547: checking sys/wait.h presence
# configure:12547: clang -E conftest.c
# configure:12547: $? = 0
# configure:12547: result: yes
# configure:12547: checking for sys/wait.h
# configure:12547: result: yes
# configure:12559: checking time.h usability
# configure:12559: clang -c conftest.c >&5
# configure:12559: $? = 0
# configure:12559: result: yes
# configure:12559: checking time.h presence
# configure:12559: clang -E conftest.c
# configure:12559: $? = 0
# configure:12559: result: yes
# configure:12559: checking for time.h
# configure:12559: result: yes
# configure:12571: checking sys/time.h usability
# configure:12571: clang -c conftest.c >&5
# configure:12571: $? = 0
# configure:12571: result: yes
# configure:12571: checking sys/time.h presence
# configure:12571: clang -E conftest.c
# configure:12571: $? = 0
# configure:12571: result: yes
# configure:12571: checking for sys/time.h
# configure:12571: result: yes
# configure:12583: checking for unistd.h
# configure:12583: result: yes
# configure:12595: checking cpuid.h usability
# configure:12595: clang -c conftest.c >&5
# configure:12595: $? = 0
# configure:12595: result: yes
# configure:12595: checking cpuid.h presence
# configure:12595: clang -E conftest.c
# configure:12595: $? = 0
# configure:12595: result: yes
# configure:12595: checking for cpuid.h
# configure:12595: result: yes
# configure:12607: checking x86intrin.h usability
# configure:12607: clang -c conftest.c >&5
# configure:12607: $? = 0
# configure:12607: result: yes
# configure:12607: checking x86intrin.h presence
# configure:12607: clang -E conftest.c
# configure:12607: $? = 0
# configure:12607: result: yes
# configure:12607: checking for x86intrin.h
# configure:12607: result: yes
# configure:12619: checking syslog.h usability
# configure:12619: clang -c conftest.c >&5
# configure:12619: $? = 0
# configure:12619: result: yes
# configure:12619: checking syslog.h presence
# configure:12619: clang -E conftest.c
# configure:12619: $? = 0
# configure:12619: result: yes
# configure:12619: checking for syslog.h
# configure:12619: result: yes
# configure:12631: checking linux/random.h usability
# configure:12631: clang -c conftest.c >&5
# conftest.c:92:10: fatal error: 'linux/random.h' file not found
# #include
# ^
# 1 error generated.
# configure:12631: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "haveged"
# | #define PACKAGE_TARNAME "haveged"
# | #define PACKAGE_VERSION "1.9.1"
# | #define PACKAGE_STRING "haveged 1.9.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "haveged"
# | #define VERSION "1.9.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_UINT32_T 1
# | #define HAVE_UINT8_T 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVEGE_LIB_VERSION "1:1:0"
# | #define ONLINE_TESTS_ENABLE 1
# | #define NUMBER_CORES 1
# | #define TUNING_CPUID_ENABLE 1
# | #define TUNING_VFS_ENABLE 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 (fd_set *)
# | #define SELECT_TYPE_ARG5 (struct timeval *)
# | #define RETSIGTYPE void
# | #define HAVE_FLOOR 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_MEMSET 1
# | #define HAVE_POW 1
# | #define HAVE_SELECT 1
# | #define HAVE_SCHED_YIELD 1
# | #define HAVE_SQRT 1
# | #define STDC_HEADERS 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_SCHED_H 1
# | #define HAVE_SEMAPHORE_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_MMAN_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_CPUID_H 1
# | #define HAVE_X86INTRIN_H 1
# | #define HAVE_SYSLOG_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:12631: result: no
# configure:12631: checking linux/random.h presence
# configure:12631: clang -E conftest.c
# conftest.c:59:10: fatal error: 'linux/random.h' file not found
# #include
# ^
# 1 error generated.
# configure:12631: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "haveged"
# | #define PACKAGE_TARNAME "haveged"
# | #define PACKAGE_VERSION "1.9.1"
# | #define PACKAGE_STRING "haveged 1.9.1"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "haveged"
# | #define VERSION "1.9.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_UINT32_T 1
# | #define HAVE_UINT8_T 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVEGE_LIB_VERSION "1:1:0"
# | #define ONLINE_TESTS_ENABLE 1
# | #define NUMBER_CORES 1
# | #define TUNING_CPUID_ENABLE 1
# | #define TUNING_VFS_ENABLE 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define SELECT_TYPE_ARG1 int
# | #define SELECT_TYPE_ARG234 (fd_set *)
# | #define SELECT_TYPE_ARG5 (struct timeval *)
# | #define RETSIGTYPE void
# | #define HAVE_FLOOR 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_MEMSET 1
# | #define HAVE_POW 1
# | #define HAVE_SELECT 1
# | #define HAVE_SCHED_YIELD 1
# | #define HAVE_SQRT 1
# | #define STDC_HEADERS 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_SCHED_H 1
# | #define HAVE_SEMAPHORE_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_MMAN_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_CPUID_H 1
# | #define HAVE_X86INTRIN_H 1
# | #define HAVE_SYSLOG_H 1
# | /* end confdefs.h. */
# | #include
# configure:12631: result: no
# configure:12631: checking for linux/random.h
# configure:12631: result: no
# configure:12990: checking that generated files are newer than configure
# configure:12996: result: done
# configure:13051: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by haveged config.status 1.9.1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 3177c603a21c
#
# config.status:1136: creating Makefile
# config.status:1136: creating src/Makefile
# config.status:1136: creating man/Makefile
# config.status:1136: creating init.d/Makefile
# config.status:1136: creating ent/Makefile
# config.status:1136: creating nist/Makefile
# config.status:1136: creating config.h
# config.status:1365: executing depfiles commands
# config.status:1365: 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_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___rdtsc=no
# ac_cv_func_floor=yes
# ac_cv_func_gettimeofday=yes
# ac_cv_func_memset=yes
# ac_cv_func_pow=yes
# ac_cv_func_sched_yield=yes
# ac_cv_func_select=yes
# ac_cv_func_select_args='int,fd_set *,struct timeval *'
# ac_cv_func_sqrt=yes
# ac_cv_header_cpuid_h=yes
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_fcntl_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_linux_random_h=no
# ac_cv_header_memory_h=yes
# ac_cv_header_sched_h=yes
# ac_cv_header_semaphore_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_ioctl_h=yes
# ac_cv_header_sys_mman_h=yes
# ac_cv_header_sys_select_h=yes
# ac_cv_header_sys_socket_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_time_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_sys_wait_h=yes
# ac_cv_header_syslog_h=yes
# ac_cv_header_time=yes
# ac_cv_header_time_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_header_x86intrin_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_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# 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_gcc_traditional=no
# ac_cv_prog_make_make_set=yes
# ac_cv_type_signal=void
# ac_cv_type_uint32_t=yes
# ac_cv_type_uint8_t=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# 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]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/haveged/src/haveged-1.9.1/config/missing --run aclocal-1.12'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AR='ar'
# AUTOCONF='${SHELL} /tmp/haveged/src/haveged-1.9.1/config/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/haveged/src/haveged-1.9.1/config/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/haveged/src/haveged-1.9.1/config/missing --run automake-1.12'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# 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'
# ENABLE_BIN_FALSE=''
# ENABLE_BIN_TRUE='#'
# ENABLE_ENT_TEST_FALSE='#'
# ENABLE_ENT_TEST_TRUE=''
# ENABLE_NIST_TEST_FALSE=''
# ENABLE_NIST_TEST_TRUE='#'
# ENABLE_NOINIT_FALSE='#'
# ENABLE_NOINIT_TRUE=''
# ENABLE_SYSTEMD_FALSE=''
# ENABLE_SYSTEMD_LOOKUP_FALSE='#'
# ENABLE_SYSTEMD_LOOKUP_TRUE=''
# ENABLE_SYSTEMD_TRUE='#'
# ENABLE_SYSV_FALSE=''
# ENABLE_SYSV_TRUE='#'
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# HAVEGE_LT_VERSION='1:1:0'
# HA_DISTRO='no'
# HA_LDFLAGS=''
# HA_UNITD='?'
# 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=''
# MAKEINFO='${SHELL} /tmp/haveged/src/haveged-1.9.1/config/missing --run makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='/sysroot/bin/nm -B'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='haveged'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='haveged'
# PACKAGE_STRING='haveged 1.9.1'
# PACKAGE_TARNAME='haveged'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.9.1'
# PATH_SEPARATOR=':'
# RANLIB='ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='1.9.1'
# 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='/usr/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/haveged/src/haveged-1.9.1/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='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "haveged"
# #define PACKAGE_TARNAME "haveged"
# #define PACKAGE_VERSION "1.9.1"
# #define PACKAGE_STRING "haveged 1.9.1"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "haveged"
# #define VERSION "1.9.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_UINT32_T 1
# #define HAVE_UINT8_T 1
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define HAVEGE_LIB_VERSION "1:1:0"
# #define ONLINE_TESTS_ENABLE 1
# #define NUMBER_CORES 1
# #define TUNING_CPUID_ENABLE 1
# #define TUNING_VFS_ENABLE 1
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SYS_SELECT_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define SELECT_TYPE_ARG1 int
# #define SELECT_TYPE_ARG234 (fd_set *)
# #define SELECT_TYPE_ARG5 (struct timeval *)
# #define RETSIGTYPE void
# #define HAVE_FLOOR 1
# #define HAVE_GETTIMEOFDAY 1
# #define HAVE_MEMSET 1
# #define HAVE_POW 1
# #define HAVE_SELECT 1
# #define HAVE_SCHED_YIELD 1
# #define HAVE_SQRT 1
# #define STDC_HEADERS 1
# #define HAVE_FCNTL_H 1
# #define HAVE_SCHED_H 1
# #define HAVE_SEMAPHORE_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_SYS_IOCTL_H 1
# #define HAVE_SYS_MMAN_H 1
# #define HAVE_SYS_WAIT_H 1
# #define HAVE_TIME_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_CPUID_H 1
# #define HAVE_X86INTRIN_H 1
# #define HAVE_SYSLOG_H 1
# #define HAVE_ISA_X86 1
#
# configure: exit 0