Build of libbsd with musl toolchain

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

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

SLOCLanguage
9,735 ansic
4,258 sh
3,636 makefile
17,629 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: libbsd 0.8.3-1 (Wed Apr 5 01:40:14 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 make supports nested variables... (cached) 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 whether clang understands -c and -o together... yes
# 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 minix/config.h usability... no
# checking minix/config.h presence... no
# checking for minix/config.h... no
# checking whether it is safe to define __EXTENSIONS__... yes
# checking for special C compiler options needed for large files... no
# checking for _FILE_OFFSET_BITS value needed for large files... no
# checking build system type... x86_64-pc-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)... no
# checking for x86_64-unknown-linux-dumpbin... no
# checking for x86_64-unknown-linux-link... no
# checking for dumpbin... no
# checking for link... link -dump
# configure: WARNING: using cross tools not prefixed with host triplet
# checking the name lister (nm) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-pc-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... no
# checking for ranlib... ranlib
# checking command to parse nm 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 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 whether clang understands -c and -o together... (cached) yes
# checking dependency style of clang... (cached) gcc3
# checking whether ln -s works... yes
# checking for unif01_CreateExternGenBits in -ltestu01... no
# checking for library containing clock_gettime... none required
# checking sys/ndir.h usability... no
# checking sys/ndir.h presence... no
# checking for sys/ndir.h... no
# checking sys/dir.h usability... yes
# checking sys/dir.h presence... yes
# checking for sys/dir.h... yes
# checking ndir.h usability... no
# checking ndir.h presence... no
# checking for ndir.h... no
# checking dirent.h usability... yes
# checking dirent.h presence... yes
# checking for dirent.h... yes
# checking for uid_t in sys/types.h... yes
# checking for inline... inline
# checking for typeof syntax and keyword spelling... typeof
# checking for int64_t... yes
# checking for mode_t... yes
# checking for off_t... yes
# checking for pid_t... yes
# checking for size_t... yes
# checking for ssize_t... yes
# checking whether F_CLOSEM is declared... no
# checking for GNU .init_array section support... no
# checking for program_invocation_short_name... yes
# checking for __progname... yes
# checking for clearenv... yes
# checking for dirfd... yes
# checking for fopencookie... no
# checking for __fpurge... yes
# checking for getauxval... yes
# checking for getentropy... no
# checking for getexecname... no
# checking for getline... yes
# checking for pstat_getproc... no
# checking for sysconf... yes
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating include/Makefile
# config.status: creating man/Makefile
# config.status: creating src/Makefile
# config.status: creating src/libbsd.pc
# config.status: creating src/libbsd-ctor.pc
# config.status: creating src/libbsd-overlay.pc
# config.status: creating test/Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
# config.status: executing libtool commands
# make all-recursive
# make[1]: Entering directory '/tmp/libbsd/src/libbsd-0.8.3'
# Making all in include
# make[2]: Entering directory '/tmp/libbsd/src/libbsd-0.8.3/include'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/libbsd/src/libbsd-0.8.3/include'
# Making all in man
# make[2]: Entering directory '/tmp/libbsd/src/libbsd-0.8.3/man'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/libbsd/src/libbsd-0.8.3/man'
# Making all in src
# make[2]: Entering directory '/tmp/libbsd/src/libbsd-0.8.3/src'
# CC arc4random.lo
# CC arc4random_uniform.lo
# CC bsd_getopt.lo
# CC closefrom.lo
# In file included from closefrom.c:21:
# In file included from ../include/bsd/unistd.h:38:
# ../include/bsd/sys/cdefs.h:28:15: fatal error: 'sys/cdefs.h' file not found
# #include_next
# ^
# In file included from arc4random_uniform.c:20:
# In file included from ../include/bsd/stdlib.h:37:
# In file included from ../include/bsd/libutil.h:43:
# ../include/bsd/sys/cdefs.h:28:15: fatal error: 'sys/cdefs.h' file not found
# #include_next
# ^
# 1 error generated.
# make[2]: *** [Makefile:627: arc4random_uniform.lo] Error 1
# make[2]: *** Waiting for unfinished jobs....
# 1 error generated.
# In file included from bsd_getopt.c:27:
# In file included from ../include/bsd/getopt.h:29:
# In file included from ../include/bsd/unistd.h:38:
# ../include/bsd/sys/cdefs.h:28:15: fatal error: 'sys/cdefs.h' file not found
# #include_next
# ^
# make[2]: *** [Makefile:627: closefrom.lo] Error 1
# In file included from arc4random.c:31:
# In file included from ../include/bsd/stdlib.h:37:
# In file included from ../include/bsd/libutil.h:43:
# ../include/bsd/sys/cdefs.h:28:15: fatal error: 'sys/cdefs.h' file not found
# #include_next
# ^
# 1 error generated.
# make[2]: *** [Makefile:627: bsd_getopt.lo] Error 1
# 1 error generated.
# make[2]: *** [Makefile:627: arc4random.lo] Error 1
# make[2]: Leaving directory '/tmp/libbsd/src/libbsd-0.8.3/src'
# make[1]: *** [Makefile:409: all-recursive] Error 1
# make[1]: Leaving directory '/tmp/libbsd/src/libbsd-0.8.3'
# make: *** [Makefile:341: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/libbsd/src/libbsd-0.8.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 libbsd configure 0.8.3, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 6e1ee024c727
# 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:2460: checking for a BSD-compatible install
# configure:2528: result: /usr/bin/install -c
# configure:2539: checking whether build environment is sane
# configure:2594: result: yes
# configure:2653: checking for x86_64-unknown-linux-strip
# configure:2683: result: no
# configure:2693: checking for strip
# configure:2709: found /sysroot/bin/strip
# configure:2720: result: strip
# configure:2745: checking for a thread-safe mkdir -p
# configure:2784: result: /usr/sbin/mkdir -p
# configure:2791: checking for gawk
# configure:2807: found /usr/sbin/gawk
# configure:2818: result: gawk
# configure:2829: checking whether make sets $(MAKE)
# configure:2851: result: yes
# configure:2880: checking whether make supports nested variables
# configure:2897: result: yes
# configure:3035: checking whether make supports nested variables
# configure:3052: result: yes
# configure:3087: checking for style of include used by make
# configure:3115: result: GNU
# configure:3146: checking for x86_64-unknown-linux-gcc
# configure:3173: result: clang
# configure:3442: checking for C compiler version
# configure:3451: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3462: $? = 0
# configure:3451: 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:3462: $? = 0
# configure:3451: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3462: $? = 1
# configure:3451: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3462: $? = 1
# configure:3482: checking whether the C compiler works
# configure:3504: clang conftest.c >&5
# configure:3508: $? = 0
# configure:3556: result: yes
# configure:3559: checking for C compiler default output file name
# configure:3561: result: a.out
# configure:3567: checking for suffix of executables
# configure:3574: clang -o conftest conftest.c >&5
# configure:3578: $? = 0
# configure:3600: result:
# configure:3622: checking whether we are cross compiling
# configure:3630: clang -o conftest conftest.c >&5
# configure:3634: $? = 0
# configure:3641: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3645: $? = 127
# configure:3660: result: yes
# configure:3665: checking for suffix of object files
# configure:3687: clang -c conftest.c >&5
# configure:3691: $? = 0
# configure:3712: result: o
# configure:3716: checking whether we are using the GNU C compiler
# configure:3735: clang -c conftest.c >&5
# configure:3735: $? = 0
# configure:3744: result: yes
# configure:3753: checking whether clang accepts -g
# configure:3773: clang -c -g conftest.c >&5
# configure:3773: $? = 0
# configure:3814: result: yes
# configure:3831: checking for clang option to accept ISO C89
# configure:3894: clang -c conftest.c >&5
# configure:3894: $? = 0
# configure:3907: result: none needed
# configure:3932: checking whether clang understands -c and -o together
# configure:3954: clang -c conftest.c -o conftest2.o
# configure:3957: $? = 0
# configure:3954: clang -c conftest.c -o conftest2.o
# configure:3957: $? = 0
# configure:3969: result: yes
# configure:3988: checking dependency style of clang
# configure:4099: result: gcc3
# configure:4120: checking how to run the C preprocessor
# configure:4151: clang -E conftest.c
# configure:4151: $? = 0
# configure:4165: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4165: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.3"
# | /* end confdefs.h. */
# | #include
# configure:4190: result: clang -E
# configure:4210: clang -E conftest.c
# configure:4210: $? = 0
# configure:4224: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4224: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.3"
# | /* end confdefs.h. */
# | #include
# configure:4253: checking for grep that handles long lines and -e
# configure:4311: result: /usr/sbin/grep
# configure:4316: checking for egrep
# configure:4378: result: /usr/sbin/grep -E
# configure:4383: checking for ANSI C header files
# configure:4403: clang -c conftest.c >&5
# configure:4403: $? = 0
# configure:4487: result: yes
# configure:4500: checking for sys/types.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4500: checking for sys/stat.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4500: checking for stdlib.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4500: checking for string.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4500: checking for memory.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4500: checking for strings.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4500: checking for inttypes.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4500: checking for stdint.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4500: checking for unistd.h
# configure:4500: clang -c conftest.c >&5
# configure:4500: $? = 0
# configure:4500: result: yes
# configure:4513: checking minix/config.h usability
# configure:4513: clang -c conftest.c >&5
# conftest.c:54:10: fatal error: 'minix/config.h' file not found
# #include
# ^
# 1 error generated.
# configure:4513: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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
# | /* 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:4513: result: no
# configure:4513: checking minix/config.h presence
# configure:4513: clang -E conftest.c
# conftest.c:21:10: fatal error: 'minix/config.h' file not found
# #include
# ^
# 1 error generated.
# configure:4513: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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
# | /* end confdefs.h. */
# | #include
# configure:4513: result: no
# configure:4513: checking for minix/config.h
# configure:4513: result: no
# configure:4534: checking whether it is safe to define __EXTENSIONS__
# configure:4552: clang -c conftest.c >&5
# configure:4552: $? = 0
# configure:4559: result: yes
# configure:4580: checking for special C compiler options needed for large files
# configure:4625: result: no
# configure:4631: checking for _FILE_OFFSET_BITS value needed for large files
# configure:4656: clang -c conftest.c >&5
# configure:4656: $? = 0
# configure:4688: result: no
# configure:4803: checking build system type
# configure:4817: result: x86_64-pc-linux-gnu
# configure:4837: checking host system type
# configure:4850: result: x86_64-unknown-linux-gnu
# configure:4891: checking how to print strings
# configure:4918: result: printf
# configure:4939: checking for a sed that does not truncate output
# configure:5003: result: /usr/sbin/sed
# configure:5021: checking for fgrep
# configure:5083: result: /usr/sbin/grep -F
# configure:5118: checking for ld used by clang
# configure:5185: result: /sysroot/bin/ld
# configure:5192: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:5207: result: yes
# configure:5219: checking for BSD- or MS-compatible name lister (nm)
# configure:5273: result: no
# configure:5287: checking for x86_64-unknown-linux-dumpbin
# configure:5317: result: no
# configure:5287: checking for x86_64-unknown-linux-link
# configure:5317: result: no
# configure:5331: checking for dumpbin
# configure:5361: result: no
# configure:5331: checking for link
# configure:5347: found /usr/sbin/link
# configure:5358: result: link -dump
# configure:5374: WARNING: using cross tools not prefixed with host triplet
# configure:5403: checking the name lister (nm) interface
# configure:5410: clang -c conftest.c >&5
# configure:5413: nm "conftest.o"
# configure:5416: output
# 0000000000000000 B some_variable
# configure:5423: result: BSD nm
# configure:5426: checking whether ln -s works
# configure:5430: result: yes
# configure:5438: checking the maximum length of command line arguments
# configure:5569: result: 1572864
# configure:5617: checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:5657: result: func_convert_file_noop
# configure:5664: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
# configure:5684: result: func_convert_file_noop
# configure:5691: checking for /sysroot/bin/ld option to reload object files
# configure:5698: result: -r
# configure:5732: checking for x86_64-unknown-linux-objdump
# configure:5762: result: no
# configure:5772: checking for objdump
# configure:5788: found /sysroot/bin/objdump
# configure:5799: result: objdump
# configure:5831: checking how to recognize dependent libraries
# configure:6031: result: pass_all
# configure:6076: checking for x86_64-unknown-linux-dlltool
# configure:6106: result: no
# configure:6116: checking for dlltool
# configure:6146: result: no
# configure:6176: checking how to associate runtime and link libraries
# configure:6203: result: printf %s\n
# configure:6219: checking for x86_64-unknown-linux-ar
# configure:6249: result: no
# configure:6263: checking for ar
# configure:6279: found /sysroot/bin/ar
# configure:6290: result: ar
# configure:6327: checking for archiver @FILE support
# configure:6344: clang -c conftest.c >&5
# configure:6344: $? = 0
# configure:6347: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:6350: $? = 0
# configure:6355: 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:6358: $? = 1
# configure:6370: result: @
# configure:6388: checking for x86_64-unknown-linux-strip
# configure:6415: result: strip
# configure:6487: checking for x86_64-unknown-linux-ranlib
# configure:6517: result: no
# configure:6527: checking for ranlib
# configure:6543: found /sysroot/bin/ranlib
# configure:6554: result: ranlib
# configure:6656: checking command to parse nm output from clang object
# configure:6809: clang -c conftest.c >&5
# configure:6812: $? = 0
# configure:6816: nm 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:6819: $? = 0
# configure:6885: clang -o conftest conftest.c conftstm.o >&5
# configure:6888: $? = 0
# configure:6926: result: ok
# configure:6973: checking for sysroot
# configure:7003: result: no
# configure:7010: checking for a working dd
# configure:7048: result: /usr/sbin/dd
# configure:7052: checking how to truncate binary pipes
# configure:7067: result: /usr/sbin/dd bs=4096 count=1
# configure:7203: clang -c conftest.c >&5
# configure:7206: $? = 0
# configure:7356: checking for x86_64-unknown-linux-mt
# configure:7386: result: no
# configure:7396: checking for mt
# configure:7426: result: no
# configure:7446: checking if : is a manifest tool
# configure:7452: : '-?'
# configure:7460: result: no
# configure:8134: checking for dlfcn.h
# configure:8134: clang -c conftest.c >&5
# configure:8134: $? = 0
# configure:8134: result: yes
# configure:8390: checking for objdir
# configure:8405: result: .libs
# configure:8669: checking if clang supports -fno-rtti -fno-exceptions
# configure:8687: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:8691: $? = 0
# configure:8704: result: yes
# configure:9062: checking for clang option to produce PIC
# configure:9069: result: -fPIC -DPIC
# configure:9077: checking if clang PIC flag -fPIC -DPIC works
# configure:9095: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:9099: $? = 0
# configure:9112: result: yes
# configure:9141: checking if clang static flag -static works
# configure:9169: result: no
# configure:9184: checking if clang supports -c -o file.o
# configure:9205: clang -c -o out/conftest2.o conftest.c >&5
# configure:9209: $? = 0
# configure:9231: result: yes
# configure:9239: checking if clang supports -c -o file.o
# configure:9286: result: yes
# configure:9319: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:10582: result: yes
# configure:10619: checking whether -lc should be explicitly linked in
# configure:10627: clang -c conftest.c >&5
# configure:10630: $? = 0
# configure:10645: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:10648: $? = 0
# configure:10662: result: no
# configure:10822: checking dynamic linker characteristics
# configure:11403: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:11403: $? = 0
# configure:11652: result: GNU/Linux ld.so
# configure:11774: checking how to hardcode library paths into programs
# configure:11799: result: immediate
# configure:12347: checking whether stripping libraries is possible
# configure:12352: result: yes
# configure:12387: checking if libtool supports shared libraries
# configure:12389: result: yes
# configure:12392: checking whether to build shared libraries
# configure:12417: result: yes
# configure:12420: checking whether to build static libraries
# configure:12424: result: yes
# configure:12471: checking for x86_64-unknown-linux-gcc
# configure:12498: result: clang
# configure:12767: checking for C compiler version
# configure:12776: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:12787: $? = 0
# configure:12776: 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:12787: $? = 0
# configure:12776: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:12787: $? = 1
# configure:12776: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:12787: $? = 1
# configure:12791: checking whether we are using the GNU C compiler
# configure:12819: result: yes
# configure:12828: checking whether clang accepts -g
# configure:12889: result: yes
# configure:12906: checking for clang option to accept ISO C89
# configure:12982: result: none needed
# configure:13007: checking whether clang understands -c and -o together
# configure:13044: result: yes
# configure:13063: checking dependency style of clang
# configure:13174: result: gcc3
# configure:13190: checking whether ln -s works
# configure:13194: result: yes
# configure:13208: checking for unif01_CreateExternGenBits in -ltestu01
# configure:13233: clang -o conftest conftest.c -ltestu01 >&5
# /sysroot/bin/ld: error: cannot find -ltestu01
# /tmp/conftest-60ceec.o:conftest.c:function main: error: undefined reference to 'unif01_CreateExternGenBits'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13233: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# | /* 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 unif01_CreateExternGenBits ();
# | int
# | main ()
# | {
# | return unif01_CreateExternGenBits ();
# | ;
# | return 0;
# | }
# configure:13242: result: no
# configure:13263: checking for library containing clock_gettime
# configure:13294: clang -o conftest conftest.c >&5
# configure:13294: $? = 0
# configure:13311: result: none required
# configure:13331: checking sys/ndir.h usability
# configure:13331: clang -c conftest.c >&5
# conftest.c:61:10: fatal error: 'sys/ndir.h' file not found
# #include
# ^
# 1 error generated.
# configure:13331: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* 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:13331: result: no
# configure:13331: checking sys/ndir.h presence
# configure:13331: clang -E conftest.c
# conftest.c:28:10: fatal error: 'sys/ndir.h' file not found
# #include
# ^
# 1 error generated.
# configure:13331: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# | #include
# configure:13331: result: no
# configure:13331: checking for sys/ndir.h
# configure:13331: result: no
# configure:13331: checking sys/dir.h usability
# configure:13331: clang -c conftest.c >&5
# configure:13331: $? = 0
# configure:13331: result: yes
# configure:13331: checking sys/dir.h presence
# configure:13331: clang -E conftest.c
# configure:13331: $? = 0
# configure:13331: result: yes
# configure:13331: checking for sys/dir.h
# configure:13331: result: yes
# configure:13331: checking ndir.h usability
# configure:13331: clang -c conftest.c >&5
# conftest.c:62:10: fatal error: 'ndir.h' file not found
# #include
# ^
# 1 error generated.
# configure:13331: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_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:13331: result: no
# configure:13331: checking ndir.h presence
# configure:13331: clang -E conftest.c
# conftest.c:29:10: fatal error: 'ndir.h' file not found
# #include
# ^
# 1 error generated.
# configure:13331: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | /* end confdefs.h. */
# | #include
# configure:13331: result: no
# configure:13331: checking for ndir.h
# configure:13331: result: no
# configure:13331: checking dirent.h usability
# configure:13331: clang -c conftest.c >&5
# configure:13331: $? = 0
# configure:13331: result: yes
# configure:13331: checking dirent.h presence
# configure:13331: clang -E conftest.c
# configure:13331: $? = 0
# configure:13331: result: yes
# configure:13331: checking for dirent.h
# configure:13331: result: yes
# configure:13343: checking for uid_t in sys/types.h
# configure:13362: result: yes
# configure:13373: checking for inline
# configure:13389: clang -c conftest.c >&5
# configure:13389: $? = 0
# configure:13397: result: inline
# configure:13416: checking for typeof syntax and keyword spelling
# configure:13447: clang -c conftest.c >&5
# configure:13447: $? = 0
# configure:13454: result: typeof
# configure:13469: checking for int64_t
# configure:13469: clang -c conftest.c >&5
# configure:13469: $? = 0
# configure:13469: clang -c conftest.c >&5
# conftest.c:68:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:13469: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 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
# | enum { N = 64 / 2 - 1 };
# | int
# | main ()
# | {
# | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
# | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:13469: result: yes
# configure:13480: checking for mode_t
# configure:13480: clang -c conftest.c >&5
# configure:13480: $? = 0
# configure:13480: clang -c conftest.c >&5
# conftest.c:67:21: error: expected expression
# if (sizeof ((mode_t)))
# ^
# 1 error generated.
# configure:13480: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 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 ((mode_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:13480: result: yes
# configure:13491: checking for off_t
# configure:13491: clang -c conftest.c >&5
# configure:13491: $? = 0
# configure:13491: clang -c conftest.c >&5
# conftest.c:67:20: error: expected expression
# if (sizeof ((off_t)))
# ^
# 1 error generated.
# configure:13491: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 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 ((off_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:13491: result: yes
# configure:13502: checking for pid_t
# configure:13502: clang -c conftest.c >&5
# configure:13502: $? = 0
# configure:13502: clang -c conftest.c >&5
# conftest.c:67:20: error: expected expression
# if (sizeof ((pid_t)))
# ^
# 1 error generated.
# configure:13502: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 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 ((pid_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:13502: result: yes
# configure:13513: checking for size_t
# configure:13513: clang -c conftest.c >&5
# configure:13513: $? = 0
# configure:13513: clang -c conftest.c >&5
# conftest.c:67:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:13513: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 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 ((size_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:13513: result: yes
# configure:13524: checking for ssize_t
# configure:13524: clang -c conftest.c >&5
# configure:13524: $? = 0
# configure:13524: clang -c conftest.c >&5
# conftest.c:67:22: error: expected expression
# if (sizeof ((ssize_t)))
# ^
# 1 error generated.
# configure:13524: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 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 ((ssize_t)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:13524: result: yes
# configure:13536: checking whether F_CLOSEM is declared
# configure:13536: clang -c conftest.c >&5
# conftest.c:41:10: error: use of undeclared identifier 'F_CLOSEM'
# (void) F_CLOSEM;
# ^
# 1 error generated.
# configure:13536: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 1
# | /* end confdefs.h. */
# | #include
# | #include
# |
# | int
# | main ()
# | {
# | #ifndef F_CLOSEM
# | #ifdef __cplusplus
# | (void) F_CLOSEM;
# | #else
# | (void) F_CLOSEM;
# | #endif
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:13536: result: no
# configure:13546: checking for GNU .init_array section support
# configure:13575: clang -E conftest.c
# conftest.c:47:4: error: unknown whether libc supports GNU .init_array
# # error unknown whether libc supports GNU .init_array
# ^
# 1 error generated.
# configure:13575: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 1
# | /* end confdefs.h. */
# |
# | /* Look for a known libc that supports .init_array with the GNU extension
# | * to pass main() arguments to the init functions. */
# | #include
# | #if defined __GLIBC_PREREQ
# | # if __GLIBC_PREREQ(2, 4)
# | /* glibc supports GNU .init_array since 2.4. */
# | # else
# | # error glibc does not support GNU .init_array
# | # endif
# | #else
# | /*
# | * Basic SysV ABI .init_array support, init functions do not get arguments:
# | * - Bionic since its inception.
# | * - uClibc since 0.9.29.
# | */
# | # error unknown whether libc supports GNU .init_array
# | #endif
# |
# |
# configure:13605: result: no
# configure:13617: checking for program_invocation_short_name
# configure:13630: clang -o conftest conftest.c >&5
# configure:13630: $? = 0
# configure:13634: result: yes
# configure:13643: checking for __progname
# configure:13657: clang -o conftest conftest.c >&5
# configure:13657: $? = 0
# configure:13661: result: yes
# configure:13675: checking for clearenv
# configure:13675: clang -o conftest conftest.c >&5
# configure:13675: $? = 0
# configure:13675: result: yes
# configure:13675: checking for dirfd
# configure:13675: clang -o conftest conftest.c >&5
# configure:13675: $? = 0
# configure:13675: result: yes
# configure:13675: checking for fopencookie
# configure:13675: clang -o conftest conftest.c >&5
# /tmp/conftest-f58c13.o:conftest.c:function main: error: undefined reference to 'fopencookie'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13675: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 1
# | #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
# | #define HAVE___PROGNAME 1
# | #define HAVE_CLEARENV 1
# | #define HAVE_DIRFD 1
# | /* end confdefs.h. */
# | /* Define fopencookie to an innocuous variant, in case declares fopencookie.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define fopencookie innocuous_fopencookie
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char fopencookie (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef fopencookie
# |
# | /* 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 fopencookie ();
# | /* 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_fopencookie || defined __stub___fopencookie
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return fopencookie ();
# | ;
# | return 0;
# | }
# configure:13675: result: no
# configure:13675: checking for __fpurge
# configure:13675: clang -o conftest conftest.c >&5
# configure:13675: $? = 0
# configure:13675: result: yes
# configure:13675: checking for getauxval
# configure:13675: clang -o conftest conftest.c >&5
# configure:13675: $? = 0
# configure:13675: result: yes
# configure:13675: checking for getentropy
# configure:13675: clang -o conftest conftest.c >&5
# /tmp/conftest-8db268.o:conftest.c:function main: error: undefined reference to 'getentropy'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13675: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 1
# | #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
# | #define HAVE___PROGNAME 1
# | #define HAVE_CLEARENV 1
# | #define HAVE_DIRFD 1
# | #define HAVE___FPURGE 1
# | #define HAVE_GETAUXVAL 1
# | /* end confdefs.h. */
# | /* Define getentropy to an innocuous variant, in case declares getentropy.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define getentropy innocuous_getentropy
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char getentropy (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef getentropy
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char getentropy ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_getentropy || defined __stub___getentropy
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return getentropy ();
# | ;
# | return 0;
# | }
# configure:13675: result: no
# configure:13675: checking for getexecname
# configure:13675: clang -o conftest conftest.c >&5
# /tmp/conftest-b7a472.o:conftest.c:function main: error: undefined reference to 'getexecname'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13675: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 1
# | #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
# | #define HAVE___PROGNAME 1
# | #define HAVE_CLEARENV 1
# | #define HAVE_DIRFD 1
# | #define HAVE___FPURGE 1
# | #define HAVE_GETAUXVAL 1
# | /* end confdefs.h. */
# | /* Define getexecname to an innocuous variant, in case declares getexecname.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define getexecname innocuous_getexecname
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char getexecname (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef getexecname
# |
# | /* 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 getexecname ();
# | /* 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_getexecname || defined __stub___getexecname
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return getexecname ();
# | ;
# | return 0;
# | }
# configure:13675: result: no
# configure:13675: checking for getline
# configure:13675: clang -o conftest conftest.c >&5
# configure:13675: $? = 0
# configure:13675: result: yes
# configure:13675: checking for pstat_getproc
# configure:13675: clang -o conftest conftest.c >&5
# /tmp/conftest-c94c54.o:conftest.c:function main: error: undefined reference to 'pstat_getproc'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:13675: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "libbsd"
# | #define PACKAGE_TARNAME "libbsd"
# | #define PACKAGE_VERSION "0.8.3"
# | #define PACKAGE_STRING "libbsd 0.8.3"
# | #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# | #define PACKAGE_URL ""
# | #define PACKAGE "libbsd"
# | #define VERSION "0.8.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 __EXTENSIONS__ 1
# | #define _ALL_SOURCE 1
# | #define _GNU_SOURCE 1
# | #define _POSIX_PTHREAD_SEMANTICS 1
# | #define _TANDEM_SOURCE 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define HAVE_SYS_DIR_H 1
# | #define HAVE_DIRENT_H 1
# | #define HAVE_TYPEOF 1
# | #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
# | #define HAVE___PROGNAME 1
# | #define HAVE_CLEARENV 1
# | #define HAVE_DIRFD 1
# | #define HAVE___FPURGE 1
# | #define HAVE_GETAUXVAL 1
# | #define HAVE_GETLINE 1
# | /* end confdefs.h. */
# | /* Define pstat_getproc to an innocuous variant, in case declares pstat_getproc.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define pstat_getproc innocuous_pstat_getproc
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char pstat_getproc (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef pstat_getproc
# |
# | /* 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 pstat_getproc ();
# | /* 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_pstat_getproc || defined __stub___pstat_getproc
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return pstat_getproc ();
# | ;
# | return 0;
# | }
# configure:13675: result: no
# configure:13675: checking for sysconf
# configure:13675: clang -o conftest conftest.c >&5
# configure:13675: $? = 0
# configure:13675: result: yes
# configure:13806: checking that generated files are newer than configure
# configure:13812: result: done
# configure:13851: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by libbsd config.status 0.8.3, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 6e1ee024c727
#
# config.status:1116: creating Makefile
# config.status:1116: creating include/Makefile
# config.status:1116: creating man/Makefile
# config.status:1116: creating src/Makefile
# config.status:1116: creating src/libbsd.pc
# config.status:1116: creating src/libbsd-ctor.pc
# config.status:1116: creating src/libbsd-overlay.pc
# config.status:1116: creating test/Makefile
# config.status:1116: creating config.h
# config.status:1345: executing depfiles commands
# config.status:1345: executing libtool commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-pc-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_inline=inline
# ac_cv_c_int64_t=yes
# ac_cv_c_typeof=typeof
# 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___fpurge=yes
# ac_cv_func_clearenv=yes
# ac_cv_func_dirfd=yes
# ac_cv_func_fopencookie=no
# ac_cv_func_getauxval=yes
# ac_cv_func_getentropy=no
# ac_cv_func_getexecname=no
# ac_cv_func_getline=yes
# ac_cv_func_pstat_getproc=no
# ac_cv_func_sysconf=yes
# ac_cv_have_decl_F_CLOSEM=no
# ac_cv_header_dirent_h=yes
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_minix_config_h=no
# ac_cv_header_ndir_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_dir_h=yes
# ac_cv_header_sys_ndir_h=no
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_testu01_unif01_CreateExternGenBits=no
# 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_STRIP=strip
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_DUMPBIN='link -dump'
# 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_safe_to_define___extensions__=yes
# ac_cv_search_clock_gettime='none required'
# ac_cv_sys_file_offset_bits=no
# ac_cv_sys_largefile_CC=no
# ac_cv_type_mode_t=yes
# ac_cv_type_off_t=yes
# ac_cv_type_pid_t=yes
# ac_cv_type_size_t=yes
# ac_cv_type_ssize_t=yes
# ac_cv_type_uid_t=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# libbsd_cv_gnu_init_array_support=no
# 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=no
# 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/libbsd/src/libbsd-0.8.3/build-aux/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# AR='ar'
# AUTOCONF='${SHELL} /tmp/libbsd/src/libbsd-0.8.3/build-aux/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/libbsd/src/libbsd-0.8.3/build-aux/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/libbsd/src/libbsd-0.8.3/build-aux/missing automake-1.15'
# AWK='gawk'
# BUILD_LIBBSD_CTOR_FALSE=''
# BUILD_LIBBSD_CTOR_TRUE='#'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CLOCK_GETTIME_LIBS='-lrt'
# 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'
# HAVE_GETENTROPY_FALSE=''
# HAVE_GETENTROPY_TRUE='#'
# HAVE_LIBTESTU01_FALSE=''
# HAVE_LIBTESTU01_TRUE='#'
# 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=''
# LIBBSD_ABI='0:8:3'
# LIBOBJS=''
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# LT_SYS_LIBRARY_PATH=''
# MAKEINFO='${SHELL} /tmp/libbsd/src/libbsd-0.8.3/build-aux/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='nm'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='libbsd'
# PACKAGE_BUGREPORT='libbsd@lists.freedesktop.org'
# PACKAGE_NAME='libbsd'
# PACKAGE_STRING='libbsd 0.8.3'
# PACKAGE_TARNAME='libbsd'
# PACKAGE_URL=''
# PACKAGE_VERSION='0.8.3'
# PATH_SEPARATOR=':'
# RANLIB='ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# TESTU01_LIBS=''
# VERSION='0.8.3'
# ac_ct_AR='ar'
# ac_ct_CC=''
# ac_ct_DUMPBIN='link -dump'
# 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-pc-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='pc'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host='x86_64-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/libbsd/src/libbsd-0.8.3/build-aux/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}'
# runstatedir='${localstatedir}/run'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "libbsd"
# #define PACKAGE_TARNAME "libbsd"
# #define PACKAGE_VERSION "0.8.3"
# #define PACKAGE_STRING "libbsd 0.8.3"
# #define PACKAGE_BUGREPORT "libbsd@lists.freedesktop.org"
# #define PACKAGE_URL ""
# #define PACKAGE "libbsd"
# #define VERSION "0.8.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 __EXTENSIONS__ 1
# #define _ALL_SOURCE 1
# #define _GNU_SOURCE 1
# #define _POSIX_PTHREAD_SEMANTICS 1
# #define _TANDEM_SOURCE 1
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define HAVE_SYS_DIR_H 1
# #define HAVE_DIRENT_H 1
# #define HAVE_TYPEOF 1
# #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
# #define HAVE___PROGNAME 1
# #define HAVE_CLEARENV 1
# #define HAVE_DIRFD 1
# #define HAVE___FPURGE 1
# #define HAVE_GETAUXVAL 1
# #define HAVE_GETLINE 1
# #define HAVE_SYSCONF 1
#
# configure: exit 0