The build took 00h 02m 46s and was SUCCESSFUL.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
21,950 |
python |
20,672 |
ansic |
169 |
sh |
80 |
makefile |
42,871 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
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:
Copied permanent toolchain into container-local sysroot
/toolchain_root/sysroot --> /sysroot/sysroot
/toolchain_root/lib --> /sysroot/lib
/toolchain_root/sbin --> /sysroot/sbin
/toolchain_root/lib64 --> /sysroot/lib64
/toolchain_root/etc --> /sysroot/etc
/toolchain_root/share --> /sysroot/share
/toolchain_root/bin --> /sysroot/bin
/toolchain_root/var --> /sysroot/var
/toolchain_root/usr --> /sysroot/usr
/toolchain_root/glibc-build --> /sysroot/glibc-build
/toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
/toolchain_root/include --> /sysroot/include
/toolchain_root/libexec --> /sysroot/libexec
CMD: sudo -u tuscan PATH=/usr/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: tdb 1.3.8-1 (Thu Apr 13 20:09:41 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Checking for program gcc or cc : clang
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for gcc : ok
Checking for program git : /usr/bin/git
Check for -MD : yes
Checking for program gdb : not found
Checking build system : Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux
Checking for header sys/utsname.h : yes
Checking uname sysname type : Linux
Checking uname machine type : x86_64
Checking uname release type : 4.10.6-1-ARCH
Checking uname version type : #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
Checking for header stdio.h : yes
Checking simple C program : ok
Checking compiler accepts ['-Werror'] : yes
Checking linker accepts ['-Wl,-rpath,.'] : yes
Checking for rpath library support : ok
Checking for -Wl,--version-script support : ok
Checking compiler accepts ['-fvisibility=hidden', '-Werror'] : yes
Checking for HAVE_VISIBILITY_ATTR : ok
Checking for library constructor support : ok
Checking for library destructor support : ok
Checking compiler accepts -fPIC : yes
Checking for inline : inline
Checking for pkg-config version >= 0.0.0 : yes
Checking compiler accepts [''] : yes
Checking for header sys/types.h : yes
Checking for header sys/stat.h : yes
Checking for header stdlib.h : yes
Checking for header stddef.h : yes
Checking for header memory.h : yes
Checking for header string.h : yes
Checking for header strings.h : yes
Checking for header inttypes.h : yes
Checking for header stdint.h : yes
Checking for header unistd.h : yes
Checking for header minix/config.h : no
Checking for header ctype.h : yes
Checking for header standards.h : no
Checking for header stdbool.h : yes
Checking for header stdarg.h : yes
Checking for header vararg.h : no
Checking for header limits.h : yes
Checking for header assert.h : yes
Checking getconf LFS_CFLAGS : not found
Checking getconf large file support flags work : ok
Checking for large file support without additional flags : ok
Checking for header sys/time.h : yes
Checking for header time.h : yes
Checking for header endian.h : yes
Checking for header sys/endian.h : no
Checking for HAVE_LITTLE_ENDIAN : ok
Checking for HAVE_BIG_ENDIAN : not found
Checking for header signal.h : yes
Checking if signal handlers return int : not found
Checking for variable __FUNCTION__ : ok
Checking for va_copy : ok
Checking for HAVE__VA_ARGS__MACRO : ok
Checking for header linux/types.h : yes
Checking for header crypt.h : yes
Checking for header locale.h : yes
Checking for header acl/libacl.h : yes
Checking for header compat.h : no
Checking for header attr/xattr.h : yes
Checking for header dustat.h : no
Checking for header fcntl.h : yes
Checking for header fnmatch.h : yes
Checking for header glob.h : yes
Checking for header history.h : no
Checking for header krb5.h : yes
Checking for header langinfo.h : yes
Checking for header libaio.h : yes
Checking for header ndir.h : no
Checking for header pwd.h : yes
Checking for header shadow.h : yes
Checking for header sys/acl.h : yes
Checking for header sys/attributes.h : no
Checking for header attr/attributes.h : yes
Checking for header sys/capability.h : yes
Checking for header sys/dir.h : yes
Checking for header sys/epoll.h : yes
Checking for header port.h : no
Checking for header sys/fcntl.h : yes
Checking for header sys/filio.h : no
Checking for header sys/filsys.h : no
Checking for header sys/fs/s5param.h : no
Checking for header sys/fs/vx/quota.h : no
Checking for header sys/id.h : no
Checking for header sys/ioctl.h : yes
Checking for header sys/ipc.h : yes
Checking for header sys/mman.h : yes
Checking for header sys/mode.h : no
Checking for header sys/ndir.h : no
Checking for header sys/priv.h : no
Checking for header sys/resource.h : yes
Checking for header sys/security.h : no
Checking for header sys/shm.h : yes
Checking for header sys/statfs.h : yes
Checking for header sys/statvfs.h : yes
Checking for header sys/termio.h : no
Checking for header sys/vfs.h : yes
Checking for header sys/xattr.h : yes
Checking for header termio.h : yes
Checking for header termios.h : yes
Checking for header sys/file.h : yes
Checking for header sys/ucontext.h : yes
Checking for header sys/wait.h : yes
Checking for header malloc.h : yes
Checking for header grp.h : yes
Checking for header sys/select.h : yes
Checking for header setjmp.h : yes
Checking for header utime.h : yes
Checking for header sys/syslog.h : yes
Checking for header syslog.h : yes
Checking for header sys/mount.h : yes
Checking for header mntent.h : yes
Checking for header stropts.h : yes
Checking for header unix.h : no
Checking for header sys/param.h : yes
Checking for header sys/socket.h : yes
Checking for header netinet/in.h : yes
Checking for header netdb.h : yes
Checking for header arpa/inet.h : yes
Checking for header netinet/in_systm.h : yes
Checking for header netinet/ip.h : yes
Checking for header netinet/tcp.h : yes
Checking for header netinet/in_ip.h : no
Checking for header sys/sockio.h : no
Checking for header sys/un.h : yes
Checking for header sys/uio.h : yes
Checking for header ifaddrs.h : yes
Checking for header direct.h : no
Checking for header dirent.h : yes
Checking for header windows.h : no
Checking for header winsock2.h : no
Checking for header ws2tcpip.h : no
Checking for header errno.h : yes
Checking for header getopt.h : yes
Checking for header iconv.h : yes
Checking for header nss.h : yes
Checking for header sasl/sasl.h : yes
Checking for inotify_init : ok
Checking for header security/pam_appl.h : yes
Checking for header zlib.h : yes
Checking for header asm/unistd.h : yes
Checking for header aio.h : yes
Checking for header sys/unistd.h : yes
Checking for header rpc/rpc.h : yes
Checking for header rpc/nettype.h : no
Checking for header alloca.h : yes
Checking for header float.h : yes
Checking for header rpcsvc/nis.h : yes
Checking for header rpcsvc/ypclnt.h : yes
Checking for header sys/sysctl.h : yes
Checking for header sys/fileio.h : no
Checking for header sys/filesys.h : no
Checking for header sys/dustat.h : no
Checking for header sys/sysmacros.h : yes
Checking for header xfs/libxfs.h : no
Checking for header netgroup.h : no
Checking for header rpcsvc/yp_prot.h : yes
Checking for HAVE_RPCSVC_YP_PROT_H : ok
Checking for header valgrind.h : no
Checking for header valgrind/valgrind.h : no
Checking for header valgrind/memcheck.h : no
Checking for header nss_common.h : no
Checking for header nsswitch.h : no
Checking for header ns_api.h : no
Checking for header sys/extattr.h : no
Checking for header sys/ea.h : no
Checking for header sys/proplist.h : no
Checking for header sys/cdefs.h : yes
Checking for header utmp.h : yes
Checking for header utmpx.h : yes
Checking for header lastlog.h : yes
Checking for header syscall.h : yes
Checking for header sys/syscall.h : yes
Checking for header sys/atomic.h : no
Checking for header libgen.h : yes
Checking for header sys/prctl.h : yes
Checking for prctl syscall : not found
Checking for O_DIRECT flag to open(2) : ok
Checking for long long : ok
Checking for intptr_t : ok
Checking for uintptr_t : ok
Checking for ptrdiff_t : ok
Checking for comparison_fn_t : ok
Checking for _Bool : ok
Checking for bool : ok
Checking for int8_t : ok
Checking for uint8_t : ok
Checking for int16_t : ok
Checking for uint16_t : ok
Checking for int32_t : ok
Checking for uint32_t : ok
Checking for int64_t : ok
Checking for uint64_t : ok
Checking for size_t : ok
Checking for ssize_t : ok
Checking for ino_t : ok
Checking for loff_t : ok
Checking for offset_t : not found
Checking for volatile int : ok
Checking for uint_t : not found
Checking for blksize_t : ok
Checking for blkcnt_t : ok
Checking if size of bool == 1 : ok
Checking if size of char == 1 : ok
Checking if size of int == 1 : not found
Checking if size of int == 2 : not found
Checking if size of int == 4 : ok
Checking if size of long long == 1 : not found
Checking if size of long long == 2 : not found
Checking if size of long long == 4 : not found
Checking if size of long long == 8 : ok
Checking if size of long == 1 : not found
Checking if size of long == 2 : not found
Checking if size of long == 4 : not found
Checking if size of long == 8 : ok
Checking if size of short == 1 : not found
Checking if size of short == 2 : ok
Checking if size of size_t == 1 : not found
Checking if size of size_t == 2 : not found
Checking if size of size_t == 4 : not found
Checking if size of size_t == 8 : ok
Checking if size of ssize_t == 1 : not found
Checking if size of ssize_t == 2 : not found
Checking if size of ssize_t == 4 : not found
Checking if size of ssize_t == 8 : ok
Checking if size of int8_t == 1 : ok
Checking if size of uint8_t == 1 : ok
Checking if size of int16_t == 1 : not found
Checking if size of int16_t == 2 : ok
Checking if size of uint16_t == 1 : not found
Checking if size of uint16_t == 2 : ok
Checking if size of int32_t == 1 : not found
Checking if size of int32_t == 2 : not found
Checking if size of int32_t == 4 : ok
Checking if size of uint32_t == 1 : not found
Checking if size of uint32_t == 2 : not found
Checking if size of uint32_t == 4 : ok
Checking if size of int64_t == 1 : not found
Checking if size of int64_t == 2 : not found
Checking if size of int64_t == 4 : not found
Checking if size of int64_t == 8 : ok
Checking if size of uint64_t == 1 : not found
Checking if size of uint64_t == 2 : not found
Checking if size of uint64_t == 4 : not found
Checking if size of uint64_t == 8 : ok
Checking if size of void* == 1 : not found
Checking if size of void* == 2 : not found
Checking if size of void* == 4 : not found
Checking if size of void* == 8 : ok
Checking if size of off_t == 1 : not found
Checking if size of off_t == 2 : not found
Checking if size of off_t == 4 : not found
Checking if size of off_t == 8 : ok
Checking if size of dev_t == 1 : not found
Checking if size of dev_t == 2 : not found
Checking if size of dev_t == 4 : not found
Checking if size of dev_t == 8 : ok
Checking if size of ino_t == 1 : not found
Checking if size of ino_t == 2 : not found
Checking if size of ino_t == 4 : not found
Checking if size of ino_t == 8 : ok
Checking if size of time_t == 1 : not found
Checking if size of time_t == 2 : not found
Checking if size of time_t == 4 : not found
Checking if size of time_t == 8 : ok
Checking for socklen_t : ok
Checking for struct ifaddrs : ok
Checking for struct addrinfo : ok
Checking for struct sockaddr : ok
Checking for HAVE_STRUCT_SOCKADDR_IN6 : ok
Checking for struct sockaddr_storage : ok
Checking for sa_family_t : ok
Checking for sig_atomic_t : ok
Checking for sigsetmask : ok
Checking for siggetmask : ok
Checking for sigprocmask : ok
Checking for sigblock : ok
Checking for sigaction : ok
Checking for sigset : ok
Checking for inet_ntoa : ok
Checking for inet_aton : ok
Checking for inet_ntop : ok
Checking for inet_pton : ok
Checking for connect : ok
Checking for gethostbyname : ok
Checking for getaddrinfo : ok
Checking for getnameinfo : ok
Checking for freeaddrinfo : ok
Checking for gai_strerror : ok
Checking for socketpair : ok
Checking for variable IPV6_V6ONLY : ok
Checking for HAVE_IPV6 : ok
Checking whether we have ucontext_t : ok
Checking for __sync_fetch_and_add compiler builtin : not found
Checking for atomic_add_32 compiler builtin : not found
Checking for strdup : ok
Checking for memmem : ok
Checking for printf : ok
Checking for memset : ok
Checking for memcpy : ok
Checking for memmove : ok
Checking for strcpy : ok
Checking for strncpy : ok
Checking for bzero : ok
Checking for shl_load : not found
Checking for shl_unload : not found
Checking for shl_findsym : not found
Checking for pipe : ok
Checking for strftime : ok
Checking for srandom : ok
Checking for random : ok
Checking for srand : ok
Checking for rand : ok
Checking for usleep : ok
Checking for setbuffer : ok
Checking for lstat : ok
Checking for getpgrp : ok
Checking for utime : ok
Checking for utimes : ok
Checking for setuid : ok
Checking for seteuid : ok
Checking for setreuid : ok
Checking for setresuid : ok
Checking for setgid : ok
Checking for setegid : ok
Checking for setregid : ok
Checking for setresgid : ok
Checking for chroot : ok
Checking for strerror : ok
Checking for vsyslog : ok
Checking for setlinebuf : ok
Checking for mktime : ok
Checking for ftruncate : ok
Checking for chsize : not found
Checking for rename : ok
Checking for waitpid : ok
Checking for wait4 : ok
Checking for initgroups : ok
Checking for pread : ok
Checking for pwrite : ok
Checking for strndup : ok
Checking for strcasestr : ok
Checking for strsep : ok
Checking for strtok_r : ok
Checking for mkdtemp : ok
Checking for dup2 : ok
Checking for dprintf : ok
Checking for vdprintf : ok
Checking for isatty : ok
Checking for chown : ok
Checking for lchown : ok
Checking for link : ok
Checking for readlink : ok
Checking for symlink : ok
Checking for realpath : ok
Checking for snprintf : ok
Checking for vsnprintf : ok
Checking for asprintf : ok
Checking for vasprintf : ok
Checking for setenv : ok
Checking for unsetenv : ok
Checking for strnlen : ok
Checking for strtoull : ok
Checking for __strtoull : not found
Checking for strtouq : ok
Checking for strtoll : ok
Checking for __strtoll : not found
Checking for strtoq : ok
Checking for memalign : ok
Checking for posix_memalign : ok
Checking for prctl : ok
Checking for dirname : ok
Checking for basename : ok
Checking for strlcpy : not found
Checking for strlcat : not found
Checking for strlcpy : not found
Checking for strlcat : not found
Checking for library bsd : not found
Checking for strlcpy : not found
Checking for strlcat : not found
Checking for getpeereid : not found
Checking for library bsd : not found
Checking for getpeereid : not found
Checking for library setproctitle : not found
Checking for setproctitle : not found
Checking for library bsd : not found
Checking for setproctitle : not found
Checking whether we can use SO_PEERCRED to get socket credentials : ok
Checking correct behavior of strtoll : not found
Checking for if_nametoindex : ok
Checking for strerror_r : ok
Checking for getdirentries : ok
Checking for getdents : not found
Checking for syslog : ok
Checking for gai_strerror : ok
Checking for get_current_dir_name : ok
Checking for timegm : ok
Checking for getifaddrs : ok
Checking for freeifaddrs : ok
Checking for mmap : ok
Checking for setgroups : ok
Checking for syscall : ok
Checking for setsid : ok
Checking for getgrent_r : ok
Checking for getgrgid_r : ok
Checking for getgrnam_r : ok
Checking for getgrouplist : ok
Checking for getpagesize : ok
Checking for getpwent_r : ok
Checking for getpwnam_r : ok
Checking for getpwuid_r : ok
Checking for epoll_create : ok
Checking for port_create : not found
Checking for fgetxattr : ok
Checking for flistea : not found
Checking for flistxattr : ok
Checking for fremovexattr : ok
Checking for fsetxattr : ok
Checking for getxattr : ok
Checking for listxattr : ok
Checking for removexattr : ok
Checking for setxattr : ok
Checking for library attr : yes
Checking for flistea : not found
Checking whether xattr interface takes additional options : not found
Checking for dlopen : not found
Checking for dlsym : not found
Checking for dlerror : not found
Checking for dlclose : not found
Checking for library dl : yes
Checking for dlopen : ok
Checking for dlsym : ok
Checking for dlerror : ok
Checking for dlclose : ok
Checking for declaration of dlopen : ok
Checking C prototype for dlopen : not found
Checking for fdatasync : ok
Checking for declaration of fdatasync : ok
Checking for clock_gettime : ok
Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available : ok
Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available : ok
Checking whether the clock_gettime clock ID CLOCK_REALTIME is available : ok
Checking for struct timespec : ok
Checking for header net/if.h : yes
Checking for header arpa/nameser.h : yes
Checking for header resolv.h : yes
Checking for res_search : not found
Checking for library resolv : yes
Checking for res_search : ok
Checking for header libintl.h : yes
Checking for library intl : not found
Checking for declaration of dgettext : ok
Checking for declaration of gettext : ok
Checking for declaration of bindtextdomain : ok
Checking for declaration of textdomain : ok
Checking for declaration of bind_textdomain_codeset : ok
Checking for bindtextdomain : ok
Checking for textdomain : ok
Checking for bind_textdomain_codeset : ok
Checking for dgettext : ok
Checking for gettext : ok
Checking for pthread_create : not found
Checking for library pthread : yes
Checking for pthread_create : ok
Checking for pthread_attr_init : ok
Checking for pthread_mutexattr_setrobust : ok
Checking for declaration of PTHREAD_MUTEX_ROBUST : not found
Checking for declaration of PTHREAD_MUTEX_ROBUST (as enum) : ok
Checking for pthread_mutex_consistent : ok
Checking for crypt : not found
Checking for library crypt : yes
Checking for crypt : ok
Checking for header readline.h : no
Checking for header readline/readline.h : yes
Checking for header readline/history.h : yes
Checking for variable rl_event_hook : ok
Checking for declaration of snprintf : ok
Checking for declaration of vsnprintf : ok
Checking for declaration of asprintf : ok
Checking for declaration of vasprintf : ok
Checking for declaration of errno : ok
Checking for declaration of EWOULDBLOCK : ok
Checking for declaration of environ : ok
Checking for declaration of getgrent_r : ok
Checking for declaration of getpwent_r : ok
Checking for declaration of pread : ok
Checking for declaration of pwrite : ok
Checking for declaration of setenv : ok
Checking for declaration of setresgid : ok
Checking for declaration of setresuid : ok
Checking for header poll.h : yes
Checking for poll : ok
Checking for strptime : ok
Checking for declaration of strptime : ok
Checking for working strptime : ok
Checking for declaration of gettimeofday : ok
Checking C prototype for gettimeofday : ok
Checking C prototype for gettimeofday : not found
Checking for C99 vsnprintf : ok
Checking for HAVE_SHARED_MMAP : ok
Checking for HAVE_MREMAP : ok
Checking for HAVE_INCOHERENT_MMAP : not found
Checking for HAVE_IMMEDIATE_STRUCTURES : ok
Checking for HAVE_MKDIR_MODE : ok
Checking for member st_mtim.tv_nsec in struct stat : ok
Checking for member st_rdev in struct stat : ok
Checking for member st_rdev in struct stat : ok
Checking for member ss_family in struct sockaddr_storage : ok
Checking for member __ss_family in struct sockaddr_storage : not found
Checking for member sa_len in struct sockaddr : not found
Checking for member sin_len in struct sockaddr_in : not found
Checking for HAVE_UNIXSOCKET : ok
Checking for HAVE_SECURE_MKSTEMP : ok
Checking for HAVE_IFACE_GETIFADDRS : ok
Checking for getpwnam_r : ok
Checking for getpwuid_r : ok
Checking for getpwent_r : ok
Checking for declaration of getpwent_r : ok
Checking C prototype for getpwent_r : not found
Checking for declaration of getgrent_r : ok
Checking C prototype for getgrent_r : not found
Checking C prototype for getpwent_r : not found
Checking C prototype for getgrent_r : not found
Checking for getgrouplist : ok
Checking for program xsltproc : /usr/bin/xsltproc
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : ok
Checking for program python : /usr/bin/python2
Checking for program python : /usr/bin/python2
Checking for program python : /usr/bin/python
Checking for Python version >= 2.4.2 : ok 2.7.12
Checking for Python version >= 2.4.2 : ok 2.7.12
Checking for library python2.7 : yes
Checking for program python2.7-config : /usr/bin/python2.7-config
Checking for custom code : yes
Checking if toolchain accepts -fstack-protector : yes
Checking linker accepts -Wl,-no-undefined : yes
Checking linker accepts ['-undefined', 'dynamic_lookup'] : yes
'configure' finished successfully (1m12.905s)
WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$PATH waf build
Waf: Entering directory `/tmp/tdb/src/tdb-1.3.8/bin'
symlink: _tdb_text.py -> python/_tdb_text.py
Checking project rules ...
Project rules pass
[ 1/108] Generating tdb.vscript
[ 2/108] Compiling lib/replace/replace.c
[ 3/108] Compiling lib/replace/cwrap.c
[ 4/108] Generating PKGCONFIG_tdb.pc
[ 5/108] Compiling lib/replace/replace.c
[ 6/108] Compiling lib/replace/test/testsuite.c
[ 7/108] Compiling lib/replace/test/strptime.c
[ 8/108] Compiling lib/replace/test/os2_delete.c
[ 9/108] Compiling lib/replace/test/getifaddrs.c
[ 10/108] Compiling common/check.c
[ 11/108] Compiling common/error.c
[ 12/108] Compiling common/tdb.c
[ 13/108] Compiling common/traverse.c
[ 14/108] Compiling common/freelistcheck.c
[ 15/108] Compiling common/lock.c
[ 16/108] Compiling common/dump.c
[ 17/108] Compiling common/freelist.c
[ 18/108] Compiling common/io.c
[ 19/108] Compiling common/open.c
[ 20/108] Compiling common/transaction.c
[ 21/108] Compiling common/hash.c
[ 22/108] Compiling common/summary.c
[ 23/108] Compiling common/rescue.c
[ 24/108] Compiling common/mutex.c
[ 25/108] Compiling tools/tdbtorture.c
[ 26/108] Compiling tools/tdbrestore.c
[ 27/108] Compiling tools/tdbdump.c
[ 28/108] Compiling tools/tdbbackup.c
[ 29/108] Compiling tools/tdbtool.c
[ 30/108] Compiling test/external-agent.c
[ 31/108] Compiling test/lock-tracking.c
[ 32/108] Compiling test/logging.c
[ 33/108] Compiling test/run-3G-file.c
[ 34/108] Compiling test/run-bad-tdb-header.c
[ 35/108] Compiling test/run.c
[ 36/108] Compiling test/run-check.c
[ 37/108] Compiling test/run-corrupt.c
[ 38/108] Compiling test/run-die-during-transaction.c
[ 39/108] Compiling test/run-endian.c
[ 40/108] Compiling test/run-incompatible.c
[ 41/108] Compiling test/run-nested-transactions.c
[ 42/108] Compiling test/run-nested-traverse.c
[ 43/108] Compiling test/run-no-lock-during-traverse.c
[ 44/108] Compiling test/run-oldhash.c
[ 45/108] Compiling test/run-open-during-transaction.c
[ 46/108] Compiling test/run-readonly-check.c
[ 47/108] Compiling test/run-rescue.c
[ 48/108] Compiling test/run-rescue-find_entry.c
[ 49/108] Compiling test/run-rwlock-check.c
[ 50/108] Compiling test/run-summary.c
[ 51/108] Compiling test/run-transaction-expand.c
[ 52/108] Compiling test/run-traverse-in-transaction.c
[ 53/108] Compiling test/run-wronghash-fail.c
[ 54/108] Compiling test/run-zero-append.c
[ 55/108] Compiling test/run-marklock-deadlock.c
[ 56/108] Compiling test/run-allrecord-traverse-deadlock.c
[ 57/108] Compiling test/run-mutex-openflags2.c
[ 58/108] Compiling test/run-mutex-trylock.c
[ 59/108] Compiling test/run-mutex-allrecord-bench.c
[ 60/108] Compiling test/run-mutex-allrecord-trylock.c
[ 61/108] Compiling test/run-mutex-allrecord-block.c
[ 62/108] Compiling test/run-mutex-transaction1.c
[ 63/108] Compiling test/run-mutex-die.c
[ 64/108] Compiling test/run-mutex1.c
[ 65/108] Compiling pytdb.c
[ 66/108] Linking default/libtdb.so
[ 67/108] Linking default/tdbtorture
[ 68/108] Linking default/tdbrestore
[ 69/108] Linking default/tdbdump
[ 70/108] Linking default/tdbbackup
[ 71/108] Linking default/tdbtool
[ 72/108] Linking default/tdb1-run-3G-file
[ 73/108] Linking default/tdb1-run-bad-tdb-header
[ 74/108] Linking default/tdb1-run
[ 75/108] Linking default/tdb1-run-check
[ 76/108] Linking default/tdb1-run-corrupt
[ 77/108] Linking default/tdb1-run-die-during-transaction
[ 78/108] Linking default/tdb1-run-endian
[ 79/108] Linking default/tdb1-run-incompatible
[ 80/108] Linking default/tdb1-run-nested-transactions
[ 81/108] Linking default/tdb1-run-nested-traverse
[ 82/108] Linking default/tdb1-run-no-lock-during-traverse
[ 83/108] Linking default/tdb1-run-oldhash
[ 84/108] Linking default/tdb1-run-open-during-transaction
[ 85/108] Linking default/tdb1-run-readonly-check
[ 86/108] Linking default/tdb1-run-rescue
[ 87/108] Linking default/tdb1-run-rescue-find_entry
[ 88/108] Linking default/tdb1-run-rwlock-check
[ 89/108] Linking default/tdb1-run-summary
[ 90/108] Linking default/tdb1-run-transaction-expand
[ 91/108] Linking default/tdb1-run-traverse-in-transaction
[ 92/108] Linking default/tdb1-run-wronghash-fail
[ 93/108] Linking default/tdb1-run-zero-append
[ 94/108] Linking default/tdb1-run-marklock-deadlock
[ 95/108] Linking default/tdb1-run-allrecord-traverse-deadlock
[ 96/108] Linking default/tdb1-run-mutex-openflags2
[ 97/108] Linking default/tdb1-run-mutex-trylock
[ 98/108] Linking default/tdb1-run-mutex-allrecord-bench
[ 99/108] Linking default/tdb1-run-mutex-allrecord-trylock
[100/108] Linking default/tdb1-run-mutex-allrecord-block
[101/108] Linking default/tdb1-run-mutex-transaction1
[102/108] Linking default/tdb1-run-mutex-die
[103/108] Linking default/tdb1-run-mutex1
[104/108] Linking default/pytdb.so
clang-3.8: warning: argument unused during compilation: '-undefined dynamic_lookup'
[105/108] Generating man/tdbrestore.8
Note: Writing tdbrestore.8
[106/108] Generating man/tdbdump.8
Note: Writing tdbdump.8
[107/108] Generating man/tdbbackup.8
Note: Writing tdbbackup.8
[108/108] Generating man/tdbtool.8
Note: Writing tdbtool.8
Waf: Leaving directory `/tmp/tdb/src/tdb-1.3.8/bin'
'build' finished successfully (31.874s)
==> Entering fakeroot environment...
==> Starting package()...
WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$PATH waf install
Waf: Entering directory `/tmp/tdb/src/tdb-1.3.8/bin'
* installing bin/default/tdb.pc as /tmp/tdb/pkg/tdb/usr/lib/pkgconfig/tdb.pc
* installing _tdb_text.py as /tmp/tdb/pkg/tdb/usr/lib/python2.7/site-packages/_tdb_text.py
[ 67/110] Linking default/tdbtorture.inst
[ 68/110] Linking default/tdbrestore.inst
[ 69/110] Linking default/tdbdump.inst
[ 70/110] Linking default/tdbbackup.inst
[ 71/110] Linking default/tdbtool.inst
[ 72/110] Linking default/tdb1-run-3G-file.inst
[ 73/110] Linking default/tdb1-run-bad-tdb-header.inst
[ 74/110] Linking default/tdb1-run.inst
[ 75/110] Linking default/tdb1-run-check.inst
[ 76/110] Linking default/tdb1-run-corrupt.inst
[ 77/110] Linking default/tdb1-run-die-during-transaction.inst
[ 78/110] Linking default/tdb1-run-endian.inst
[ 79/110] Linking default/tdb1-run-incompatible.inst
[ 80/110] Linking default/tdb1-run-nested-transactions.inst
[ 81/110] Linking default/tdb1-run-nested-traverse.inst
[ 82/110] Linking default/tdb1-run-no-lock-during-traverse.inst
[ 83/110] Linking default/tdb1-run-oldhash.inst
[ 84/110] Linking default/tdb1-run-open-during-transaction.inst
[ 85/110] Linking default/tdb1-run-readonly-check.inst
[ 86/110] Linking default/tdb1-run-rescue.inst
[ 87/110] Linking default/tdb1-run-rescue-find_entry.inst
[ 88/110] Linking default/tdb1-run-rwlock-check.inst
[ 89/110] Linking default/tdb1-run-summary.inst
[ 90/110] Linking default/tdb1-run-transaction-expand.inst
[ 91/110] Linking default/tdb1-run-traverse-in-transaction.inst
[ 92/110] Linking default/tdb1-run-wronghash-fail.inst
[ 93/110] Linking default/tdb1-run-zero-append.inst
[ 94/110] Linking default/tdb1-run-marklock-deadlock.inst
[ 95/110] Linking default/tdb1-run-allrecord-traverse-deadlock.inst
[ 96/110] Linking default/tdb1-run-mutex-openflags2.inst
[ 97/110] Linking default/tdb1-run-mutex-trylock.inst
[ 98/110] Linking default/tdb1-run-mutex-allrecord-bench.inst
[ 99/110] Linking default/tdb1-run-mutex-allrecord-trylock.inst
[100/110] Linking default/tdb1-run-mutex-allrecord-block.inst
[101/110] Linking default/tdb1-run-mutex-transaction1.inst
[102/110] Linking default/tdb1-run-mutex-die.inst
[103/110] Linking default/tdb1-run-mutex1.inst
[105/110] Linking default/libtdb.inst.so
[106/110] Linking default/pytdb.inst.so
clang-3.8: warning: argument unused during compilation: '-undefined dynamic_lookup'
* installing bin/default/libtdb.inst.so as /tmp/tdb/pkg/tdb/usr/lib/libtdb.so.1.3.8
* symlink /tmp/tdb/pkg/tdb/usr/lib/libtdb.so.1 (-> libtdb.so.1.3.8)
* symlink /tmp/tdb/pkg/tdb/usr/lib/libtdb.so (-> libtdb.so.1.3.8)
* installing bin/default/tdbrestore.inst as /tmp/tdb/pkg/tdb/usr/bin/tdbrestore
* installing bin/default/tdbdump.inst as /tmp/tdb/pkg/tdb/usr/bin/tdbdump
* installing bin/default/tdbbackup.inst as /tmp/tdb/pkg/tdb/usr/bin/tdbbackup
* installing bin/default/tdbtool.inst as /tmp/tdb/pkg/tdb/usr/bin/tdbtool
* installing bin/default/pytdb.inst.so as /tmp/tdb/pkg/tdb/usr/lib/python2.7/site-packages/tdb.so
* installing include/tdb.h as /tmp/tdb/pkg/tdb/usr/include/tdb.h
* installing bin/default/man/tdbrestore.8 as /tmp/tdb/pkg/tdb/usr/share/man/man8/tdbrestore.8
* installing bin/default/man/tdbdump.8 as /tmp/tdb/pkg/tdb/usr/share/man/man8/tdbdump.8
* installing bin/default/man/tdbbackup.8 as /tmp/tdb/pkg/tdb/usr/share/man/man8/tdbbackup.8
* installing bin/default/man/tdbtool.8 as /tmp/tdb/pkg/tdb/usr/share/man/man8/tdbtool.8
Waf: Leaving directory `/tmp/tdb/src/tdb-1.3.8/bin'
'install' finished successfully (1.177s)
==> Tidying install...
-> Removing doc files...
-> Purging unwanted files...
==> Checking for packaging issue...
==> Creating package "tdb"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: tdb 1.3.8-1 (Thu Apr 13 20:11:35 UTC 2017)
CMD: pacman --query --file tdb-1.3.8-1-x86_64.pkg.tar.xz
Creating hybrid package for 'tdb'
Trying to find vanilla package 'tdb'...
CMD: pacman --query --file /mirror/tdb-1.3.8-1.pkg.tar.xz
Package file has the following structure:
/.PKGINFO
/.MTREE
/usr/bin/tdbdump
/usr/bin/tdbbackup
/usr/bin/tdbtool
/usr/bin/tdbrestore
/usr/share/man/man8/tdbtool.8.gz
/usr/share/man/man8/tdbrestore.8.gz
/usr/share/man/man8/tdbdump.8.gz
/usr/share/man/man8/tdbbackup.8.gz
/usr/lib/libtdb.so.1.3.8
/usr/lib/libtdb.so.1
/usr/lib/libtdb.so
/usr/lib/python2.7/site-packages/tdb.so
/usr/lib/python2.7/site-packages/_tdb_text.py
/usr/lib/pkgconfig/tdb.pc
/usr/include/tdb.h
/sysroot/usr/lib/libtdb.so.1.3.8
/sysroot/usr/lib/libtdb.so.1
/sysroot/usr/lib/libtdb.so
/sysroot/usr/lib/pkgconfig/tdb.pc
/sysroot/usr/lib/python2.7/site-packages/_tdb_text.py
/sysroot/usr/lib/python2.7/site-packages/tdb.so
/sysroot/usr/include/tdb.h
Generating .MTREE
CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot
Tar-ing up files
CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE
CMD: xz -c -z
Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z
CMD: bsdtar -tqf tdb.pkg.tar.xz .PKGINFO
Created package at path /var/cache/pacman/pkg/tdb.pkg.tar.xz
Attempting to access local repository, attempt 1
CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/tdb.pkg.tar.xz
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
==> Adding package '/var/cache/pacman/pkg/tdb.pkg.tar.xz'
-> Computing checksums...
-> Creating 'desc' db entry...
-> Creating 'files' db entry...
==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'
Printing config logfiles
CMD: config logfiles '/tmp/tdb/src/tdb-1.3.8/bin/config.log'
# project tdb (1.3.8) configured on Thu Apr 13 20:09:41 2017 by
# waf 1.5.19 (abi 7, python 2070cf0 on linux2)
# using ./buildtools/bin/waf configure --host=x86_64-unknown-linux --prefix=/usr --localstatedir=/var --sysconfdir=/etc/samba
#
----------------------------------------
Checking for program gcc or cc
find program=['gcc', 'cc'] paths=[] var='CC'
-> 'clang'
----------------------------------------
Checking for program cpp
find program=['cpp'] paths=[] var='CPP'
-> '/usr/bin/cpp'
----------------------------------------
Checking for program ar
find program=['ar'] paths=[] var='AR'
-> '/usr/bin/ar'
----------------------------------------
Checking for program ranlib
find program=['ranlib'] paths=[] var='RANLIB'
-> '/usr/bin/ranlib'
----------------------------------------
Checking for gcc
ok
----------------------------------------
Checking for program git
find program=['git'] paths=[] var='GIT'
-> '/usr/bin/git'
----------------------------------------
Check for -MD
==>
int main() {return 0;}
<==
[1/1] Compiling test.c
['clang', '-MD', '../test.c', '-c', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/test_1.o']
yes
----------------------------------------
Checking for program gdb
find program=['gdb'] paths=[] var=None
-> ''
----------------------------------------
Checking build system
Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux
----------------------------------------
Checking for header sys/utsname.h
==>
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '../test.c', '-c', '-o', 'default/test_1.o']
yes
----------------------------------------
Checking uname sysname type
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#include
int main(void) {
struct utsname n;
if (uname(&n) == -1) return -1;
printf("%s", n.sysname);
; return 0; }
<==
[1/2] Compiling test.c
../test.c:8:32: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
printf("%s", n.sysname);
^
../test.c:8:32: note: include the header or explicitly provide a declaration for 'printf'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
Linux
returncode 0
Linux
----------------------------------------
Checking uname machine type
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#include
int main(void) {
struct utsname n;
if (uname(&n) == -1) return -1;
printf("%s", n.machine);
; return 0; }
<==
[1/2] Compiling test.c
../test.c:9:32: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
printf("%s", n.machine);
^
../test.c:9:32: note: include the header or explicitly provide a declaration for 'printf'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
x86_64
returncode 0
x86_64
----------------------------------------
Checking uname release type
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#include
int main(void) {
struct utsname n;
if (uname(&n) == -1) return -1;
printf("%s", n.release);
; return 0; }
<==
[1/2] Compiling test.c
../test.c:10:32: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
printf("%s", n.release);
^
../test.c:10:32: note: include the header or explicitly provide a declaration for 'printf'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
4.10.6-1-ARCH
returncode 0
4.10.6-1-ARCH
----------------------------------------
Checking uname version type
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#include
int main(void) {
struct utsname n;
if (uname(&n) == -1) return -1;
printf("%s", n.version);
; return 0; }
<==
[1/2] Compiling test.c
../test.c:11:32: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
printf("%s", n.version);
^
../test.c:11:32: note: include the header or explicitly provide a declaration for 'printf'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
returncode 0
#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
----------------------------------------
Checking for header stdio.h
==>
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '../test.c', '-c', '-o', 'default/test_1.o']
yes
----------------------------------------
Checking simple C program
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#include
int main(void) { printf("hello world"); return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
hello world
returncode 0
ok
----------------------------------------
Checking compiler accepts ['-Werror']
==>
<==
[1/1] Compiling test.c
['clang', '-Werror', '-MD', '../test.c', '-c', '-o', 'default/test_1.o']
yes
----------------------------------------
Checking linker accepts ['-Wl,-rpath,.']
==>
int main(void) { return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-Wl,-rpath,.']
yes
[1/4] Compiling libdir/lib1.c
['clang', '-MD', '-fPIC', '-DPIC', '../libdir/lib1.c', '-c', '-o', 'default/libdir/lib1_1.o']
[2/4] Compiling main.c
../main.c:1:26: warning: implicit declaration of function 'lib_func' is invalid in C99 [-Wimplicit-function-declaration]
int main(void) {return !(lib_func() == 42);}
^
1 warning generated.
['clang', '-MD', '../main.c', '-c', '-o', 'default/main_2.o']
[3/4] Linking default/libdir/liblib1.so
['clang', 'default/libdir/lib1_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/libdir/liblib1.so', '-shared']
[4/4] Linking default/prog1
['clang', 'default/main_2.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/prog1', '-Wl,-rpath,/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/libdir', '-Ldefault/libdir', '-Wl,-Bdynamic', '-llib1']
returncode 0
----------------------------------------
Checking for rpath library support
ok
[1/4] Compiling libdir/lib1.c
['clang', '-MD', '-fPIC', '-DPIC', '../libdir/lib1.c', '-c', '-o', 'default/libdir/lib1_1.o']
[2/4] Compiling main.c
../main.c:1:26: warning: implicit declaration of function 'lib_func' is invalid in C99 [-Wimplicit-function-declaration]
int main(void) {return !(lib_func() == 42);}
^
1 warning generated.
['clang', '-MD', '../main.c', '-c', '-o', 'default/main_2.o']
[3/4] Linking default/libdir/liblib1.so
['clang', 'default/libdir/lib1_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/libdir/liblib1.so', '-Wl,--version-script=/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/vscript', '-shared']
[4/4] Linking default/prog1
['clang', 'default/main_2.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/prog1', '-Wl,-rpath,/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/libdir', '-Ldefault/libdir', '-Wl,-Bdynamic', '-llib1']
returncode 0
------------------------------------------
Checking for -Wl,--version-script support
ok
------------------------------------------------------------
Checking compiler accepts ['-fvisibility=hidden', '-Werror']
==>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-fvisibility=hidden', '-Werror', '-MD', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for HAVE_VISIBILITY_ATTR
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
int main(void) { return 0; }
__attribute__((visibility("default"))) void vis_foo2(void) {}
<==
[1/2] Compiling test.c
['clang', '-fvisibility=hidden', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
ok
------------------------------------------------------------
Checking for library constructor support
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
void test_constructor_attribute(void) __attribute__ ((constructor));
void test_constructor_attribute(void)
{
return;
}
int main(void) {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
ok
------------------------------------------------------------
Checking for library destructor support
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
void test_destructor_attribute(void) __attribute__ ((destructor));
void test_destructor_attribute(void)
{
return;
}
int main(void) {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
ok
------------------------------------------------------------
Checking compiler accepts -fPIC
==>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-fPIC', '-MD', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for inline
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
typedef int foo_t;
static inline foo_t static_foo () {return 0; }
inline foo_t foo () {return 0; }
<==
[1/1] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '../test.c', '-c', '-o', 'default/test_1.o']
inline
------------------------------------------------------------
Checking for pkg-config version >= 0.0.0
pkg-config --errors-to-stdout --print-errors --atleast-pkgconfig-version=0.0.0
yes
------------------------------------------------------------
Checking compiler accepts ['']
==>
struct foo {int x;char y;};
struct foo bar = { .y = 'X', .x = 1 };
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/types.h
==>
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/stat.h
==>
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stdlib.h
==>
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stddef.h
==>
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header memory.h
==>
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header string.h
==>
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header strings.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header inttypes.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stdint.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header unistd.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header minix/config.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:12:10: fatal error: 'minix/config.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header ctype.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header standards.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:13:10: fatal error: 'standards.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header stdbool.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stdarg.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header vararg.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'vararg.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header limits.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header assert.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking getconf LFS_CFLAGS
not found
------------------------------------------------------------
Checking getconf large file support flags work
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return !(sizeof(off_t) >= 8); return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
returncode 0
ok
------------------------------------------------------------
Checking for large file support without additional flags
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return !(sizeof(off_t) >= 8); return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
returncode 0
ok
------------------------------------------------------------
Checking for header sys/time.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header time.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header endian.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/endian.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/endian.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for HAVE_LITTLE_ENDIAN
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#ifdef __BYTE_ORDER
#define B __BYTE_ORDER
#elif defined(BYTE_ORDER)
#define B BYTE_ORDER
#endif
#ifdef __LITTLE_ENDIAN
#define LITTLE __LITTLE_ENDIAN
#elif defined(LITTLE_ENDIAN)
#define LITTLE LITTLE_ENDIAN
#endif
#if !defined(LITTLE) || !defined(B) || LITTLE != B
#error Not little endian.
#endif
int main(void) { return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
ok
------------------------------------------------------------
Checking for HAVE_BIG_ENDIAN
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#ifdef __BYTE_ORDER
#define B __BYTE_ORDER
#elif defined(BYTE_ORDER)
#define B BYTE_ORDER
#endif
#ifdef __BIG_ENDIAN
#define BIG __BIG_ENDIAN
#elif defined(BIG_ENDIAN)
#define BIG BIG_ENDIAN
#endif
#if !defined(BIG) || !defined(B) || BIG != B
#error Not big endian.
#endif
int main(void) { return 0; }
<==
[1/2] Compiling test.c
../test.c:68:26: error: Not big endian.
#error Not big endian.
^
1 error generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for header signal.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking if signal handlers return int
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return *(signal (0, 0)) (0) == 1; return 0; }
<==
[1/2] Compiling test.c
../test.c:57:26: error: indirection requires pointer operand ('void' invalid)
int main(void) { return *(signal (0, 0)) (0) == 1; return 0; }
^~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for variable __FUNCTION__
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef __FUNCTION__
void *_x; _x=(void *)&__FUNCTION__; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for va_copy
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { va_list ap1,ap2; va_copy(ap1,ap2); return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
ok
------------------------------------------------------------
Checking for HAVE__VA_ARGS__MACRO
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#define eprintf(...) fprintf(stderr, __VA_ARGS__)
eprintf("bla", "bar")
; return 0; }
<==
[1/2] Compiling test.c
../test.c:62:36: warning: data argument not used by format string [-Wformat-extra-args]
eprintf("bla", "bar")
~~~~~ ^
../test.c:61:58: note: expanded from macro 'eprintf'
#define eprintf(...) fprintf(stderr, __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace/../../buildtools/wafsamba', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog']
ok
------------------------------------------------------------
Checking for header linux/types.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header crypt.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header locale.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header acl/libacl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header compat.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'compat.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header attr/xattr.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header dustat.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'dustat.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header fcntl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header fnmatch.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header glob.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header history.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'history.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header krb5.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header langinfo.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header libaio.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header ndir.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'ndir.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header pwd.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header shadow.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/acl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/attributes.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/attributes.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header attr/attributes.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/capability.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/dir.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/epoll.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header port.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'port.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/fcntl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/filio.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/filio.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/filsys.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/filsys.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/fs/s5param.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/fs/s5param.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/fs/vx/quota.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/fs/vx/quota.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/id.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/id.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/ioctl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/ipc.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/mman.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/mode.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/mode.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/ndir.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/ndir.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/priv.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/priv.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/resource.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/security.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/security.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/shm.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/statfs.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/statvfs.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/termio.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/termio.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/vfs.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/xattr.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header termio.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header termios.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/file.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/ucontext.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/wait.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header malloc.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header grp.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/select.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header setjmp.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header utime.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/syslog.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header syslog.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/mount.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header mntent.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stropts.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header unix.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'unix.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/param.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/socket.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/in.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netdb.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header arpa/inet.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/in_systm.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/ip.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/tcp.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/in_ip.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:22:10: fatal error: 'netinet/in_ip.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/sockio.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:22:10: fatal error: 'sys/sockio.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/un.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/uio.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header ifaddrs.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header direct.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'direct.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header dirent.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header windows.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'windows.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header winsock2.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'winsock2.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header ws2tcpip.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'ws2tcpip.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header errno.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header getopt.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header iconv.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header nss.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sasl/sasl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for inotify_init
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define inotify_init __fake__inotify_init
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef inotify_init
#if defined __stub_inotify_init || defined __stub___inotify_init
#error "bad glibc stub"
#endif
extern char inotify_init();
int main() { return inotify_init(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for header security/pam_appl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header zlib.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header asm/unistd.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header aio.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/unistd.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header rpc/rpc.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header rpc/nettype.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'rpc/nettype.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header alloca.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header float.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header rpcsvc/nis.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header rpcsvc/ypclnt.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/sysctl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/fileio.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/fileio.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/filesys.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/filesys.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/dustat.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/dustat.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/sysmacros.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header xfs/libxfs.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'xfs/libxfs.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header netgroup.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'netgroup.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header rpcsvc/yp_prot.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for HAVE_RPCSVC_YP_PROT_H
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { ; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for header valgrind.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'valgrind.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header valgrind/valgrind.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'valgrind/valgrind.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header valgrind/memcheck.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'valgrind/memcheck.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header nss_common.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'nss_common.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header nsswitch.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'nsswitch.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header ns_api.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'ns_api.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/extattr.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/extattr.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/ea.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/ea.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/proplist.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/proplist.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/cdefs.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header utmp.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header utmpx.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header lastlog.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header syscall.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/syscall.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/atomic.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/atomic.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header libgen.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/prctl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for prctl syscall
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#include
int main(void) {
prctl(0);
return 0;
}
; return 0; }
<==
[1/2] Compiling test.c
../test.c:149:36: error: function definition is not allowed here
int main(void) {
^
1 error generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for O_DIRECT flag to open(2)
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#ifdef HAVE_FCNTL_H
#include
#endif
int main(void) { int fd = open("/dev/null", O_DIRECT); }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for long long
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { long long _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for intptr_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { intptr_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for uintptr_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { uintptr_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for ptrdiff_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { ptrdiff_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for comparison_fn_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { comparison_fn_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for _Bool
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { _Bool _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for bool
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { bool _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for int8_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { int8_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for uint8_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { uint8_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for int16_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { int16_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for uint16_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { uint16_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for int32_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { int32_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for uint32_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { uint32_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for int64_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { int64_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for uint64_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { uint64_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for size_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { size_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for ssize_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { ssize_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for ino_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { ino_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for loff_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { loff_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for offset_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { offset_t _x; return 0; }
<==
[1/1] Compiling test.c
../test.c:167:19: error: use of undeclared identifier 'offset_t'
int main(void) { offset_t _x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for volatile int
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { volatile int _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for uint_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { uint_t _x; return 0; }
<==
[1/1] Compiling test.c
../test.c:170:19: error: unknown type name 'uint_t'; did you mean 'uint8_t'?
int main(void) { uint_t _x; return 0; }
^~~~~~
uint8_t
/usr/include/stdint.h:48:24: note: 'uint8_t' declared here
typedef unsigned char uint8_t;
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for blksize_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { blksize_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for blkcnt_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { blkcnt_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking if size of bool == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(bool))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of char == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(char))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of int == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:176:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of int == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
/* #undef SIZEOF_INT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:177:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of int == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
/* #undef SIZEOF_INT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of long long == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:177:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of long long == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
/* #undef SIZEOF_LONG_LONG */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:178:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of long long == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
/* #undef SIZEOF_LONG_LONG */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:178:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of long long == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
/* #undef SIZEOF_LONG_LONG */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of long == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:178:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of long == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
/* #undef SIZEOF_LONG */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:179:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of long == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
/* #undef SIZEOF_LONG */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:179:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of long == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
/* #undef SIZEOF_LONG */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of short == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:179:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of short == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
/* #undef SIZEOF_SHORT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of size_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:180:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of size_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
/* #undef SIZEOF_SIZE_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:181:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of size_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
/* #undef SIZEOF_SIZE_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:181:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of size_t == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
/* #undef SIZEOF_SIZE_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of ssize_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:181:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of ssize_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
/* #undef SIZEOF_SSIZE_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:182:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of ssize_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
/* #undef SIZEOF_SSIZE_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:182:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of ssize_t == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
/* #undef SIZEOF_SSIZE_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of int8_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int8_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of uint8_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint8_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of int16_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:184:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of int16_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
/* #undef SIZEOF_INT16_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of uint16_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:185:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of uint16_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
/* #undef SIZEOF_UINT16_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of int32_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:186:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of int32_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
/* #undef SIZEOF_INT32_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:187:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of int32_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
/* #undef SIZEOF_INT32_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of uint32_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:187:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of uint32_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
/* #undef SIZEOF_UINT32_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:188:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of uint32_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
/* #undef SIZEOF_UINT32_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of int64_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:188:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of int64_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
/* #undef SIZEOF_INT64_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:189:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of int64_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
/* #undef SIZEOF_INT64_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:189:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of int64_t == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
/* #undef SIZEOF_INT64_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of uint64_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:189:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of uint64_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
/* #undef SIZEOF_UINT64_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:190:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of uint64_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
/* #undef SIZEOF_UINT64_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:190:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of uint64_t == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
/* #undef SIZEOF_UINT64_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of void* == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:190:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of void* == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
/* #undef SIZEOF_VOID_P */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:191:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of void* == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
/* #undef SIZEOF_VOID_P */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:191:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of void* == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
/* #undef SIZEOF_VOID_P */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of off_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:191:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of off_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
/* #undef SIZEOF_OFF_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:192:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of off_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
/* #undef SIZEOF_OFF_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:192:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of off_t == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
/* #undef SIZEOF_OFF_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of dev_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:192:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of dev_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
/* #undef SIZEOF_DEV_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:193:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of dev_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
/* #undef SIZEOF_DEV_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:193:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of dev_t == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
/* #undef SIZEOF_DEV_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of ino_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:193:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of ino_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
/* #undef SIZEOF_INO_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:194:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of ino_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
/* #undef SIZEOF_INO_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:194:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of ino_t == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
/* #undef SIZEOF_INO_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking if size of time_t == 1
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:194:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of time_t == 2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
/* #undef SIZEOF_TIME_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:195:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of time_t == 4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
/* #undef SIZEOF_TIME_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; }
<==
[1/2] Compiling test.c
../test.c:195:41: error: 'test_array' declared as an array with a negative size
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking if size of time_t == 8
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
/* #undef SIZEOF_TIME_T */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 8)];; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for socklen_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { socklen_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for struct ifaddrs
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct ifaddrs _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for struct addrinfo
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct addrinfo _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for struct sockaddr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct sockaddr _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for HAVE_STRUCT_SOCKADDR_IN6
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct sockaddr_in6 x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for struct sockaddr_storage
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct sockaddr_storage _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for sa_family_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { sa_family_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for sig_atomic_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { sig_atomic_t _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for sigsetmask
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define sigsetmask __fake__sigsetmask
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef sigsetmask
#if defined __stub_sigsetmask || defined __stub___sigsetmask
#error "bad glibc stub"
#endif
extern char sigsetmask();
int main() { return sigsetmask(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for siggetmask
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define siggetmask __fake__siggetmask
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef siggetmask
#if defined __stub_siggetmask || defined __stub___siggetmask
#error "bad glibc stub"
#endif
extern char siggetmask();
int main() { return siggetmask(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): warning: warning: `siggetmask' is obsolete; `sigprocmask' is best
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for sigprocmask
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define sigprocmask __fake__sigprocmask
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef sigprocmask
#if defined __stub_sigprocmask || defined __stub___sigprocmask
#error "bad glibc stub"
#endif
extern char sigprocmask();
int main() { return sigprocmask(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for sigblock
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define sigblock __fake__sigblock
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef sigblock
#if defined __stub_sigblock || defined __stub___sigblock
#error "bad glibc stub"
#endif
extern char sigblock();
int main() { return sigblock(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for sigaction
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define sigaction __fake__sigaction
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef sigaction
#if defined __stub_sigaction || defined __stub___sigaction
#error "bad glibc stub"
#endif
extern char sigaction();
int main() { return sigaction(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for sigset
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define sigset __fake__sigset
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef sigset
#if defined __stub_sigset || defined __stub___sigset
#error "bad glibc stub"
#endif
extern char sigset();
int main() { return sigset(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for inet_ntoa
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define inet_ntoa __fake__inet_ntoa
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef inet_ntoa
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
#error "bad glibc stub"
#endif
extern char inet_ntoa();
int main() { return inet_ntoa(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for inet_aton
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define inet_aton __fake__inet_aton
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef inet_aton
#if defined __stub_inet_aton || defined __stub___inet_aton
#error "bad glibc stub"
#endif
extern char inet_aton();
int main() { return inet_aton(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for inet_ntop
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define inet_ntop __fake__inet_ntop
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef inet_ntop
#if defined __stub_inet_ntop || defined __stub___inet_ntop
#error "bad glibc stub"
#endif
extern char inet_ntop();
int main() { return inet_ntop(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for inet_pton
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define inet_pton __fake__inet_pton
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef inet_pton
#if defined __stub_inet_pton || defined __stub___inet_pton
#error "bad glibc stub"
#endif
extern char inet_pton();
int main() { return inet_pton(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for connect
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define connect __fake__connect
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef connect
#if defined __stub_connect || defined __stub___connect
#error "bad glibc stub"
#endif
extern char connect();
int main() { return connect(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for gethostbyname
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define gethostbyname __fake__gethostbyname
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef gethostbyname
#if defined __stub_gethostbyname || defined __stub___gethostbyname
#error "bad glibc stub"
#endif
extern char gethostbyname();
int main() { return gethostbyname(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for getaddrinfo
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define getaddrinfo __fake__getaddrinfo
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getaddrinfo
#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
#error "bad glibc stub"
#endif
extern char getaddrinfo();
int main() { return getaddrinfo(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for getnameinfo
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define getnameinfo __fake__getnameinfo
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getnameinfo
#if defined __stub_getnameinfo || defined __stub___getnameinfo
#error "bad glibc stub"
#endif
extern char getnameinfo();
int main() { return getnameinfo(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for freeaddrinfo
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define freeaddrinfo __fake__freeaddrinfo
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef freeaddrinfo
#if defined __stub_freeaddrinfo || defined __stub___freeaddrinfo
#error "bad glibc stub"
#endif
extern char freeaddrinfo();
int main() { return freeaddrinfo(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for gai_strerror
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define gai_strerror __fake__gai_strerror
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef gai_strerror
#if defined __stub_gai_strerror || defined __stub___gai_strerror
#error "bad glibc stub"
#endif
extern char gai_strerror();
int main() { return gai_strerror(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for socketpair
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define socketpair __fake__socketpair
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef socketpair
#if defined __stub_socketpair || defined __stub___socketpair
#error "bad glibc stub"
#endif
extern char socketpair();
int main() { return socketpair(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for variable IPV6_V6ONLY
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef IPV6_V6ONLY
void *_x; _x=(void *)&IPV6_V6ONLY; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for HAVE_IPV6
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
struct sockaddr_storage sa_store;
struct addrinfo *ai = NULL;
struct in6_addr in6addr;
int idx = if_nametoindex("iface1");
int s = socket(AF_INET6, SOCK_STREAM, 0);
int ret = getaddrinfo(NULL, NULL, NULL, &ai);
if (ret != 0) {
const char *es = gai_strerror(ret);
}
freeaddrinfo(ai);
{
int val = 1;
#ifdef HAVE_LINUX_IPV6_V6ONLY_26
#define IPV6_V6ONLY 26
#endif
ret = setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
(const void *)&val, sizeof(val));
}
; return 0; }
<==
[1/2] Compiling test.c
../test.c:228:34: warning: implicit declaration of function 'if_nametoindex' is invalid in C99 [-Wimplicit-function-declaration]
int idx = if_nametoindex("iface1");
^
1 warning generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking whether we have ucontext_t
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
ucontext_t uc;
sigaddset(&uc.uc_sigmask, SIGUSR1);
; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for __sync_fetch_and_add compiler builtin
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
int main(void) {
int i;
(void)__sync_fetch_and_add(&i, 1);
return 0;
}
; return 0; }
<==
[1/2] Compiling test.c
../test.c:224:36: error: function definition is not allowed here
int main(void) {
^
1 error generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for atomic_add_32 compiler builtin
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#include
#include
int main(void) {
int32_t i;
atomic_add_32(&i, 1);
return 0;
}
; return 0; }
<==
[1/2] Compiling test.c
../test.c:227:30: fatal error: 'sys/atomic.h' file not found
#include
^
1 error generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for strdup
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef strdup
void *_x; _x=(void *)&strdup; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for memmem
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef memmem
void *_x; _x=(void *)&memmem; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for printf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef printf
void *_x; _x=(void *)&printf; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for memset
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef memset
void *_x; _x=(void *)&memset; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for memcpy
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef memcpy
void *_x; _x=(void *)&memcpy; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for memmove
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef memmove
void *_x; _x=(void *)&memmove; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for strcpy
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef strcpy
void *_x; _x=(void *)&strcpy; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for strncpy
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef strncpy
void *_x; _x=(void *)&strncpy; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for bzero
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef bzero
void *_x; _x=(void *)&bzero; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for shl_load
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
#define shl_load __fake__shl_load
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef shl_load
#if defined __stub_shl_load || defined __stub___shl_load
#error "bad glibc stub"
#endif
extern char shl_load();
int main() { return shl_load(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `shl_load'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:235:39: error: use of undeclared identifier 'shl_load'
int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for shl_unload
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
#define shl_unload __fake__shl_unload
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef shl_unload
#if defined __stub_shl_unload || defined __stub___shl_unload
#error "bad glibc stub"
#endif
extern char shl_unload();
int main() { return shl_unload(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `shl_unload'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:236:39: error: use of undeclared identifier 'shl_unload'
int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for shl_findsym
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
#define shl_findsym __fake__shl_findsym
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef shl_findsym
#if defined __stub_shl_findsym || defined __stub___shl_findsym
#error "bad glibc stub"
#endif
extern char shl_findsym();
int main() { return shl_findsym(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `shl_findsym'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:237:39: error: use of undeclared identifier 'shl_findsym'
int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for pipe
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define pipe __fake__pipe
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef pipe
#if defined __stub_pipe || defined __stub___pipe
#error "bad glibc stub"
#endif
extern char pipe();
int main() { return pipe(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strftime
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define strftime __fake__strftime
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strftime
#if defined __stub_strftime || defined __stub___strftime
#error "bad glibc stub"
#endif
extern char strftime();
int main() { return strftime(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for srandom
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define srandom __fake__srandom
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef srandom
#if defined __stub_srandom || defined __stub___srandom
#error "bad glibc stub"
#endif
extern char srandom();
int main() { return srandom(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for random
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define random __fake__random
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef random
#if defined __stub_random || defined __stub___random
#error "bad glibc stub"
#endif
extern char random();
int main() { return random(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for srand
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define srand __fake__srand
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef srand
#if defined __stub_srand || defined __stub___srand
#error "bad glibc stub"
#endif
extern char srand();
int main() { return srand(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for rand
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define rand __fake__rand
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef rand
#if defined __stub_rand || defined __stub___rand
#error "bad glibc stub"
#endif
extern char rand();
int main() { return rand(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for usleep
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define usleep __fake__usleep
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef usleep
#if defined __stub_usleep || defined __stub___usleep
#error "bad glibc stub"
#endif
extern char usleep();
int main() { return usleep(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setbuffer
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define setbuffer __fake__setbuffer
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setbuffer
#if defined __stub_setbuffer || defined __stub___setbuffer
#error "bad glibc stub"
#endif
extern char setbuffer();
int main() { return setbuffer(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for lstat
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define lstat __fake__lstat
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef lstat
#if defined __stub_lstat || defined __stub___lstat
#error "bad glibc stub"
#endif
extern char lstat();
int main() { return lstat(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for getpgrp
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define getpgrp __fake__getpgrp
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getpgrp
#if defined __stub_getpgrp || defined __stub___getpgrp
#error "bad glibc stub"
#endif
extern char getpgrp();
int main() { return getpgrp(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for utime
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define utime __fake__utime
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef utime
#if defined __stub_utime || defined __stub___utime
#error "bad glibc stub"
#endif
extern char utime();
int main() { return utime(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for utimes
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define utimes __fake__utimes
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef utimes
#if defined __stub_utimes || defined __stub___utimes
#error "bad glibc stub"
#endif
extern char utimes();
int main() { return utimes(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setuid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define setuid __fake__setuid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setuid
#if defined __stub_setuid || defined __stub___setuid
#error "bad glibc stub"
#endif
extern char setuid();
int main() { return setuid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for seteuid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define seteuid __fake__seteuid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef seteuid
#if defined __stub_seteuid || defined __stub___seteuid
#error "bad glibc stub"
#endif
extern char seteuid();
int main() { return seteuid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setreuid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define setreuid __fake__setreuid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setreuid
#if defined __stub_setreuid || defined __stub___setreuid
#error "bad glibc stub"
#endif
extern char setreuid();
int main() { return setreuid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setresuid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define setresuid __fake__setresuid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setresuid
#if defined __stub_setresuid || defined __stub___setresuid
#error "bad glibc stub"
#endif
extern char setresuid();
int main() { return setresuid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setgid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define setgid __fake__setgid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setgid
#if defined __stub_setgid || defined __stub___setgid
#error "bad glibc stub"
#endif
extern char setgid();
int main() { return setgid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setegid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define setegid __fake__setegid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setegid
#if defined __stub_setegid || defined __stub___setegid
#error "bad glibc stub"
#endif
extern char setegid();
int main() { return setegid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setregid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define setregid __fake__setregid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setregid
#if defined __stub_setregid || defined __stub___setregid
#error "bad glibc stub"
#endif
extern char setregid();
int main() { return setregid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setresgid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define setresgid __fake__setresgid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setresgid
#if defined __stub_setresgid || defined __stub___setresgid
#error "bad glibc stub"
#endif
extern char setresgid();
int main() { return setresgid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for chroot
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define chroot __fake__chroot
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef chroot
#if defined __stub_chroot || defined __stub___chroot
#error "bad glibc stub"
#endif
extern char chroot();
int main() { return chroot(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strerror
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define strerror __fake__strerror
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strerror
#if defined __stub_strerror || defined __stub___strerror
#error "bad glibc stub"
#endif
extern char strerror();
int main() { return strerror(); }
<==
[1/2] Compiling test.c
../test.c:255:38: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
extern char strerror();
^
../test.c:255:38: note: 'strerror' is a builtin with type 'char *(int)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for vsyslog
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define vsyslog __fake__vsyslog
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef vsyslog
#if defined __stub_vsyslog || defined __stub___vsyslog
#error "bad glibc stub"
#endif
extern char vsyslog();
int main() { return vsyslog(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setlinebuf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define setlinebuf __fake__setlinebuf
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setlinebuf
#if defined __stub_setlinebuf || defined __stub___setlinebuf
#error "bad glibc stub"
#endif
extern char setlinebuf();
int main() { return setlinebuf(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for mktime
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define mktime __fake__mktime
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef mktime
#if defined __stub_mktime || defined __stub___mktime
#error "bad glibc stub"
#endif
extern char mktime();
int main() { return mktime(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for ftruncate
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define ftruncate __fake__ftruncate
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef ftruncate
#if defined __stub_ftruncate || defined __stub___ftruncate
#error "bad glibc stub"
#endif
extern char ftruncate();
int main() { return ftruncate(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for chsize
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
#define chsize __fake__chsize
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef chsize
#if defined __stub_chsize || defined __stub___chsize
#error "bad glibc stub"
#endif
extern char chsize();
int main() { return chsize(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `chsize'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:264:39: error: use of undeclared identifier 'chsize'
int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for rename
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define rename __fake__rename
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef rename
#if defined __stub_rename || defined __stub___rename
#error "bad glibc stub"
#endif
extern char rename();
int main() { return rename(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for waitpid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define waitpid __fake__waitpid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef waitpid
#if defined __stub_waitpid || defined __stub___waitpid
#error "bad glibc stub"
#endif
extern char waitpid();
int main() { return waitpid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for wait4
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define wait4 __fake__wait4
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef wait4
#if defined __stub_wait4 || defined __stub___wait4
#error "bad glibc stub"
#endif
extern char wait4();
int main() { return wait4(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for initgroups
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define initgroups __fake__initgroups
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef initgroups
#if defined __stub_initgroups || defined __stub___initgroups
#error "bad glibc stub"
#endif
extern char initgroups();
int main() { return initgroups(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for pread
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define pread __fake__pread
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef pread
#if defined __stub_pread || defined __stub___pread
#error "bad glibc stub"
#endif
extern char pread();
int main() { return pread(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for pwrite
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define pwrite __fake__pwrite
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef pwrite
#if defined __stub_pwrite || defined __stub___pwrite
#error "bad glibc stub"
#endif
extern char pwrite();
int main() { return pwrite(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strndup
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define strndup __fake__strndup
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strndup
#if defined __stub_strndup || defined __stub___strndup
#error "bad glibc stub"
#endif
extern char strndup();
int main() { return strndup(); }
<==
[1/2] Compiling test.c
../test.c:267:38: warning: incompatible redeclaration of library function 'strndup' [-Wincompatible-library-redeclaration]
extern char strndup();
^
../test.c:267:38: note: 'strndup' is a builtin with type 'char *(const char *, unsigned long)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strcasestr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define strcasestr __fake__strcasestr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strcasestr
#if defined __stub_strcasestr || defined __stub___strcasestr
#error "bad glibc stub"
#endif
extern char strcasestr();
int main() { return strcasestr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strsep
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define strsep __fake__strsep
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strsep
#if defined __stub_strsep || defined __stub___strsep
#error "bad glibc stub"
#endif
extern char strsep();
int main() { return strsep(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strtok_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define strtok_r __fake__strtok_r
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strtok_r
#if defined __stub_strtok_r || defined __stub___strtok_r
#error "bad glibc stub"
#endif
extern char strtok_r();
int main() { return strtok_r(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for mkdtemp
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define mkdtemp __fake__mkdtemp
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef mkdtemp
#if defined __stub_mkdtemp || defined __stub___mkdtemp
#error "bad glibc stub"
#endif
extern char mkdtemp();
int main() { return mkdtemp(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for dup2
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define dup2 __fake__dup2
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dup2
#if defined __stub_dup2 || defined __stub___dup2
#error "bad glibc stub"
#endif
extern char dup2();
int main() { return dup2(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for dprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define dprintf __fake__dprintf
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dprintf
#if defined __stub_dprintf || defined __stub___dprintf
#error "bad glibc stub"
#endif
extern char dprintf();
int main() { return dprintf(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for vdprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define vdprintf __fake__vdprintf
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef vdprintf
#if defined __stub_vdprintf || defined __stub___vdprintf
#error "bad glibc stub"
#endif
extern char vdprintf();
int main() { return vdprintf(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for isatty
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define isatty __fake__isatty
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef isatty
#if defined __stub_isatty || defined __stub___isatty
#error "bad glibc stub"
#endif
extern char isatty();
int main() { return isatty(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for chown
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define chown __fake__chown
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef chown
#if defined __stub_chown || defined __stub___chown
#error "bad glibc stub"
#endif
extern char chown();
int main() { return chown(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for lchown
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define lchown __fake__lchown
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef lchown
#if defined __stub_lchown || defined __stub___lchown
#error "bad glibc stub"
#endif
extern char lchown();
int main() { return lchown(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for link
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define link __fake__link
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef link
#if defined __stub_link || defined __stub___link
#error "bad glibc stub"
#endif
extern char link();
int main() { return link(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for readlink
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define readlink __fake__readlink
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef readlink
#if defined __stub_readlink || defined __stub___readlink
#error "bad glibc stub"
#endif
extern char readlink();
int main() { return readlink(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for symlink
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define symlink __fake__symlink
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef symlink
#if defined __stub_symlink || defined __stub___symlink
#error "bad glibc stub"
#endif
extern char symlink();
int main() { return symlink(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for realpath
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define realpath __fake__realpath
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef realpath
#if defined __stub_realpath || defined __stub___realpath
#error "bad glibc stub"
#endif
extern char realpath();
int main() { return realpath(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for snprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define snprintf __fake__snprintf
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef snprintf
#if defined __stub_snprintf || defined __stub___snprintf
#error "bad glibc stub"
#endif
extern char snprintf();
int main() { return snprintf(); }
<==
[1/2] Compiling test.c
../test.c:282:38: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
extern char snprintf();
^
../test.c:282:38: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for vsnprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define vsnprintf __fake__vsnprintf
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef vsnprintf
#if defined __stub_vsnprintf || defined __stub___vsnprintf
#error "bad glibc stub"
#endif
extern char vsnprintf();
int main() { return vsnprintf(); }
<==
[1/2] Compiling test.c
../test.c:283:38: warning: incompatible redeclaration of library function 'vsnprintf' [-Wincompatible-library-redeclaration]
extern char vsnprintf();
^
../test.c:283:38: note: 'vsnprintf' is a builtin with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for asprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define asprintf __fake__asprintf
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef asprintf
#if defined __stub_asprintf || defined __stub___asprintf
#error "bad glibc stub"
#endif
extern char asprintf();
int main() { return asprintf(); }
<==
[1/2] Compiling test.c
../test.c:285:55: warning: format string missing [-Wformat]
int main() { return asprintf(); }
~~~~~~~~ ^
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for vasprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define vasprintf __fake__vasprintf
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef vasprintf
#if defined __stub_vasprintf || defined __stub___vasprintf
#error "bad glibc stub"
#endif
extern char vasprintf();
int main() { return vasprintf(); }
<==
[1/2] Compiling test.c
../test.c:286:56: warning: format string missing [-Wformat]
int main() { return vasprintf(); }
~~~~~~~~~ ^
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for setenv
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define setenv __fake__setenv
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setenv
#if defined __stub_setenv || defined __stub___setenv
#error "bad glibc stub"
#endif
extern char setenv();
int main() { return setenv(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for unsetenv
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define unsetenv __fake__unsetenv
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef unsetenv
#if defined __stub_unsetenv || defined __stub___unsetenv
#error "bad glibc stub"
#endif
extern char unsetenv();
int main() { return unsetenv(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strnlen
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define strnlen __fake__strnlen
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strnlen
#if defined __stub_strnlen || defined __stub___strnlen
#error "bad glibc stub"
#endif
extern char strnlen();
int main() { return strnlen(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strtoull
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define strtoull __fake__strtoull
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strtoull
#if defined __stub_strtoull || defined __stub___strtoull
#error "bad glibc stub"
#endif
extern char strtoull();
int main() { return strtoull(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for __strtoull
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
#define __strtoull __fake____strtoull
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef __strtoull
#if defined __stub___strtoull || defined __stub_____strtoull
#error "bad glibc stub"
#endif
extern char __strtoull();
int main() { return __strtoull(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `__strtoull'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:294:39: error: use of undeclared identifier '__strtoull'
int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for strtouq
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define strtouq __fake__strtouq
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strtouq
#if defined __stub_strtouq || defined __stub___strtouq
#error "bad glibc stub"
#endif
extern char strtouq();
int main() { return strtouq(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strtoll
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define strtoll __fake__strtoll
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strtoll
#if defined __stub_strtoll || defined __stub___strtoll
#error "bad glibc stub"
#endif
extern char strtoll();
int main() { return strtoll(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for __strtoll
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
#define __strtoll __fake____strtoll
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef __strtoll
#if defined __stub___strtoll || defined __stub_____strtoll
#error "bad glibc stub"
#endif
extern char __strtoll();
int main() { return __strtoll(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `__strtoll'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:297:39: error: use of undeclared identifier '__strtoll'
int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for strtoq
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define strtoq __fake__strtoq
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strtoq
#if defined __stub_strtoq || defined __stub___strtoq
#error "bad glibc stub"
#endif
extern char strtoq();
int main() { return strtoq(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for memalign
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define memalign __fake__memalign
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef memalign
#if defined __stub_memalign || defined __stub___memalign
#error "bad glibc stub"
#endif
extern char memalign();
int main() { return memalign(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for posix_memalign
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define posix_memalign __fake__posix_memalign
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef posix_memalign
#if defined __stub_posix_memalign || defined __stub___posix_memalign
#error "bad glibc stub"
#endif
extern char posix_memalign();
int main() { return posix_memalign(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for prctl
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
/* #undef HAVE_PRCTL */
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define prctl __fake__prctl
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef prctl
#if defined __stub_prctl || defined __stub___prctl
#error "bad glibc stub"
#endif
extern char prctl();
int main() { return prctl(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for dirname
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define dirname __fake__dirname
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dirname
#if defined __stub_dirname || defined __stub___dirname
#error "bad glibc stub"
#endif
extern char dirname();
int main() { return dirname(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for basename
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define basename __fake__basename
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef basename
#if defined __stub_basename || defined __stub___basename
#error "bad glibc stub"
#endif
extern char basename();
int main() { return basename(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------
Checking for strlcpy
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define strlcpy __fake__strlcpy
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strlcpy
#if defined __stub_strlcpy || defined __stub___strlcpy
#error "bad glibc stub"
#endif
extern char strlcpy();
int main() { return strlcpy(); }
<==
[1/2] Compiling test.c
../test.c:299:38: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
extern char strlcpy();
^
../test.c:299:38: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `strlcpy'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)strlcpy; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:303:39: warning: implicitly declaring library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
int main(void) { void *__x = (void *)strlcpy; return (int)__x; return 0; }
^
../test.c:303:39: note: include the header or explicitly provide a declaration for 'strlcpy'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `strlcpy'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for strlcat
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
#define strlcat __fake__strlcat
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strlcat
#if defined __stub_strlcat || defined __stub___strlcat
#error "bad glibc stub"
#endif
extern char strlcat();
int main() { return strlcat(); }
<==
[1/2] Compiling test.c
../test.c:300:38: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
extern char strlcat();
^
../test.c:300:38: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `strlcat'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)strlcat; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:304:39: warning: implicitly declaring library function 'strlcat' with type 'unsigned long (char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
int main(void) { void *__x = (void *)strlcat; return (int)__x; return 0; }
^
../test.c:304:39: note: include the header or explicitly provide a declaration for 'strlcat'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `strlcat'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for strlcpy
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/string.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#define strlcpy __fake__strlcpy
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strlcpy
#if defined __stub_strlcpy || defined __stub___strlcpy
#error "bad glibc stub"
#endif
extern char strlcpy();
int main() { return strlcpy(); }
<==
[1/2] Compiling test.c
../test.c:301:38: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
extern char strlcpy();
^
../test.c:301:38: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `strlcpy'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)strlcpy; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:304:39: warning: implicitly declaring library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
int main(void) { void *__x = (void *)strlcpy; return (int)__x; return 0; }
^
../test.c:304:39: note: include the header or explicitly provide a declaration for 'strlcpy'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `strlcpy'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for strlcat
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#define strlcat __fake__strlcat
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strlcat
#if defined __stub_strlcat || defined __stub___strlcat
#error "bad glibc stub"
#endif
extern char strlcat();
int main() { return strlcat(); }
<==
[1/2] Compiling test.c
../test.c:301:38: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
extern char strlcat();
^
../test.c:301:38: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `strlcat'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)strlcat; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:304:39: warning: implicitly declaring library function 'strlcat' with type 'unsigned long (char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
int main(void) { void *__x = (void *)strlcat; return (int)__x; return 0; }
^
../test.c:304:39: note: include the header or explicitly provide a declaration for 'strlcat'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `strlcat'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for library bsd
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
/usr/bin/ld: cannot find -lbsd
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lbsd']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for strlcpy
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/string.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#define strlcpy __fake__strlcpy
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strlcpy
#if defined __stub_strlcpy || defined __stub___strlcpy
#error "bad glibc stub"
#endif
extern char strlcpy();
int main() { return strlcpy(); }
<==
[1/2] Compiling test.c
../test.c:301:38: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
extern char strlcpy();
^
../test.c:301:38: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `strlcpy'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/string.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/string.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)strlcpy; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:304:39: warning: implicitly declaring library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
int main(void) { void *__x = (void *)strlcpy; return (int)__x; return 0; }
^
../test.c:304:39: note: include the header or explicitly provide a declaration for 'strlcpy'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `strlcpy'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for strlcat
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/string.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#define strlcat __fake__strlcat
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strlcat
#if defined __stub_strlcat || defined __stub___strlcat
#error "bad glibc stub"
#endif
extern char strlcat();
int main() { return strlcat(); }
<==
[1/2] Compiling test.c
../test.c:301:38: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
extern char strlcat();
^
../test.c:301:38: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `strlcat'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/string.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/string.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)strlcat; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:304:39: warning: implicitly declaring library function 'strlcat' with type 'unsigned long (char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
int main(void) { void *__x = (void *)strlcat; return (int)__x; return 0; }
^
../test.c:304:39: note: include the header or explicitly provide a declaration for 'strlcat'
1 warning generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `strlcat'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for getpeereid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
#define getpeereid __fake__getpeereid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getpeereid
#if defined __stub_getpeereid || defined __stub___getpeereid
#error "bad glibc stub"
#endif
extern char getpeereid();
int main() { return getpeereid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `getpeereid'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)getpeereid; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:305:39: error: use of undeclared identifier 'getpeereid'
int main(void) { void *__x = (void *)getpeereid; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for library bsd
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
/usr/bin/ld: cannot find -lbsd
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lbsd']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for getpeereid
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/unistd.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
#define getpeereid __fake__getpeereid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getpeereid
#if defined __stub_getpeereid || defined __stub___getpeereid
#error "bad glibc stub"
#endif
extern char getpeereid();
int main() { return getpeereid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `getpeereid'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/unistd.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/unistd.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)getpeereid; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:306:39: error: use of undeclared identifier 'getpeereid'
int main(void) { void *__x = (void *)getpeereid; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for library setproctitle
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
/usr/bin/ld: cannot find -lsetproctitle
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lsetproctitle']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for setproctitle
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'setproctitle.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
#define setproctitle __fake__setproctitle
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setproctitle
#if defined __stub_setproctitle || defined __stub___setproctitle
#error "bad glibc stub"
#endif
extern char setproctitle();
int main() { return setproctitle(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `setproctitle'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'setproctitle.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'setproctitle.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)setproctitle; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:306:39: error: use of undeclared identifier 'setproctitle'
int main(void) { void *__x = (void *)setproctitle; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for library bsd
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
/usr/bin/ld: cannot find -lbsd
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lbsd']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
------------------------------------------------------------
Checking for setproctitle
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/unistd.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define setproctitle __fake__setproctitle
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setproctitle
#if defined __stub_setproctitle || defined __stub___setproctitle
#error "bad glibc stub"
#endif
extern char setproctitle();
int main() { return setproctitle(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `setproctitle'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/unistd.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'bsd/unistd.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)setproctitle; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:307:39: error: use of undeclared identifier 'setproctitle'
int main(void) { void *__x = (void *)setproctitle; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
-----------------------------------------------------------------
Checking whether we can use SO_PEERCRED to get socket credentials
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
struct ucred cred;
socklen_t cred_len;
int ret = getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len);; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking correct behavior of strtoll
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
long long nb = strtoll("Text", NULL, 0);
if (errno == EINVAL) {
return 0;
} else {
return 1;
}
; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
returncode 1
not found
-----------------------------------------------------------------
Checking for if_nametoindex
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define if_nametoindex __fake__if_nametoindex
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef if_nametoindex
#if defined __stub_if_nametoindex || defined __stub___if_nametoindex
#error "bad glibc stub"
#endif
extern char if_nametoindex();
int main() { return if_nametoindex(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for strerror_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define strerror_r __fake__strerror_r
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strerror_r
#if defined __stub_strerror_r || defined __stub___strerror_r
#error "bad glibc stub"
#endif
extern char strerror_r();
int main() { return strerror_r(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getdirentries
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define getdirentries __fake__getdirentries
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getdirentries
#if defined __stub_getdirentries || defined __stub___getdirentries
#error "bad glibc stub"
#endif
extern char getdirentries();
int main() { return getdirentries(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getdents
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
#define getdents __fake__getdents
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getdents
#if defined __stub_getdents || defined __stub___getdents
#error "bad glibc stub"
#endif
extern char getdents();
int main() { return getdents(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `getdents'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)getdents; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:312:39: error: use of undeclared identifier 'getdents'
int main(void) { void *__x = (void *)getdents; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
-----------------------------------------------------------------
Checking for syslog
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define syslog __fake__syslog
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef syslog
#if defined __stub_syslog || defined __stub___syslog
#error "bad glibc stub"
#endif
extern char syslog();
int main() { return syslog(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for gai_strerror
ok
-----------------------------------------------------------------
Checking for get_current_dir_name
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define get_current_dir_name __fake__get_current_dir_name
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef get_current_dir_name
#if defined __stub_get_current_dir_name || defined __stub___get_current_dir_name
#error "bad glibc stub"
#endif
extern char get_current_dir_name();
int main() { return get_current_dir_name(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for timegm
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define timegm __fake__timegm
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef timegm
#if defined __stub_timegm || defined __stub___timegm
#error "bad glibc stub"
#endif
extern char timegm();
int main() { return timegm(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getifaddrs
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define getifaddrs __fake__getifaddrs
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getifaddrs
#if defined __stub_getifaddrs || defined __stub___getifaddrs
#error "bad glibc stub"
#endif
extern char getifaddrs();
int main() { return getifaddrs(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for freeifaddrs
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define freeifaddrs __fake__freeifaddrs
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef freeifaddrs
#if defined __stub_freeifaddrs || defined __stub___freeifaddrs
#error "bad glibc stub"
#endif
extern char freeifaddrs();
int main() { return freeifaddrs(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for mmap
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define mmap __fake__mmap
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef mmap
#if defined __stub_mmap || defined __stub___mmap
#error "bad glibc stub"
#endif
extern char mmap();
int main() { return mmap(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for setgroups
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define setgroups __fake__setgroups
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setgroups
#if defined __stub_setgroups || defined __stub___setgroups
#error "bad glibc stub"
#endif
extern char setgroups();
int main() { return setgroups(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for syscall
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define syscall __fake__syscall
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef syscall
#if defined __stub_syscall || defined __stub___syscall
#error "bad glibc stub"
#endif
extern char syscall();
int main() { return syscall(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for setsid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define setsid __fake__setsid
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setsid
#if defined __stub_setsid || defined __stub___setsid
#error "bad glibc stub"
#endif
extern char setsid();
int main() { return setsid(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getgrent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define getgrent_r __fake__getgrent_r
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getgrent_r
#if defined __stub_getgrent_r || defined __stub___getgrent_r
#error "bad glibc stub"
#endif
extern char getgrent_r();
int main() { return getgrent_r(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getgrgid_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define getgrgid_r __fake__getgrgid_r
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getgrgid_r
#if defined __stub_getgrgid_r || defined __stub___getgrgid_r
#error "bad glibc stub"
#endif
extern char getgrgid_r();
int main() { return getgrgid_r(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getgrnam_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define getgrnam_r __fake__getgrnam_r
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getgrnam_r
#if defined __stub_getgrnam_r || defined __stub___getgrnam_r
#error "bad glibc stub"
#endif
extern char getgrnam_r();
int main() { return getgrnam_r(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getgrouplist
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define getgrouplist __fake__getgrouplist
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getgrouplist
#if defined __stub_getgrouplist || defined __stub___getgrouplist
#error "bad glibc stub"
#endif
extern char getgrouplist();
int main() { return getgrouplist(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getpagesize
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define getpagesize __fake__getpagesize
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getpagesize
#if defined __stub_getpagesize || defined __stub___getpagesize
#error "bad glibc stub"
#endif
extern char getpagesize();
int main() { return getpagesize(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getpwent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define getpwent_r __fake__getpwent_r
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getpwent_r
#if defined __stub_getpwent_r || defined __stub___getpwent_r
#error "bad glibc stub"
#endif
extern char getpwent_r();
int main() { return getpwent_r(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getpwnam_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define getpwnam_r __fake__getpwnam_r
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getpwnam_r
#if defined __stub_getpwnam_r || defined __stub___getpwnam_r
#error "bad glibc stub"
#endif
extern char getpwnam_r();
int main() { return getpwnam_r(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getpwuid_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define getpwuid_r __fake__getpwuid_r
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getpwuid_r
#if defined __stub_getpwuid_r || defined __stub___getpwuid_r
#error "bad glibc stub"
#endif
extern char getpwuid_r();
int main() { return getpwuid_r(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for epoll_create
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define epoll_create __fake__epoll_create
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef epoll_create
#if defined __stub_epoll_create || defined __stub___epoll_create
#error "bad glibc stub"
#endif
extern char epoll_create();
int main() { return epoll_create(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for port_create
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
#define port_create __fake__port_create
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef port_create
#if defined __stub_port_create || defined __stub___port_create
#error "bad glibc stub"
#endif
extern char port_create();
int main() { return port_create(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `port_create'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
../test.c:331:39: error: use of undeclared identifier 'port_create'
int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; }
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
-----------------------------------------------------------------
Checking for fgetxattr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define fgetxattr __fake__fgetxattr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef fgetxattr
#if defined __stub_fgetxattr || defined __stub___fgetxattr
#error "bad glibc stub"
#endif
extern char fgetxattr();
int main() { return fgetxattr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for flistea
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
#define flistea __fake__flistea
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef flistea
#if defined __stub_flistea || defined __stub___flistea
#error "bad glibc stub"
#endif
extern char flistea();
int main() { return flistea(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `flistea'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)flistea; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
In file included from ../test.c:333:
/usr/include/sys/xattr.h:32:3: error: expected identifier
XATTR_CREATE = 1, /* set value, fail if attr already exists. */
^
/usr/include/attr/xattr.h:30:23: note: expanded from macro 'XATTR_CREATE'
#define XATTR_CREATE 0x1 /* set value, fail if attr already exists */
^
In file included from ../test.c:333:
/usr/include/sys/xattr.h:34:3: error: expected identifier
XATTR_REPLACE = 2 /* set value, fail if attr does not exist. */
^
/usr/include/attr/xattr.h:31:23: note: expanded from macro 'XATTR_REPLACE'
#define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */
^
../test.c:335:39: error: use of undeclared identifier 'flistea'
int main(void) { void *__x = (void *)flistea; return (int)__x; return 0; }
^
3 errors generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
-----------------------------------------------------------------
Checking for flistxattr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define flistxattr __fake__flistxattr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef flistxattr
#if defined __stub_flistxattr || defined __stub___flistxattr
#error "bad glibc stub"
#endif
extern char flistxattr();
int main() { return flistxattr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for fremovexattr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define fremovexattr __fake__fremovexattr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef fremovexattr
#if defined __stub_fremovexattr || defined __stub___fremovexattr
#error "bad glibc stub"
#endif
extern char fremovexattr();
int main() { return fremovexattr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for fsetxattr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define fsetxattr __fake__fsetxattr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef fsetxattr
#if defined __stub_fsetxattr || defined __stub___fsetxattr
#error "bad glibc stub"
#endif
extern char fsetxattr();
int main() { return fsetxattr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for getxattr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define getxattr __fake__getxattr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef getxattr
#if defined __stub_getxattr || defined __stub___getxattr
#error "bad glibc stub"
#endif
extern char getxattr();
int main() { return getxattr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for listxattr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define listxattr __fake__listxattr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef listxattr
#if defined __stub_listxattr || defined __stub___listxattr
#error "bad glibc stub"
#endif
extern char listxattr();
int main() { return listxattr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for removexattr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define removexattr __fake__removexattr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef removexattr
#if defined __stub_removexattr || defined __stub___removexattr
#error "bad glibc stub"
#endif
extern char removexattr();
int main() { return removexattr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for setxattr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define setxattr __fake__setxattr
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef setxattr
#if defined __stub_setxattr || defined __stub___setxattr
#error "bad glibc stub"
#endif
extern char setxattr();
int main() { return setxattr(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for library attr
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lattr']
yes
-----------------------------------------------------------------
Checking for flistea
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/attributes.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define flistea __fake__flistea
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef flistea
#if defined __stub_flistea || defined __stub___flistea
#error "bad glibc stub"
#endif
extern char flistea();
int main() { return flistea(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `flistea'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lattr']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/attributes.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'sys/attributes.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)flistea; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
In file included from ../test.c:341:
/usr/include/sys/xattr.h:32:3: error: expected identifier
XATTR_CREATE = 1, /* set value, fail if attr already exists. */
^
/usr/include/attr/xattr.h:30:23: note: expanded from macro 'XATTR_CREATE'
#define XATTR_CREATE 0x1 /* set value, fail if attr already exists */
^
In file included from ../test.c:341:
/usr/include/sys/xattr.h:34:3: error: expected identifier
XATTR_REPLACE = 2 /* set value, fail if attr does not exist. */
^
/usr/include/attr/xattr.h:31:23: note: expanded from macro 'XATTR_REPLACE'
#define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */
^
../test.c:343:39: error: use of undeclared identifier 'flistea'
int main(void) { void *__x = (void *)flistea; return (int)__x; return 0; }
^
3 errors generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
-----------------------------------------------------------------
Checking whether xattr interface takes additional options
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; }
<==
[1/2] Compiling test.c
In file included from ../test.c:342:
/usr/include/sys/xattr.h:32:3: error: expected identifier
XATTR_CREATE = 1, /* set value, fail if attr already exists. */
^
/usr/include/attr/xattr.h:30:23: note: expanded from macro 'XATTR_CREATE'
#define XATTR_CREATE 0x1 /* set value, fail if attr already exists */
^
In file included from ../test.c:342:
/usr/include/sys/xattr.h:34:3: error: expected identifier
XATTR_REPLACE = 2 /* set value, fail if attr does not exist. */
^
/usr/include/attr/xattr.h:31:23: note: expanded from macro 'XATTR_REPLACE'
#define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */
^
../test.c:344:49: error: too many arguments to function call, expected 4, have 6
int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; }
~~~~~~~~ ^~~~
/usr/include/sys/xattr.h:59:1: note: 'getxattr' declared here
extern ssize_t getxattr (const char *__path, const char *__name,
^
3 errors generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
-----------------------------------------------------------------
Checking for dlopen
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'dl.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define dlopen __fake__dlopen
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dlopen
#if defined __stub_dlopen || defined __stub___dlopen
#error "bad glibc stub"
#endif
extern char dlopen();
int main() { return dlopen(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `dlopen'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
/* #undef HAVE_DLOPEN */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)dlopen; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `dlopen'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
-----------------------------------------------------------------
Checking for dlsym
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
/* #undef HAVE_DLOPEN */
#define dlsym __fake__dlsym
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dlsym
#if defined __stub_dlsym || defined __stub___dlsym
#error "bad glibc stub"
#endif
extern char dlsym();
int main() { return dlsym(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `dlsym'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
/* #undef HAVE_DLOPEN */
/* #undef HAVE_DLSYM */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)dlsym; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `dlsym'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
-----------------------------------------------------------------
Checking for dlerror
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
/* #undef HAVE_DLOPEN */
/* #undef HAVE_DLSYM */
#define dlerror __fake__dlerror
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dlerror
#if defined __stub_dlerror || defined __stub___dlerror
#error "bad glibc stub"
#endif
extern char dlerror();
int main() { return dlerror(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `dlerror'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
/* #undef HAVE_DLOPEN */
/* #undef HAVE_DLSYM */
/* #undef HAVE_DLERROR */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)dlerror; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `dlerror'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
-----------------------------------------------------------------
Checking for dlclose
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
/* #undef HAVE_DLOPEN */
/* #undef HAVE_DLSYM */
/* #undef HAVE_DLERROR */
#define dlclose __fake__dlclose
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dlclose
#if defined __stub_dlclose || defined __stub___dlclose
#error "bad glibc stub"
#endif
extern char dlclose();
int main() { return dlclose(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `dlclose'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
/* #undef HAVE_DLOPEN */
/* #undef HAVE_DLSYM */
/* #undef HAVE_DLERROR */
/* #undef HAVE_DLCLOSE */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)dlclose; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `dlclose'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
-----------------------------------------------------------------
Checking for library dl
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-ldl']
yes
-----------------------------------------------------------------
Checking for dlopen
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'dl.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
/* #undef HAVE_DLOPEN */
/* #undef HAVE_DLSYM */
/* #undef HAVE_DLERROR */
/* #undef HAVE_DLCLOSE */
#define HAVE_LIBDL 1
#define dlopen __fake__dlopen
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dlopen
#if defined __stub_dlopen || defined __stub___dlopen
#error "bad glibc stub"
#endif
extern char dlopen();
int main() { return dlopen(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-ldl']
ok
-----------------------------------------------------------------
Checking for dlsym
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'dl.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
/* #undef HAVE_DLSYM */
/* #undef HAVE_DLERROR */
/* #undef HAVE_DLCLOSE */
#define HAVE_LIBDL 1
#define dlsym __fake__dlsym
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dlsym
#if defined __stub_dlsym || defined __stub___dlsym
#error "bad glibc stub"
#endif
extern char dlsym();
int main() { return dlsym(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-ldl']
ok
-----------------------------------------------------------------
Checking for dlerror
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'dl.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
/* #undef HAVE_DLERROR */
/* #undef HAVE_DLCLOSE */
#define HAVE_LIBDL 1
#define dlerror __fake__dlerror
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dlerror
#if defined __stub_dlerror || defined __stub___dlerror
#error "bad glibc stub"
#endif
extern char dlerror();
int main() { return dlerror(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-ldl']
ok
-----------------------------------------------------------------
Checking for dlclose
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'dl.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
/* #undef HAVE_DLCLOSE */
#define HAVE_LIBDL 1
#define dlclose __fake__dlclose
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dlclose
#if defined __stub_dlclose || defined __stub___dlclose
#error "bad glibc stub"
#endif
extern char dlclose();
int main() { return dlclose(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-ldl']
ok
-----------------------------------------------------------------
Checking for declaration of dlopen
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef dlopen
void *_x; _x=(void *)&dlopen; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
-----------------------------------------------------------------
Checking C prototype for dlopen
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; }
<==
[1/1] Compiling test.c
../test.c:351:25: error: conflicting types for 'dlopen'
int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; }
^
/usr/include/dlfcn.h:56:14: note: previous declaration is here
extern void *dlopen (const char *__file, int __mode) __THROWNL;
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
-----------------------------------------------------------------
Checking for fdatasync
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define fdatasync __fake__fdatasync
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef fdatasync
#if defined __stub_fdatasync || defined __stub___fdatasync
#error "bad glibc stub"
#endif
extern char fdatasync();
int main() { return fdatasync(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
-----------------------------------------------------------------
Checking for declaration of fdatasync
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef fdatasync
void *_x; _x=(void *)&fdatasync; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
-----------------------------------------------------------------
Checking for clock_gettime
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define clock_gettime __fake__clock_gettime
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef clock_gettime
#if defined __stub_clock_gettime || defined __stub___clock_gettime
#error "bad glibc stub"
#endif
extern char clock_gettime();
int main() { return clock_gettime(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
------------------------------------------------------------------------
Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#if TIME_WITH_SYS_TIME
# include
# include
#else
# if HAVE_SYS_TIME_H
# include
# else
# include
# endif
#endif
clockid_t clk = CLOCK_MONOTONIC; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#if TIME_WITH_SYS_TIME
# include
# include
#else
# if HAVE_SYS_TIME_H
# include
# else
# include
# endif
#endif
clockid_t clk = CLOCK_PROCESS_CPUTIME_ID; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking whether the clock_gettime clock ID CLOCK_REALTIME is available
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#if TIME_WITH_SYS_TIME
# include
# include
#else
# if HAVE_SYS_TIME_H
# include
# else
# include
# endif
#endif
clockid_t clk = CLOCK_REALTIME; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for struct timespec
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct timespec _x; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for header net/if.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
---------------------------------------------------------------------------------
Checking for header arpa/nameser.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
---------------------------------------------------------------------------------
Checking for header resolv.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
---------------------------------------------------------------------------------
Checking for res_search
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define res_search __fake__res_search
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef res_search
#if defined __stub_res_search || defined __stub___res_search
#error "bad glibc stub"
#endif
extern char res_search();
int main() { return res_search(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `res_search'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
/* #undef HAVE_RES_SEARCH */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `__res_search'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
---------------------------------------------------------------------------------
Checking for library resolv
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lresolv']
yes
---------------------------------------------------------------------------------
Checking for res_search
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
/* #undef HAVE_RES_SEARCH */
#define HAVE_LIBRESOLV 1
#define res_search __fake__res_search
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef res_search
#if defined __stub_res_search || defined __stub___res_search
#error "bad glibc stub"
#endif
extern char res_search();
int main() { return res_search(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `res_search'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lresolv']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
/* #undef HAVE_RES_SEARCH */
#define HAVE_LIBRESOLV 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lresolv']
ok
---------------------------------------------------------------------------------
Checking for header libintl.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
---------------------------------------------------------------------------------
Checking for library intl
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
/usr/bin/ld: cannot find -lintl
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lintl']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
---------------------------------------------------------------------------------
Checking for declaration of dgettext
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef dgettext
void *_x; _x=(void *)&dgettext; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of gettext
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef gettext
void *_x; _x=(void *)&gettext; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of bindtextdomain
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef bindtextdomain
void *_x; _x=(void *)&bindtextdomain; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of textdomain
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef textdomain
void *_x; _x=(void *)&textdomain; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of bind_textdomain_codeset
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef bind_textdomain_codeset
void *_x; _x=(void *)&bind_textdomain_codeset; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for bindtextdomain
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define bindtextdomain __fake__bindtextdomain
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef bindtextdomain
#if defined __stub_bindtextdomain || defined __stub___bindtextdomain
#error "bad glibc stub"
#endif
extern char bindtextdomain();
int main() { return bindtextdomain(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for textdomain
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define textdomain __fake__textdomain
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef textdomain
#if defined __stub_textdomain || defined __stub___textdomain
#error "bad glibc stub"
#endif
extern char textdomain();
int main() { return textdomain(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for bind_textdomain_codeset
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define bind_textdomain_codeset __fake__bind_textdomain_codeset
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef bind_textdomain_codeset
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
#error "bad glibc stub"
#endif
extern char bind_textdomain_codeset();
int main() { return bind_textdomain_codeset(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for dgettext
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define dgettext __fake__dgettext
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef dgettext
#if defined __stub_dgettext || defined __stub___dgettext
#error "bad glibc stub"
#endif
extern char dgettext();
int main() { return dgettext(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for gettext
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define gettext __fake__gettext
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef gettext
#if defined __stub_gettext || defined __stub___gettext
#error "bad glibc stub"
#endif
extern char gettext();
int main() { return gettext(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for pthread_create
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define pthread_create __fake__pthread_create
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef pthread_create
#if defined __stub_pthread_create || defined __stub___pthread_create
#error "bad glibc stub"
#endif
extern char pthread_create();
int main() { return pthread_create(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `pthread_create'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
/* #undef HAVE_PTHREAD_CREATE */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)pthread_create; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `pthread_create'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
---------------------------------------------------------------------------------
Checking for library pthread
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lpthread']
yes
---------------------------------------------------------------------------------
Checking for pthread_create
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
/* #undef HAVE_PTHREAD_CREATE */
#define HAVE_LIBPTHREAD 1
#define pthread_create __fake__pthread_create
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef pthread_create
#if defined __stub_pthread_create || defined __stub___pthread_create
#error "bad glibc stub"
#endif
extern char pthread_create();
int main() { return pthread_create(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lpthread']
ok
---------------------------------------------------------------------------------
Checking for pthread_attr_init
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define pthread_attr_init __fake__pthread_attr_init
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef pthread_attr_init
#if defined __stub_pthread_attr_init || defined __stub___pthread_attr_init
#error "bad glibc stub"
#endif
extern char pthread_attr_init();
int main() { return pthread_attr_init(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lpthread']
ok
---------------------------------------------------------------------------------
Checking for pthread_mutexattr_setrobust
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define pthread_mutexattr_setrobust __fake__pthread_mutexattr_setrobust
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef pthread_mutexattr_setrobust
#if defined __stub_pthread_mutexattr_setrobust || defined __stub___pthread_mutexattr_setrobust
#error "bad glibc stub"
#endif
extern char pthread_mutexattr_setrobust();
int main() { return pthread_mutexattr_setrobust(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for declaration of PTHREAD_MUTEX_ROBUST
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef PTHREAD_MUTEX_ROBUST
void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
../test.c:383:44: error: cannot take the address of an rvalue of type 'int'
void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x;
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking for declaration of PTHREAD_MUTEX_ROBUST (as enum)
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
/* #undef HAVE_DECL_PTHREAD_MUTEX_ROBUST */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
return (int)PTHREAD_MUTEX_ROBUST;
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for pthread_mutex_consistent
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define pthread_mutex_consistent __fake__pthread_mutex_consistent
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef pthread_mutex_consistent
#if defined __stub_pthread_mutex_consistent || defined __stub___pthread_mutex_consistent
#error "bad glibc stub"
#endif
extern char pthread_mutex_consistent();
int main() { return pthread_mutex_consistent(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for crypt
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define crypt __fake__crypt
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef crypt
#if defined __stub_crypt || defined __stub___crypt
#error "bad glibc stub"
#endif
extern char crypt();
int main() { return crypt(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x12): undefined reference to `crypt'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
/* #undef HAVE_CRYPT */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { void *__x = (void *)crypt; return (int)__x; return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
../test.c:(.text+0x6): undefined reference to `crypt'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'not found
---------------------------------------------------------------------------------
Checking for library crypt
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lcrypt']
yes
---------------------------------------------------------------------------------
Checking for crypt
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
/* #undef HAVE_CRYPT */
#define HAVE_LIBCRYPT 1
#define crypt __fake__crypt
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef crypt
#if defined __stub_crypt || defined __stub___crypt
#error "bad glibc stub"
#endif
extern char crypt();
int main() { return crypt(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lcrypt']
ok
---------------------------------------------------------------------------------
Checking for header readline.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: 'readline.h' file not found
#include
^
1 error generated.
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
---------------------------------------------------------------------------------
Checking for header readline/readline.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
---------------------------------------------------------------------------------
Checking for header readline/history.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
---------------------------------------------------------------------------------
Checking for variable rl_event_hook
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef rl_event_hook
void *_x; _x=(void *)&rl_event_hook; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of snprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef snprintf
void *_x; _x=(void *)&snprintf; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of vsnprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef vsnprintf
void *_x; _x=(void *)&vsnprintf; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of asprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef asprintf
void *_x; _x=(void *)&asprintf; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of vasprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef vasprintf
void *_x; _x=(void *)&vasprintf; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of errno
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef errno
void *_x; _x=(void *)&errno; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of EWOULDBLOCK
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef EWOULDBLOCK
void *_x; _x=(void *)&EWOULDBLOCK; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of environ
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef environ
void *_x; _x=(void *)&environ; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of getgrent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef getgrent_r
void *_x; _x=(void *)&getgrent_r; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of getpwent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef getpwent_r
void *_x; _x=(void *)&getpwent_r; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of pread
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef pread
void *_x; _x=(void *)&pread; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of pwrite
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef pwrite
void *_x; _x=(void *)&pwrite; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of setenv
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef setenv
void *_x; _x=(void *)&setenv; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of setresgid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef setresgid
void *_x; _x=(void *)&setresgid; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for declaration of setresuid
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef setresuid
void *_x; _x=(void *)&setresuid; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for header poll.h
==>
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
---------------------------------------------------------------------------------
Checking for poll
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define poll __fake__poll
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef poll
#if defined __stub_poll || defined __stub___poll
#error "bad glibc stub"
#endif
extern char poll();
int main() { return poll(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for strptime
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define strptime __fake__strptime
#ifdef HAVE_LIMITS_H
# include
#else
# include
#endif
#undef strptime
#if defined __stub_strptime || defined __stub___strptime
#error "bad glibc stub"
#endif
extern char strptime();
int main() { return strptime(); }
<==
[1/2] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for declaration of strptime
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef strptime
void *_x; _x=(void *)&strptime; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for working strptime
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define LIBREPLACE_CONFIGURE_TEST_STRPTIME
#include "test/strptime.c"
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
returncode 0
ok
---------------------------------------------------------------------------------
Checking for declaration of gettimeofday
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef gettimeofday
void *_x; _x=(void *)&gettimeofday; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking C prototype for gettimeofday
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { int gettimeofday(struct timeval *tv, struct timezone *tz); void *_x = (void *)gettimeofday; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking C prototype for gettimeofday
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { int gettimeofday(struct timeval *tv, void *tz); void *_x = (void *)gettimeofday; return 0; }
<==
[1/1] Compiling test.c
../test.c:411:23: error: conflicting types for 'gettimeofday'
int main(void) { int gettimeofday(struct timeval *tv, void *tz); void *_x = (void *)gettimeofday; return 0; }
^
/usr/include/sys/time.h:71:12: note: previous declaration is here
extern int gettimeofday (struct timeval *__restrict __tv,
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking for C99 vsnprintf
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include "test/snprintf.c"
<==
[1/2] Compiling test.c
In file included from ../test.c:411:
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/snprintf.c:22:31: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int' [-Wformat]
if (snprintf(buf, 20, "%zu", 123456789) != 9 || strcmp(buf, "123456789") != 0) exit(5);
~~~ ^~~~~~~~~
%d
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/snprintf.c:23:27: warning: unknown escape sequence '\$' [-Wunknown-escape-sequence]
if (snprintf(buf, 20, "%2\$d %1\$d", 3, 4) != 3 || strcmp(buf, "4 3") != 0) exit(6);
^~
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/snprintf.c:23:33: warning: unknown escape sequence '\$' [-Wunknown-escape-sequence]
if (snprintf(buf, 20, "%2\$d %1\$d", 3, 4) != 3 || strcmp(buf, "4 3") != 0) exit(6);
^~
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/snprintf.c:24:30: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
if (snprintf(buf, 20, "%s", 0) < 3) exit(7);
~~ ^
%d
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/snprintf.c:29:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main() { foo("hello"); }
^
5 warnings generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
1
returncode 0
ok
---------------------------------------------------------------------------------
Checking for HAVE_SHARED_MMAP
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#include "test/shared_mmap.c"
<==
[1/2] Compiling test.c
In file included from ../test.c:398:
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/shared_mmap.c:18:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/shared_mmap.c:25:16: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
if (fd == -1) exit(1);
^
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/shared_mmap.c:25:16: note: include the header or explicitly provide a declaration for 'exit'
2 warnings generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
returncode 0
ok
---------------------------------------------------------------------------------
Checking for HAVE_MREMAP
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#include "test/shared_mremap.c"
<==
[1/2] Compiling test.c
In file included from ../test.c:399:
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/shared_mremap.c:21:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/shared_mremap.c:29:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(1);
^
/tmp/tdb/src/tdb-1.3.8/lib/replace/test/shared_mremap.c:29:3: note: include the header or explicitly provide a declaration for 'exit'
2 warnings generated.
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
returncode 0
ok
---------------------------------------------------------------------------------
Checking for HAVE_INCOHERENT_MMAP
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
#include "test/incoherent_mmap.c"
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
returncode 1
not found
---------------------------------------------------------------------------------
Checking for HAVE_IMMEDIATE_STRUCTURES
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
typedef struct {unsigned x;} FOOBAR;
#define X_FOOBAR(x) ((FOOBAR) { x })
#define FOO_ONE X_FOOBAR(1)
FOOBAR f = FOO_ONE;
static const struct {
FOOBAR y;
} f2[] = {
{FOO_ONE}
};
static const FOOBAR f3[] = {FOO_ONE};
; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for HAVE_MKDIR_MODE
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { mkdir("foo",0777); return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for member st_mtim.tv_nsec in struct stat
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct stat s; void *_x; _x=(void *)&s.st_mtim.tv_nsec; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for member st_rdev in struct stat
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct stat s; void *_x; _x=(void *)&s.st_rdev; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for member st_rdev in struct stat
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct stat s; void *_x; _x=(void *)&s.st_rdev; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for member ss_family in struct sockaddr_storage
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.ss_family; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking for member __ss_family in struct sockaddr_storage
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; }
<==
[1/1] Compiling test.c
../test.c:423:70: error: no member named '__ss_family' in 'struct sockaddr_storage'; did you mean 'ss_family'?
int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; }
^~~~~~~~~~~
ss_family
/usr/include/bits/socket.h:168:5: note: 'ss_family' declared here
__SOCKADDR_COMMON (ss_); /* Address family, etc. */
^
/usr/include/bits/sockaddr.h:35:15: note: expanded from macro '__SOCKADDR_COMMON'
sa_family_t sa_prefix##family
^
:38:1: note: expanded from here
ss_family
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking for member sa_len in struct sockaddr
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; }
<==
[1/1] Compiling test.c
../test.c:424:62: error: no member named 'sa_len' in 'struct sockaddr'
int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; }
~ ^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking for member sin_len in struct sockaddr_in
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; }
<==
[1/1] Compiling test.c
../test.c:425:65: error: no member named 'sin_len' in 'struct sockaddr_in'
int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; }
~ ^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking for HAVE_UNIXSOCKET
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct sockaddr_un sunaddr; sunaddr.sun_family = AF_UNIX;; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
ok
---------------------------------------------------------------------------------
Checking for HAVE_SECURE_MKSTEMP
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
struct stat st;
char tpl[20]="/tmp/test.XXXXXX";
char tpl2[20]="/tmp/test.XXXXXX";
int fd = mkstemp(tpl);
int fd2 = mkstemp(tpl2);
if (fd == -1) {
if (fd2 != -1) {
unlink(tpl2);
}
exit(1);
}
if (fd2 == -1) exit(1);
unlink(tpl);
unlink(tpl2);
if (fstat(fd, &st) != 0) exit(1);
if ((st.st_mode & 0777) != 0600) exit(1);
if (strcmp(tpl, "/tmp/test.XXXXXX") == 0) {
exit(1);
}
if (strcmp(tpl, tpl2) == 0) {
exit(1);
}
exit(0);
; return 0; }
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
returncode 0
ok
---------------------------------------------------------------------------------
Checking for HAVE_IFACE_GETIFADDRS
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define HAVE_IFACE_GETIFADDRS 1
#define NO_CONFIG_H 1
#define AUTOCONF_TEST 1
#include "replace.c"
#include "inet_ntop.c"
#include "snprintf.c"
#include "getifaddrs.c"
#define getifaddrs_test main
#include "test/getifaddrs.c"
<==
[1/2] Compiling test.c
['clang', '-I/tmp/tdb/src/tdb-1.3.8/lib/replace', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-lpthread', '-L/usr/local/lib']
lo AF=17
eth0 AF=17
lo IP=127.0.0.1 NETMASK=255.0.0.0
eth0 IP=172.17.0.9 NETMASK=255.255.0.0
lo IP=::1 NETMASK=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
eth0 IP=fe80::42:acff:fe11:9 NETMASK=ffff:ffff:ffff:ffff::
returncode 0
ok
---------------------------------------------------------------------------------
Checking for getpwnam_r
ok
---------------------------------------------------------------------------------
Checking for getpwuid_r
ok
---------------------------------------------------------------------------------
Checking for getpwent_r
ok
---------------------------------------------------------------------------------
Checking for declaration of getpwent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_IFACE_GETIFADDRS 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef getpwent_r
void *_x; _x=(void *)&getpwent_r; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking C prototype for getpwent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_IFACE_GETIFADDRS 1
#define HAVE_DECL_GETPWENT_R 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen); void *_x = (void *)getpwent_r; return 0; }
<==
[1/1] Compiling test.c
../test.c:429:34: error: conflicting types for 'getpwent_r'
int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen); void *_x = (void *)getpwent_r; return 0; }
^
/usr/include/pwd.h:139:12: note: previous declaration is here
extern int getpwent_r (struct passwd *__restrict __resultbuf,
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking for declaration of getgrent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_IFACE_GETIFADDRS 1
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) {
#ifndef getgrent_r
void *_x; _x=(void *)&getgrent_r; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
---------------------------------------------------------------------------------
Checking C prototype for getgrent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_IFACE_GETIFADDRS 1
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct group *getgrent_r(struct group *src, char *buf, int buflen); void *_x = (void *)getgrent_r; return 0; }
<==
[1/1] Compiling test.c
../test.c:431:33: error: conflicting types for 'getgrent_r'
int main(void) { struct group *getgrent_r(struct group *src, char *buf, int buflen); void *_x = (void *)getgrent_r; return 0; }
^
/usr/include/grp.h:132:12: note: previous declaration is here
extern int getgrent_r (struct group *__restrict __resultbuf,
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking C prototype for getpwent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_IFACE_GETIFADDRS 1
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen); void *_x = (void *)getpwent_r; return 0; }
<==
[1/1] Compiling test.c
../test.c:432:34: error: conflicting types for 'getpwent_r'
int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen); void *_x = (void *)getpwent_r; return 0; }
^
/usr/include/pwd.h:139:12: note: previous declaration is here
extern int getpwent_r (struct passwd *__restrict __resultbuf,
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking C prototype for getgrent_r
==>
#define BUILD_SYSTEM "Linux f3e6267e48b0 4.10.6-1-ARCH #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017 x86_64 GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "4.10.6-1-ARCH"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_KRB5_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
/* #undef HAVE___SYNC_FETCH_AND_ADD */
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
/* #undef HAVE_PORT_CREATE */
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
#define HAVE_GETTIMEOFDAY_TZ 1
/* #undef HAVE_GETTIMEOFDAY_TZ_VOID */
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_IFACE_GETIFADDRS 1
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void) { struct group *getgrent_r(struct group *src, char *buf, size_t buflen); void *_x = (void *)getgrent_r; return 0; }
<==
[1/1] Compiling test.c
../test.c:432:33: error: conflicting types for 'getgrent_r'
int main(void) { struct group *getgrent_r(struct group *src, char *buf, size_t buflen); void *_x = (void *)getgrent_r; return 0; }
^
/usr/include/grp.h:132:12: note: previous declaration is here
extern int getgrent_r (struct group *__restrict __resultbuf,
^
1 error generated.
['clang', '-MD', '-Idefault', '-I..', '-Idefault', '-I..', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
---------------------------------------------------------------------------------
Checking for getgrouplist
ok
---------------------------------------------------------------------------------
Checking for program xsltproc
find program=['xsltproc'] paths=[] var='XSLTPROC'
-> '/usr/bin/xsltproc'
-----------------------------------------------------------------------------------------------
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
ok
-----------------------------------------------------------------------------------------------
Checking for program python
find program=['python'] paths=[] var='PYTHON'
-> '/usr/bin/python2'
-----------------------------------------------------------------------------------------------
Checking for program python
find program=['python'] paths=[] var='PYTHON'
-> '/usr/bin/python2'
-----------------------------------------------------------------------------------------------
Checking for program python
find program=['python'] paths=[] var=None
-> '/usr/bin/python'
-----------------------------------------------------------------------------------------------
Checking for Python version >= 2.4.2
ok 2.7.12
-----------------------------------------------------------------------------------------------
Checking for Python version >= 2.4.2
ok 2.7.12
Configuration returned from '/usr/bin/python2':
python_prefix = '/usr'
python_SO = '.so'
python_SYSLIBS = '-lm'
python_LDFLAGS = '-Wl,-O1,--sort-common,--as-needed,-z,relro'
python_SHLIBS = '-lpthread -ldl -lutil'
python_LIBDIR = '/usr/lib'
python_LIBPL = '/usr/lib/python2.7/config'
INCLUDEPY = '/usr/include/python2.7'
Py_ENABLE_SHARED = 1
MACOSX_DEPLOYMENT_TARGET = ''
LDVERSION = ''
# Trying LIBDIR: ['/usr/lib']
-----------------------------------------------------------------------------------------------
Checking for library python2.7
==>
int main() {
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-Wl,-O1,--sort-common,--as-needed,-z,relro', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lpython2.7', '-lm', '-lpthread', '-ldl', '-lutil']
yes
-----------------------------------------------------------------------------------------------
Checking for program python2.7-config
find program=['python2.7-config'] paths=[] var='PYTHON_CONFIG'
-> '/usr/bin/python2.7-config'
Include path for Python extensions (found via python-config --includes): ['/usr/include/python2.7']
-----------------------------------------------------------------------------------------------
Checking for custom code
==>
#include "Python.h"
#ifdef __cplusplus
extern "C" {
#endif
void Py_Initialize(void);
void Py_Finalize(void);
#ifdef __cplusplus
}
#endif
int main()
{
Py_Initialize();
Py_Finalize();
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-MD', '-fno-strict-aliasing', '-I/usr/local/include', '-I/usr/include/python2.7', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-Wl,-O1,--sort-common,--as-needed,-z,relro', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lm', '-lpthread', '-ldl', '-lutil', '-lpython2.7']
yes
-----------------------------------------------------------------------------------------------
Checking if toolchain accepts -fstack-protector
==>
#include
int main(void)
{
char t[100000];
while (fgets(t, sizeof(t), stdin));
return 0;
}
<==
[1/2] Compiling test.c
['clang', '-fstack-protector', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-fstack-protector', '-L/usr/local/lib']
yes
-----------------------------------------------------------------------------------------------
Checking linker accepts -Wl,-no-undefined
==>
int main(void) { return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-Wl,-no-undefined', '-L/usr/local/lib']
yes
-----------------------------------------------------------------------------------------------
Checking linker accepts ['-undefined', 'dynamic_lookup']
==>
int main(void) { return 0; }
<==
[1/2] Compiling test.c
['clang', '-MD', '-I/usr/local/include', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
clang-3.8: warning: argument unused during compilation: '-undefined dynamic_lookup'
['clang', 'default/test_1.o', '-o', '/tmp/tdb/src/tdb-1.3.8/bin/.conf_check_0/testbuild/default/testprog', '-undefined', 'dynamic_lookup', '-L/usr/local/lib']
yes