Build of redis with clang_glibc toolchain

The build took 00h 02m 52s and was SUCCESSFUL.

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

SLOCLanguage
93,587 ansic
11,943 tcl
8,092 perl
3,900 sh
1,591 ruby
1,028 makefile
120,141 total

The process tree of the build process is here.

Log

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

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

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

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: redis 3.2.1-1 (Thu Apr 13 17:55:10 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/redis/src/redis-3.2.1'
# cd src && make all
# make[1]: Entering directory '/tmp/redis/src/redis-3.2.1/src'
# rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-rdb redis-check-aof *.o *.gcda *.gcno *.gcov redis.info lcov-html
# (cd ../deps && make distclean)
# make[2]: Entering directory '/tmp/redis/src/redis-3.2.1/deps'
# (cd hiredis && make clean) > /dev/null || true
# (cd linenoise && make clean) > /dev/null || true
# (cd lua && make clean) > /dev/null || true
# (cd geohash-int && make clean) > /dev/null || true
# (cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true
# (rm -f .make-*)
# make[2]: Leaving directory '/tmp/redis/src/redis-3.2.1/deps'
# (rm -f .make-*)
# echo STD=-std=c99 -pedantic -DREDIS_STATIC='' >> .make-settings
# echo WARN=-Wall -W >> .make-settings
# echo OPT=-O2 >> .make-settings
# echo MALLOC=jemalloc >> .make-settings
# echo CFLAGS= >> .make-settings
# echo LDFLAGS= >> .make-settings
# echo REDIS_CFLAGS= >> .make-settings
# echo REDIS_LDFLAGS= >> .make-settings
# echo PREV_FINAL_CFLAGS=-std=c99 -pedantic -DREDIS_STATIC='' -Wall -W -O2 -g -ggdb -I../deps/geohash-int -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -DUSE_JEMALLOC -I../deps/jemalloc/include >> .make-settings
# echo PREV_FINAL_LDFLAGS= -g -ggdb -rdynamic >> .make-settings
# (cd ../deps && make hiredis linenoise lua geohash-int jemalloc)
# make[2]: Entering directory '/tmp/redis/src/redis-3.2.1/deps'
# (cd hiredis && make clean) > /dev/null || true
# (cd linenoise && make clean) > /dev/null || true
# (cd lua && make clean) > /dev/null || true
# (cd geohash-int && make clean) > /dev/null || true
# (cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true
# (rm -f .make-*)
# (echo "" > .make-cflags)
# (echo "" > .make-ldflags)
# MAKE hiredis
# cd hiredis && make static
# make[3]: Entering directory '/tmp/redis/src/redis-3.2.1/deps/hiredis'
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
# In file included from net.c:34:
# In file included from /usr/include/sys/types.h:25:
# /usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
# ^
# 1 warning generated.
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
# In file included from hiredis.c:33:
# In file included from /usr/include/string.h:25:
# /usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
# ^
# 1 warning generated.
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
# In file included from async.c:33:
# In file included from /usr/include/stdlib.h:24:
# /usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
# ^
# 1 warning generated.
# ar rcs libhiredis.a net.o hiredis.o sds.o async.o
# make[3]: Leaving directory '/tmp/redis/src/redis-3.2.1/deps/hiredis'
# MAKE linenoise
# cd linenoise && make
# make[3]: Entering directory '/tmp/redis/src/redis-3.2.1/deps/linenoise'
# clang -Wall -Os -g -c linenoise.c
# make[3]: Leaving directory '/tmp/redis/src/redis-3.2.1/deps/linenoise'
# MAKE lua
# cd lua/src && make all CFLAGS="-O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' " MYLDFLAGS="" AR="ar rcu"
# make[3]: Entering directory '/tmp/redis/src/redis-3.2.1/deps/lua/src'
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lapi.o lapi.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lcode.o lcode.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ldebug.o ldebug.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ldo.o ldo.c
# ldo.c:496:7: warning: unused variable 'c' [-Wunused-variable]
# int c = luaZ_lookahead(p->z);
# ^
# 1 warning generated.
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ldump.o ldump.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lfunc.o lfunc.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lgc.o lgc.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o llex.o llex.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lmem.o lmem.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lobject.o lobject.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lopcodes.o lopcodes.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lparser.o lparser.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lstate.o lstate.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lstring.o lstring.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ltable.o ltable.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ltm.o ltm.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lundump.o lundump.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lvm.o lvm.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lzio.o lzio.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o strbuf.o strbuf.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o fpconv.o fpconv.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lauxlib.o lauxlib.c
# lauxlib.c:577:61: warning: while loop has empty body [-Wempty-body]
# while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
# ^
# lauxlib.c:577:61: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lbaselib.o lbaselib.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ldblib.o ldblib.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o liolib.o liolib.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lmathlib.o lmathlib.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o loslib.o loslib.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ltablib.o ltablib.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lstrlib.o lstrlib.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o loadlib.o loadlib.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o linit.o linit.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua_cjson.o lua_cjson.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua_struct.o lua_struct.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua_cmsgpack.o lua_cmsgpack.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua_bit.o lua_bit.c
# ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o strbuf.o fpconv.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o lua_cjson.o lua_struct.o lua_cmsgpack.o lua_bit.o # DLL needs all object files
# ar: `u' modifier ignored since `D' is the default (see `U')
# ranlib liblua.a
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua.o lua.c
# clang -o lua lua.o liblua.a -lm
# liblua.a(loslib.o): In function `os_tmpname':
# loslib.c:(.text+0x7ad): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o luac.o luac.c
# clang -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o print.o print.c
# clang -o luac luac.o print.o liblua.a -lm
# make[3]: Leaving directory '/tmp/redis/src/redis-3.2.1/deps/lua/src'
# MAKE geohash-int
# cd geohash-int && make
# make[3]: Entering directory '/tmp/redis/src/redis-3.2.1/deps/geohash-int'
# clang -Wall -O2 -g -c geohash.c
# clang -Wall -O2 -g -c geohash_helper.c
# make[3]: Leaving directory '/tmp/redis/src/redis-3.2.1/deps/geohash-int'
# MAKE jemalloc
# cd jemalloc && ./configure --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS=""
# checking for xsltproc... /usr/bin/xsltproc
# checking for gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... no
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/bin/grep
# checking for egrep... /usr/bin/grep -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking whether byte ordering is bigendian... no
# checking size of void *... 8
# checking size of int... 4
# checking size of long... 8
# checking size of intmax_t... 8
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking whether pause instruction is compilable... yes
# checking for ar... ar
# checking malloc.h usability... yes
# checking malloc.h presence... yes
# checking for malloc.h... yes
# checking whether malloc_usable_size definition can use const argument... no
# checking whether __attribute__ syntax is compilable... yes
# checking whether compiler supports -fvisibility=hidden... yes
# checking whether compiler supports -Werror... yes
# checking whether tls_model attribute is compilable... yes
# checking whether compiler supports -Werror... yes
# checking whether alloc_size attribute is compilable... no
# checking whether compiler supports -Werror... yes
# checking whether format(gnu_printf, ...) attribute is compilable... no
# checking whether compiler supports -Werror... yes
# checking whether format(printf, ...) attribute is compilable... yes
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for ranlib... ranlib
# checking for ld... /usr/bin/ld
# checking for autoconf... /usr/bin/autoconf
# checking for memalign... yes
# checking for valloc... yes
# checking configured backtracing method... N/A
# checking for sbrk... yes
# checking whether utrace(2) is compilable... no
# checking whether valgrind is compilable... no
# checking whether a program using __builtin_ffsl is compilable... yes
# checking LG_PAGE... 12
# checking pthread.h usability... yes
# checking pthread.h presence... yes
# checking for pthread.h... yes
# checking for pthread_create in -lpthread... yes
# checking for library containing clock_gettime... none required
# checking for secure_getenv... yes
# checking for issetugid... no
# checking for _malloc_thread_cleanup... no
# checking for _pthread_mutex_init_calloc_cb... no
# checking for TLS... yes
# checking whether C11 atomics is compilable... no
# checking whether atomic(9) is compilable... no
# checking whether Darwin OSAtomic*() is compilable... no
# checking whether madvise(2) is compilable... yes
# checking whether to force 32-bit __sync_{add,sub}_and_fetch()... no
# checking whether to force 64-bit __sync_{add,sub}_and_fetch()... no
# checking for __builtin_clz... yes
# checking whether Darwin OSSpin*() is compilable... no
# checking whether glibc malloc hook is compilable... yes
# checking whether glibc memalign hook is compilable... yes
# checking whether pthreads adaptive mutexes is compilable... yes
# checking for stdbool.h that conforms to C99... yes
# checking for _Bool... yes
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating jemalloc.pc
# config.status: creating doc/html.xsl
# config.status: creating doc/manpages.xsl
# config.status: creating doc/jemalloc.xml
# config.status: creating include/jemalloc/jemalloc_macros.h
# config.status: creating include/jemalloc/jemalloc_protos.h
# config.status: creating include/jemalloc/jemalloc_typedefs.h
# config.status: creating include/jemalloc/internal/jemalloc_internal.h
# config.status: creating test/test.sh
# config.status: creating test/include/test/jemalloc_test.h
# config.status: creating config.stamp
# config.status: creating bin/jemalloc-config
# config.status: creating bin/jemalloc.sh
# config.status: creating bin/jeprof
# config.status: creating include/jemalloc/jemalloc_defs.h
# config.status: creating include/jemalloc/internal/jemalloc_internal_defs.h
# config.status: creating test/include/test/jemalloc_test_defs.h
# config.status: executing include/jemalloc/internal/private_namespace.h commands
# config.status: executing include/jemalloc/internal/private_unnamespace.h commands
# config.status: executing include/jemalloc/internal/public_symbols.txt commands
# config.status: executing include/jemalloc/internal/public_namespace.h commands
# config.status: executing include/jemalloc/internal/public_unnamespace.h commands
# config.status: executing include/jemalloc/internal/size_classes.h commands
# config.status: executing include/jemalloc/jemalloc_protos_jet.h commands
# config.status: executing include/jemalloc/jemalloc_rename.h commands
# config.status: executing include/jemalloc/jemalloc_mangle.h commands
# config.status: executing include/jemalloc/jemalloc_mangle_jet.h commands
# config.status: executing include/jemalloc/jemalloc.h commands
# ===============================================================================
# jemalloc version : 4.0.3-0-ge9192eacf8935e29fc62fddc2701f7942b1cc02c
# library revision : 2
#
# CONFIG : --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence 'CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops ' LDFLAGS= CC=clang CPPFLAGS=
# CC : clang
# CFLAGS : -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden
# CPPFLAGS : -D_GNU_SOURCE -D_REENTRANT
# LDFLAGS :
# EXTRA_LDFLAGS :
# LIBS : -lpthread
# TESTLIBS :
# RPATH_EXTRA :
#
# XSLTPROC : /usr/bin/xsltproc
# XSLROOT :
#
# PREFIX : /usr/local
# BINDIR : /usr/local/bin
# DATADIR : /usr/local/share
# INCLUDEDIR : /usr/local/include
# LIBDIR : /usr/local/lib
# MANDIR : /usr/local/share/man
#
# srcroot :
# abs_srcroot : /tmp/redis/src/redis-3.2.1/deps/jemalloc/
# objroot :
# abs_objroot : /tmp/redis/src/redis-3.2.1/deps/jemalloc/
#
# JEMALLOC_PREFIX : je_
# JEMALLOC_PRIVATE_NAMESPACE
# : je_
# install_suffix :
# autogen : 0
# cc-silence : 1
# debug : 0
# code-coverage : 0
# stats : 1
# prof : 0
# prof-libunwind : 0
# prof-libgcc : 0
# prof-gcc : 0
# tcache : 1
# fill : 1
# utrace : 0
# valgrind : 0
# xmalloc : 0
# munmap : 0
# lazy_lock : 0
# tls : 1
# cache-oblivious : 1
# ===============================================================================
# cd jemalloc && make CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS="" lib/libjemalloc.a
# make[3]: Entering directory '/tmp/redis/src/redis-3.2.1/deps/jemalloc'
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/jemalloc.o src/jemalloc.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/arena.o src/arena.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/atomic.o src/atomic.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/base.o src/base.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/bitmap.o src/bitmap.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/chunk.o src/chunk.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/chunk_dss.o src/chunk_dss.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/chunk_mmap.o src/chunk_mmap.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/ckh.o src/ckh.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/ctl.o src/ctl.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/extent.o src/extent.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/hash.o src/hash.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/huge.o src/huge.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/mb.o src/mb.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/mutex.o src/mutex.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/pages.o src/pages.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/prof.o src/prof.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/quarantine.o src/quarantine.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/rtree.o src/rtree.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/stats.o src/stats.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/tcache.o src/tcache.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/util.o src/util.c
# clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/tsd.o src/tsd.c
# ar crus lib/libjemalloc.a src/jemalloc.o src/arena.o src/atomic.o src/base.o src/bitmap.o src/chunk.o src/chunk_dss.o src/chunk_mmap.o src/ckh.o src/ctl.o src/extent.o src/hash.o src/huge.o src/mb.o src/mutex.o src/pages.o src/prof.o src/quarantine.o src/rtree.o src/stats.o src/tcache.o src/util.o src/tsd.o
# ar: `u' modifier ignored since `D' is the default (see `U')
# make[3]: Leaving directory '/tmp/redis/src/redis-3.2.1/deps/jemalloc'
# make[2]: Leaving directory '/tmp/redis/src/redis-3.2.1/deps'
# CC adlist.o
# CC quicklist.o
# CC ae.o
# In file included from ae.c:53:
# ./ae_epoll.c:75:31: warning: missing field 'data' initializer [-Wmissing-field-initializers]
# struct epoll_event ee = {0}; /* avoid valgrind warning */
# ^
# ./ae_epoll.c:92:31: warning: missing field 'data' initializer [-Wmissing-field-initializers]
# struct epoll_event ee = {0}; /* avoid valgrind warning */
# ^
# 2 warnings generated.
# CC anet.o
# CC dict.o
# CC server.o
# CC sds.o
# CC zmalloc.o
# CC lzf_c.o
# CC lzf_d.o
# CC pqsort.o
# CC zipmap.o
# CC sha1.o
# CC ziplist.o
# CC release.o
# CC networking.o
# CC util.o
# CC object.o
# CC db.o
# CC replication.o
# CC rdb.o
# CC t_string.o
# CC t_list.o
# CC t_set.o
# CC t_zset.o
# CC t_hash.o
# CC config.o
# CC aof.o
# CC pubsub.o
# CC multi.o
# CC debug.o
# CC sort.o
# CC intset.o
# CC syncio.o
# CC cluster.o
# CC crc16.o
# CC endianconv.o
# CC slowlog.o
# CC scripting.o
# CC bio.o
# CC rio.o
# CC rand.o
# CC memtest.o
# CC crc64.o
# CC bitops.o
# CC sentinel.o
# CC notify.o
# CC setproctitle.o
# CC blocked.o
# CC hyperloglog.o
# CC latency.o
# CC sparkline.o
# CC redis-check-rdb.o
# CC geo.o
# LINK redis-server
# INSTALL redis-sentinel
# CC redis-cli.o
# LINK redis-cli
# CC redis-benchmark.o
# LINK redis-benchmark
# INSTALL redis-check-rdb
# CC redis-check-aof.o
# LINK redis-check-aof
#
# Hint: It's a good idea to run 'make test' ;)
#
# make[1]: Leaving directory '/tmp/redis/src/redis-3.2.1/src'
# make: Leaving directory '/tmp/redis/src/redis-3.2.1'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# cd src && make install
# make[1]: Entering directory '/tmp/redis/src/redis-3.2.1/src'
#
# Hint: It's a good idea to run 'make test' ;)
#
# INSTALL install
# INSTALL install
# INSTALL install
# INSTALL install
# INSTALL install
# make[1]: Leaving directory '/tmp/redis/src/redis-3.2.1/src'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "redis"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Adding install file...
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: redis 3.2.1-1 (Thu Apr 13 17:56:17 UTC 2017)

CMD: pacman --query --file redis-3.2.1-1-x86_64.pkg.tar.xz
# redis 3.2.1-1

Creating hybrid package for 'redis'

Trying to find vanilla package 'redis'...

CMD: pacman --query --file /mirror/python2-redis-2.10.5-1.pkg.tar.xz
# python2-redis 2.10.5-1

CMD: pacman --query --file /mirror/python-redis-2.10.5-1.pkg.tar.xz
# python-redis 2.10.5-1

CMD: pacman --query --file /mirror/hiredis-0.13.3-1.pkg.tar.xz
# hiredis 0.13.3-1

CMD: pacman --query --file /mirror/redis-3.2.1-1.pkg.tar.xz
# redis 3.2.1-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.INSTALL
# /.MTREE
# /etc/redis.conf
# /etc/logrotate.d/redis
# /usr/bin/redis-check-rdb
# /usr/bin/redis-benchmark
# /usr/bin/redis-check-aof
# /usr/bin/redis-sentinel
# /usr/bin/redis-server
# /usr/bin/redis-cli
# /usr/share/licenses/redis/LICENSE
# /usr/lib/systemd/system/redis.service
# /sysroot/usr/lib/systemd/system/redis.service

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO .INSTALL etc usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO .INSTALL etc usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO .INSTALL etc usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf redis.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/redis.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/redis.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 3325

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/redis.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 437

Attempting to access local repository, attempt 3

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/redis.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/redis.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/redis/src/redis-3.2.1/deps/jemalloc/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by configure, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops LDFLAGS=
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 8ae543fa2222
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2540: checking for xsltproc
# configure:2558: found /usr/bin/xsltproc
# configure:2571: result: /usr/bin/xsltproc
# configure:2652: checking for gcc
# configure:2679: result: clang
# configure:2908: checking for C compiler version
# configure:2917: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:2928: $? = 0
# configure:2917: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# ... rest of stderr output deleted ...
# configure:2928: $? = 0
# configure:2917: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2928: $? = 1
# configure:2917: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2928: $? = 1
# configure:2948: checking whether the C compiler works
# configure:2970: clang -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:2974: $? = 0
# configure:3022: result: yes
# configure:3025: checking for C compiler default output file name
# configure:3027: result: a.out
# configure:3033: checking for suffix of executables
# configure:3040: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:3044: $? = 0
# configure:3066: result:
# configure:3088: checking whether we are cross compiling
# configure:3096: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:3100: $? = 0
# configure:3107: ./conftest
# configure:3111: $? = 0
# configure:3126: result: no
# configure:3131: checking for suffix of object files
# configure:3153: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:3157: $? = 0
# configure:3178: result: o
# configure:3182: checking whether we are using the GNU C compiler
# configure:3201: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:3201: $? = 0
# configure:3210: result: yes
# configure:3219: checking whether clang accepts -g
# configure:3239: clang -c -g conftest.c >&5
# configure:3239: $? = 0
# configure:3280: result: yes
# configure:3297: checking for clang option to accept ISO C89
# configure:3360: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:3360: $? = 0
# configure:3373: result: none needed
# configure:3807: checking how to run the C preprocessor
# configure:3838: clang -E conftest.c
# configure:3838: $? = 0
# configure:3852: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3852: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3877: result: clang -E
# configure:3897: clang -E conftest.c
# configure:3897: $? = 0
# configure:3911: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3911: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3941: checking for grep that handles long lines and -e
# configure:3999: result: /usr/bin/grep
# configure:4004: checking for egrep
# configure:4066: result: /usr/bin/grep -E
# configure:4071: checking for ANSI C header files
# configure:4091: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4091: $? = 0
# configure:4164: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4164: $? = 0
# configure:4164: ./conftest
# configure:4164: $? = 0
# configure:4175: result: yes
# configure:4188: checking for sys/types.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4188: checking for sys/stat.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4188: checking for stdlib.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4188: checking for string.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4188: checking for memory.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4188: checking for strings.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4188: checking for inttypes.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4188: checking for stdint.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4188: checking for unistd.h
# configure:4188: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4188: $? = 0
# configure:4188: result: yes
# configure:4200: checking whether byte ordering is bigendian
# configure:4215: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# conftest.c:20:9: error: unknown type name 'not'
# not a universal capable compiler
# ^
# conftest.c:20:14: error: expected ';' after top level declarator
# not a universal capable compiler
# ^
# ;
# 2 errors generated.
# configure:4215: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | #ifndef __APPLE_CC__
# | not a universal capable compiler
# | #endif
# | typedef int dummy;
# |
# configure:4260: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4260: $? = 0
# configure:4278: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# conftest.c:26:4: error: use of undeclared identifier 'not'
# not big endian
# ^
# 1 error generated.
# configure:4278: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | /* end confdefs.h. */
# | #include
# | #include
# |
# | int
# | main ()
# | {
# | #if BYTE_ORDER != BIG_ENDIAN
# | not big endian
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:4406: result: no
# configure:4438: checking size of void *
# configure:4443: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4443: $? = 0
# configure:4443: ./conftest
# configure:4443: $? = 0
# configure:4457: result: 8
# configure:4483: checking size of int
# configure:4488: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4488: $? = 0
# configure:4488: ./conftest
# configure:4488: $? = 0
# configure:4502: result: 4
# configure:4528: checking size of long
# configure:4533: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4533: $? = 0
# configure:4533: ./conftest
# configure:4533: $? = 0
# configure:4547: result: 8
# configure:4573: checking size of intmax_t
# configure:4578: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4578: $? = 0
# configure:4578: ./conftest
# configure:4578: $? = 0
# configure:4592: result: 8
# configure:4649: checking build system type
# configure:4663: result: x86_64-unknown-linux-gnu
# configure:4683: checking host system type
# configure:4696: result: x86_64-unknown-linux-gnu
# configure:4723: checking whether pause instruction is compilable
# configure:4739: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
# configure:4739: $? = 0
# configure:4747: result: yes
# configure:4834: checking for ar
# configure:4850: found /usr/bin/ar
# configure:4861: result: ar
# configure:5024: checking malloc.h usability
# configure:5024: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
# configure:5024: $? = 0
# configure:5024: result: yes
# configure:5024: checking malloc.h presence
# configure:5024: clang -E -D_GNU_SOURCE conftest.c
# configure:5024: $? = 0
# configure:5024: result: yes
# configure:5024: checking for malloc.h
# configure:5024: result: yes
# configure:5030: checking whether malloc_usable_size definition can use const argument
# configure:5046: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
# conftest.c:35:12: error: conflicting types for 'malloc_usable_size'
# size_t malloc_usable_size(const void *ptr);
# ^
# /usr/include/malloc.h:129:15: note: previous declaration is here
# extern size_t malloc_usable_size (void *__ptr) __THROW;
# ^
# 1 error generated.
# configure:5046: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | /* end confdefs.h. */
# | #include
# | #include
# | size_t malloc_usable_size(const void *ptr);
# |
# | int
# | main ()
# | {
# |
# | ;
# | return 0;
# | }
# configure:5054: result: no
# configure:5089: checking whether __attribute__ syntax is compilable
# configure:5105: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
# configure:5105: $? = 0
# configure:5113: result: yes
# configure:5121: checking whether compiler supports -fvisibility=hidden
# configure:5143: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# configure:5143: $? = 0
# configure:5145: result: yes
# configure:5160: checking whether compiler supports -Werror
# configure:5182: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -Werror -D_GNU_SOURCE conftest.c >&5
# configure:5182: $? = 0
# configure:5184: result: yes
# configure:5196: checking whether tls_model attribute is compilable
# configure:5214: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -Werror -D_GNU_SOURCE conftest.c >&5
# configure:5214: $? = 0
# configure:5222: result: yes
# configure:5235: checking whether compiler supports -Werror
# configure:5257: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -Werror -D_GNU_SOURCE conftest.c >&5
# configure:5257: $? = 0
# configure:5259: result: yes
# configure:5271: checking whether alloc_size attribute is compilable
# configure:5287: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -Werror -D_GNU_SOURCE conftest.c >&5
# conftest.c:40:39: error: unknown attribute 'alloc_size' ignored [-Werror,-Wunknown-attributes]
# void *foo(size_t size) __attribute__((alloc_size(1)));
# ^
# 1 error generated.
# configure:5287: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | /* end confdefs.h. */
# | #include
# | int
# | main ()
# | {
# | void *foo(size_t size) __attribute__((alloc_size(1)));
# | ;
# | return 0;
# | }
# configure:5295: result: no
# configure:5305: checking whether compiler supports -Werror
# configure:5327: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -Werror -D_GNU_SOURCE conftest.c >&5
# configure:5327: $? = 0
# configure:5329: result: yes
# configure:5341: checking whether format(gnu_printf, ...) attribute is compilable
# configure:5357: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -Werror -D_GNU_SOURCE conftest.c >&5
# conftest.c:40:51: error: 'format' attribute argument not supported: gnu_printf [-Werror,-Wignored-attributes]
# void *foo(const char *format, ...) __attribute__((format(gnu_printf, 1, 2)));
# ^
# 1 error generated.
# configure:5357: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | /* end confdefs.h. */
# | #include
# | int
# | main ()
# | {
# | void *foo(const char *format, ...) __attribute__((format(gnu_printf, 1, 2)));
# | ;
# | return 0;
# | }
# configure:5365: result: no
# configure:5375: checking whether compiler supports -Werror
# configure:5397: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -Werror -D_GNU_SOURCE conftest.c >&5
# configure:5397: $? = 0
# configure:5399: result: yes
# configure:5411: checking whether format(printf, ...) attribute is compilable
# configure:5427: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -Werror -D_GNU_SOURCE conftest.c >&5
# configure:5427: $? = 0
# configure:5435: result: yes
# configure:5488: checking for a BSD-compatible install
# configure:5556: result: /usr/bin/install -c
# configure:5610: checking for ranlib
# configure:5626: found /usr/bin/ranlib
# configure:5637: result: ranlib
# configure:5661: checking for ld
# configure:5679: found /usr/bin/ld
# configure:5692: result: /usr/bin/ld
# configure:5702: checking for autoconf
# configure:5720: found /usr/bin/autoconf
# configure:5733: result: /usr/bin/autoconf
# configure:5744: checking for memalign
# configure:5744: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# configure:5744: $? = 0
# configure:5744: result: yes
# configure:5751: checking for valloc
# configure:5751: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# configure:5751: $? = 0
# configure:5751: result: yes
# configure:6493: checking configured backtracing method
# configure:6495: result: N/A
# configure:6551: checking for sbrk
# configure:6551: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# configure:6551: $? = 0
# configure:6551: result: yes
# configure:6606: checking whether utrace(2) is compilable
# configure:6630: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# conftest.c:53:10: fatal error: 'sys/ktrace.h' file not found
# #include
# ^
# 1 error generated.
# configure:6630: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | /* end confdefs.h. */
# |
# | #include
# | #include
# | #include
# | #include
# | #include
# |
# | int
# | main ()
# | {
# |
# | utrace((void *)0, 0);
# |
# | ;
# | return 0;
# | }
# configure:6638: result: no
# configure:6665: checking whether valgrind is compilable
# configure:6688: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# conftest.c:49:10: fatal error: 'valgrind/valgrind.h' file not found
# #include
# ^
# 1 error generated.
# configure:6688: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | /* end confdefs.h. */
# |
# | #include
# | #include
# |
# | #if !defined(VALGRIND_RESIZEINPLACE_BLOCK)
# | # error "Incompatible Valgrind version"
# | #endif
# |
# | int
# | main ()
# | {
# |
# | ;
# | return 0;
# | }
# configure:6696: result: no
# configure:6748: checking whether a program using __builtin_ffsl is compilable
# configure:6773: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# configure:6773: $? = 0
# configure:6781: result: yes
# configure:6874: checking LG_PAGE
# configure:6925: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# configure:6925: $? = 0
# configure:6925: ./conftest
# configure:6925: $? = 0
# configure:6935: result: 12
# configure:6994: checking pthread.h usability
# configure:6994: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
# configure:6994: $? = 0
# configure:6994: result: yes
# configure:6994: checking pthread.h presence
# configure:6994: clang -E -D_GNU_SOURCE conftest.c
# configure:6994: $? = 0
# configure:6994: result: yes
# configure:6994: checking for pthread.h
# configure:6994: result: yes
# configure:7006: checking for pthread_create in -lpthread
# configure:7031: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE conftest.c -lpthread >&5
# configure:7031: $? = 0
# configure:7040: result: yes
# configure:7111: checking for library containing clock_gettime
# configure:7142: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
# configure:7142: $? = 0
# configure:7159: result: none required
# configure:7170: checking for secure_getenv
# configure:7170: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# configure:7170: $? = 0
# configure:7170: result: yes
# configure:7183: checking for issetugid
# configure:7183: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# /tmp/conftest-c80af1.o: In function `main':
# /tmp/redis/src/redis-3.2.1/deps/jemalloc/conftest.c:90: undefined reference to `issetugid'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7183: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | /* end confdefs.h. */
# | /* Define issetugid to an innocuous variant, in case declares issetugid.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define issetugid innocuous_issetugid
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char issetugid (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef issetugid
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char issetugid ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_issetugid || defined __stub___issetugid
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return issetugid ();
# | ;
# | return 0;
# | }
# configure:7183: result: no
# configure:7196: checking for _malloc_thread_cleanup
# configure:7196: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# /tmp/conftest-357100.o: In function `main':
# /tmp/redis/src/redis-3.2.1/deps/jemalloc/conftest.c:90: undefined reference to `_malloc_thread_cleanup'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7196: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | /* end confdefs.h. */
# | /* Define _malloc_thread_cleanup to an innocuous variant, in case declares _malloc_thread_cleanup.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define _malloc_thread_cleanup innocuous__malloc_thread_cleanup
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char _malloc_thread_cleanup (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef _malloc_thread_cleanup
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char _malloc_thread_cleanup ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub__malloc_thread_cleanup || defined __stub____malloc_thread_cleanup
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return _malloc_thread_cleanup ();
# | ;
# | return 0;
# | }
# configure:7196: result: no
# configure:7210: checking for _pthread_mutex_init_calloc_cb
# configure:7210: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# /tmp/conftest-fbf4cc.o: In function `main':
# /tmp/redis/src/redis-3.2.1/deps/jemalloc/conftest.c:90: undefined reference to `_pthread_mutex_init_calloc_cb'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:7210: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | /* end confdefs.h. */
# | /* Define _pthread_mutex_init_calloc_cb to an innocuous variant, in case declares _pthread_mutex_init_calloc_cb.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define _pthread_mutex_init_calloc_cb innocuous__pthread_mutex_init_calloc_cb
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char _pthread_mutex_init_calloc_cb (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef _pthread_mutex_init_calloc_cb
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char _pthread_mutex_init_calloc_cb ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub__pthread_mutex_init_calloc_cb || defined __stub____pthread_mutex_init_calloc_cb
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return _pthread_mutex_init_calloc_cb ();
# | ;
# | return 0;
# | }
# configure:7210: result: no
# configure:7341: checking for TLS
# configure:7360: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
# configure:7360: $? = 0
# configure:7361: result: yes
# configure:7389: checking whether C11 atomics is compilable
# configure:7418: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# conftest.c:62:2: error: Atomics not available
# #error Atomics not available
# ^
# conftest.c:71:14: error: unknown type name 'atomic_uint_least64_t'; did you mean 'uint_least64_t'?
# volatile atomic_uint_least64_t *a = (volatile atomic_uint_least64_t *)p;
# ^~~~~~~~~~~~~~~~~~~~~
# uint_least64_t
# /usr/include/stdint.h:80:27: note: 'uint_least64_t' declared here
# typedef unsigned long int uint_least64_t;
# ^
# conftest.c:71:51: error: unknown type name 'atomic_uint_least64_t'; did you mean 'uint_least64_t'?
# volatile atomic_uint_least64_t *a = (volatile atomic_uint_least64_t *)p;
# ^~~~~~~~~~~~~~~~~~~~~
# uint_least64_t
# /usr/include/stdint.h:80:27: note: 'uint_least64_t' declared here
# typedef unsigned long int uint_least64_t;
# ^
# conftest.c:72:18: warning: implicit declaration of function 'atomic_fetch_add' is invalid in C99 [-Wimplicit-function-declaration]
# uint64_t r = atomic_fetch_add(a, x) + x;
# ^
# 1 warning and 3 errors generated.
# configure:7418: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | #define JEMALLOC_TLS
# | /* end confdefs.h. */
# |
# | #include
# | #if (__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_ATOMICS__)
# | #include
# | #else
# | #error Atomics not available
# | #endif
# |
# | int
# | main ()
# | {
# |
# | uint64_t *p = (uint64_t *)0;
# | uint64_t x = 1;
# | volatile atomic_uint_least64_t *a = (volatile atomic_uint_least64_t *)p;
# | uint64_t r = atomic_fetch_add(a, x) + x;
# | return (r == 0);
# |
# | ;
# | return 0;
# | }
# configure:7426: result: no
# configure:7436: checking whether atomic(9) is compilable
# configure:7467: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# conftest.c:59:10: fatal error: 'machine/atomic.h' file not found
# #include
# ^
# 1 error generated.
# configure:7467: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | #define JEMALLOC_TLS
# | /* end confdefs.h. */
# |
# | #include
# | #include
# | #include
# |
# | int
# | main ()
# | {
# |
# | {
# | uint32_t x32 = 0;
# | volatile uint32_t *x32p = &x32;
# | atomic_fetchadd_32(x32p, 1);
# | }
# | {
# | unsigned long xlong = 0;
# | volatile unsigned long *xlongp = &xlong;
# | atomic_fetchadd_long(xlongp, 1);
# | }
# |
# | ;
# | return 0;
# | }
# configure:7475: result: no
# configure:7485: checking whether Darwin OSAtomic*() is compilable
# configure:7515: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# conftest.c:58:10: fatal error: 'libkern/OSAtomic.h' file not found
# #include
# ^
# 1 error generated.
# configure:7515: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | #define JEMALLOC_TLS
# | /* end confdefs.h. */
# |
# | #include
# | #include
# |
# | int
# | main ()
# | {
# |
# | {
# | int32_t x32 = 0;
# | volatile int32_t *x32p = &x32;
# | OSAtomicAdd32(1, x32p);
# | }
# | {
# | int64_t x64 = 0;
# | volatile int64_t *x64p = &x64;
# | OSAtomicAdd64(1, x64p);
# | }
# |
# | ;
# | return 0;
# | }
# configure:7523: result: no
# configure:7533: checking whether madvise(2) is compilable
# configure:7555: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# configure:7555: $? = 0
# configure:7563: result: yes
# configure:7576: checking whether to force 32-bit __sync_{add,sub}_and_fetch()
# configure:7604: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# conftest.c:72:51: error: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 is defined, no need to force
# #error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 is defined, no need to force
# ^
# 1 error generated.
# configure:7604: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | #define JEMALLOC_TLS
# | #define JEMALLOC_HAVE_MADVISE
# | /* end confdefs.h. */
# |
# | #include
# |
# | int
# | main ()
# | {
# |
# | #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
# | {
# | uint32_t x32 = 0;
# | __sync_add_and_fetch(&x32, 42);
# | __sync_sub_and_fetch(&x32, 1);
# | }
# | #else
# | #error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 is defined, no need to force
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:7612: result: no
# configure:7621: checking whether to force 64-bit __sync_{add,sub}_and_fetch()
# configure:7649: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# conftest.c:72:51: error: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 is defined, no need to force
# #error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 is defined, no need to force
# ^
# 1 error generated.
# configure:7649: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | #define JEMALLOC_TLS
# | #define JEMALLOC_HAVE_MADVISE
# | /* end confdefs.h. */
# |
# | #include
# |
# | int
# | main ()
# | {
# |
# | #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
# | {
# | uint64_t x64 = 0;
# | __sync_add_and_fetch(&x64, 42);
# | __sync_sub_and_fetch(&x64, 1);
# | }
# | #else
# | #error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 is defined, no need to force
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:7657: result: no
# configure:7668: checking for __builtin_clz
# configure:7693: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# conftest.c:65:61: warning: unused variable 'y' [-Wunused-variable]
# int y = __builtin_clz(x);
# ^
# conftest.c:69:61: warning: unused variable 'y' [-Wunused-variable]
# int y = __builtin_clzl(x);
# ^
# 2 warnings generated.
# configure:7693: $? = 0
# configure:7701: result: yes
# configure:7711: checking whether Darwin OSSpin*() is compilable
# configure:7734: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# conftest.c:60:10: fatal error: 'libkern/OSAtomic.h' file not found
# #include
# ^
# 1 error generated.
# configure:7734: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | #define JEMALLOC_TLS
# | #define JEMALLOC_HAVE_MADVISE
# | #define JEMALLOC_HAVE_BUILTIN_CLZ
# | /* end confdefs.h. */
# |
# | #include
# | #include
# |
# | int
# | main ()
# | {
# |
# | OSSpinLock lock = 0;
# | OSSpinLockLock(&lock);
# | OSSpinLockUnlock(&lock);
# |
# | ;
# | return 0;
# | }
# configure:7742: result: no
# configure:7929: checking whether glibc malloc hook is compilable
# configure:7956: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# configure:7956: $? = 0
# configure:7964: result: yes
# configure:7973: checking whether glibc memalign hook is compilable
# configure:7996: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# configure:7996: $? = 0
# configure:8004: result: yes
# configure:8013: checking whether pthreads adaptive mutexes is compilable
# configure:8036: clang -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c -lpthread >&5
# configure:8036: $? = 0
# configure:8044: result: yes
# configure:8052: checking for stdbool.h that conforms to C99
# configure:8119: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
# conftest.c:111:24: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion]
# bool e = &s;
# ~ ^
# conftest.c:115:23: warning: address of array 'a' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
# ~^
# conftest.c:115:28: warning: address of array 'b' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
# ~^
# conftest.c:115:33: warning: address of array 'c' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
# ~^
# conftest.c:115:38: warning: address of array 'd' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
# ~^
# conftest.c:115:48: warning: address of array 'f' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
# ~^
# conftest.c:115:53: warning: address of array 'g' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
# ~^
# conftest.c:115:58: warning: address of array 'h' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
# ~^
# conftest.c:115:63: warning: address of array 'i' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
# ~^
# conftest.c:116:30: warning: address of array 'n' will always evaluate to 'true' [-Wpointer-bool-conversion]
# ~^
# conftest.c:116:35: warning: address of array 'o' will always evaluate to 'true' [-Wpointer-bool-conversion]
# ~^
# conftest.c:116:40: warning: address of array 'p' will always evaluate to 'true' [-Wpointer-bool-conversion]
# ~^
# 12 warnings generated.
# configure:8119: $? = 0
# configure:8126: result: yes
# configure:8128: checking for _Bool
# configure:8128: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
# configure:8128: $? = 0
# configure:8128: clang -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
# conftest.c:98:20: error: expected expression
# if (sizeof ((_Bool)))
# ^
# 1 error generated.
# configure:8128: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define SIZEOF_VOID_P 8
# | #define LG_SIZEOF_PTR 3
# | #define SIZEOF_INT 4
# | #define LG_SIZEOF_INT 2
# | #define SIZEOF_LONG 8
# | #define LG_SIZEOF_LONG 3
# | #define SIZEOF_INTMAX_T 8
# | #define LG_SIZEOF_INTMAX_T 3
# | #define CPU_SPINWAIT __asm__ volatile("pause")
# | #define JEMALLOC_HAS_ALLOCA_H 1
# | #define JEMALLOC_PURGE_MADVISE_DONTNEED
# | #define JEMALLOC_THREADED_INIT
# | #define JEMALLOC_USE_CXX_THROW
# | #define HAVE_MALLOC_H 1
# | #define JEMALLOC_USABLE_SIZE_CONST
# | #define JEMALLOC_HAVE_ATTR
# | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# | #define JEMALLOC_OVERRIDE_MEMALIGN
# | #define JEMALLOC_OVERRIDE_VALLOC
# | #define JEMALLOC_PREFIX "je_"
# | #define JEMALLOC_CPREFIX "JE_"
# | #define JEMALLOC_PRIVATE_NAMESPACE je_
# | #define JEMALLOC_CC_SILENCE
# | #define JEMALLOC_STATS
# | #define JEMALLOC_TCACHE
# | #define JEMALLOC_MAPS_COALESCE
# | #define JEMALLOC_DSS
# | #define JEMALLOC_FILL
# | #define JEMALLOC_CACHE_OBLIVIOUS
# | #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# | #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# | #define LG_TINY_MIN 3
# | #define LG_QUANTUM 3
# | #define LG_PAGE 12
# | #define HAVE_PTHREAD_H 1
# | #define JEMALLOC_HAVE_SECURE_GETENV
# | #define JEMALLOC_TLS
# | #define JEMALLOC_HAVE_MADVISE
# | #define JEMALLOC_HAVE_BUILTIN_CLZ
# | #define JEMALLOC_GLIBC_MALLOC_HOOK
# | #define JEMALLOC_GLIBC_MEMALIGN_HOOK
# | #define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | if (sizeof ((_Bool)))
# | return 0;
# | ;
# | return 0;
# | }
# configure:8128: result: yes
# configure:8295: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 8ae543fa2222
#
# config.status:1009: creating Makefile
# config.status:1009: creating jemalloc.pc
# config.status:1009: creating doc/html.xsl
# config.status:1009: creating doc/manpages.xsl
# config.status:1009: creating doc/jemalloc.xml
# config.status:1009: creating include/jemalloc/jemalloc_macros.h
# config.status:1009: creating include/jemalloc/jemalloc_protos.h
# config.status:1009: creating include/jemalloc/jemalloc_typedefs.h
# config.status:1009: creating include/jemalloc/internal/jemalloc_internal.h
# config.status:1009: creating test/test.sh
# config.status:1009: creating test/include/test/jemalloc_test.h
# config.status:1009: creating config.stamp
# config.status:1009: creating bin/jemalloc-config
# config.status:1009: creating bin/jemalloc.sh
# config.status:1009: creating bin/jeprof
# config.status:1009: creating include/jemalloc/jemalloc_defs.h
# config.status:1009: creating include/jemalloc/internal/jemalloc_internal_defs.h
# config.status:1009: creating test/include/test/jemalloc_test_defs.h
# config.status:1198: executing include/jemalloc/internal/private_namespace.h commands
# config.status:1198: executing include/jemalloc/internal/private_unnamespace.h commands
# config.status:1198: executing include/jemalloc/internal/public_symbols.txt commands
# config.status:1198: executing include/jemalloc/internal/public_namespace.h commands
# config.status:1198: executing include/jemalloc/internal/public_unnamespace.h commands
# config.status:1198: executing include/jemalloc/internal/size_classes.h commands
# config.status:1198: executing include/jemalloc/jemalloc_protos_jet.h commands
# config.status:1198: executing include/jemalloc/jemalloc_rename.h commands
# config.status:1198: executing include/jemalloc/jemalloc_mangle.h commands
# config.status:1198: executing include/jemalloc/jemalloc_mangle_jet.h commands
# config.status:1198: executing include/jemalloc/jemalloc.h commands
# configure:9599: result: ===============================================================================
# configure:9601: result: jemalloc version : 4.0.3-0-ge9192eacf8935e29fc62fddc2701f7942b1cc02c
# configure:9603: result: library revision : 2
# configure:9605: result:
# configure:9607: result: CONFIG : --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence 'CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops ' LDFLAGS= CC=clang CPPFLAGS=
# configure:9609: result: CC : clang
# configure:9611: result: CFLAGS : -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden
# configure:9613: result: CPPFLAGS : -D_GNU_SOURCE -D_REENTRANT
# configure:9615: result: LDFLAGS :
# configure:9617: result: EXTRA_LDFLAGS :
# configure:9619: result: LIBS : -lpthread
# configure:9621: result: TESTLIBS :
# configure:9623: result: RPATH_EXTRA :
# configure:9625: result:
# configure:9627: result: XSLTPROC : /usr/bin/xsltproc
# configure:9629: result: XSLROOT :
# configure:9631: result:
# configure:9633: result: PREFIX : /usr/local
# configure:9635: result: BINDIR : /usr/local/bin
# configure:9637: result: DATADIR : /usr/local/share
# configure:9639: result: INCLUDEDIR : /usr/local/include
# configure:9641: result: LIBDIR : /usr/local/lib
# configure:9643: result: MANDIR : /usr/local/share/man
# configure:9645: result:
# configure:9647: result: srcroot :
# configure:9649: result: abs_srcroot : /tmp/redis/src/redis-3.2.1/deps/jemalloc/
# configure:9651: result: objroot :
# configure:9653: result: abs_objroot : /tmp/redis/src/redis-3.2.1/deps/jemalloc/
# configure:9655: result:
# configure:9657: result: JEMALLOC_PREFIX : je_
# configure:9659: result: JEMALLOC_PRIVATE_NAMESPACE
# configure:9661: result: : je_
# configure:9663: result: install_suffix :
# configure:9665: result: autogen : 0
# configure:9667: result: cc-silence : 1
# configure:9669: result: debug : 0
# configure:9671: result: code-coverage : 0
# configure:9673: result: stats : 1
# configure:9675: result: prof : 0
# configure:9677: result: prof-libunwind : 0
# configure:9679: result: prof-libgcc : 0
# configure:9681: result: prof-gcc : 0
# configure:9683: result: tcache : 1
# configure:9685: result: fill : 1
# configure:9687: result: utrace : 0
# configure:9689: result: valgrind : 0
# configure:9691: result: xmalloc : 0
# configure:9693: result: munmap : 0
# configure:9695: result: lazy_lock : 0
# configure:9697: result: tls : 1
# configure:9699: result: cache-oblivious : 1
# configure:9701: result: ===============================================================================
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_big_endian=0
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_bigendian=no
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value='-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops '
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func__malloc_thread_cleanup=no
# ac_cv_func__pthread_mutex_init_calloc_cb=no
# ac_cv_func_issetugid=no
# ac_cv_func_memalign=yes
# ac_cv_func_sbrk=yes
# ac_cv_func_secure_getenv=yes
# ac_cv_func_valloc=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_malloc_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_pthread_h=yes
# ac_cv_header_stdbool_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_lib_pthread_pthread_create=yes
# ac_cv_objext=o
# ac_cv_path_AUTOCONF=/usr/bin/autoconf
# ac_cv_path_EGREP='/usr/bin/grep -E'
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_path_LD=/usr/bin/ld
# ac_cv_path_XSLTPROC=/usr/bin/xsltproc
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_CC=clang
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_search_clock_gettime='none required'
# ac_cv_sizeof_int=4
# ac_cv_sizeof_intmax_t=8
# ac_cv_sizeof_long=8
# ac_cv_sizeof_void_p=8
# ac_cv_type__Bool=yes
# je_cv_alloc_size=no
# je_cv_atomic9=no
# je_cv_attribute=yes
# je_cv_builtin_clz=yes
# je_cv_c11atomics=no
# je_cv_cflags_appended=-Werror
# je_cv_format_gnu_printf=no
# je_cv_format_printf=yes
# je_cv_gcc_builtin_ffsl=yes
# je_cv_glibc_malloc_hook=yes
# je_cv_glibc_memalign_hook=yes
# je_cv_lg_page=12
# je_cv_madvise=yes
# je_cv_osatomic=no
# je_cv_osspin=no
# je_cv_pause=yes
# je_cv_pthread_mutex_adaptive_np=yes
# je_cv_sync_compare_and_swap_4=no
# je_cv_sync_compare_and_swap_8=no
# je_cv_tls_model=yes
# je_cv_utrace=no
# je_cv_valgrind=no
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR='ar'
# ARFLAGS='crus'
# AROUT=' $@'
# AUTOCONF='/usr/bin/autoconf'
# BINDIR='/usr/local/bin'
# CC='clang'
# CC_MM='1'
# CFLAGS='-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -fvisibility=hidden'
# CONFIG='--with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence '\''CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops '\'' LDFLAGS= CC=clang CPPFLAGS='
# CPP='clang -E'
# CPPFLAGS=' -D_GNU_SOURCE -D_REENTRANT'
# CTARGET='-o $@'
# DATADIR='/usr/local/share'
# DEFS='-DHAVE_CONFIG_H'
# DSO_LDFLAGS='-shared -Wl,-soname,$(@F)'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# EXTRA_LDFLAGS=''
# GREP='/usr/bin/grep'
# INCLUDEDIR='/usr/local/include'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# JEMALLOC_CPREFIX='JE_'
# LD='/usr/bin/ld'
# LDFLAGS=''
# LDTARGET='-o $@'
# LD_PRELOAD_VAR='LD_PRELOAD'
# LIBDIR='/usr/local/lib'
# LIBOBJS=''
# LIBS=' -lpthread'
# LTLIBOBJS=''
# MANDIR='/usr/local/share/man'
# MKLIB=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# PIC_CFLAGS='-fPIC -DPIC'
# PREFIX='/usr/local'
# RANLIB='ranlib'
# RPATH='-Wl,-rpath,$(1)'
# RPATH_EXTRA=''
# SHELL='/bin/sh'
# SOREV='so.2'
# TESTLIBS=''
# XSLROOT=''
# XSLTPROC='/usr/bin/xsltproc'
# a='a'
# abi='elf'
# abs_objroot='/tmp/redis/src/redis-3.2.1/deps/jemalloc/'
# abs_srcroot='/tmp/redis/src/redis-3.2.1/deps/jemalloc/'
# ac_ct_CC='clang'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# cfghdrs_in='include/jemalloc/jemalloc_defs.h.in include/jemalloc/internal/jemalloc_internal_defs.h.in include/jemalloc/internal/private_namespace.sh include/jemalloc/internal/private_unnamespace.sh include/jemalloc/internal/private_symbols.txt include/jemalloc/internal/public_namespace.sh include/jemalloc/internal/public_unnamespace.sh include/jemalloc/internal/size_classes.sh include/jemalloc/jemalloc_rename.sh include/jemalloc/jemalloc_mangle.sh include/jemalloc/jemalloc.sh test/include/test/jemalloc_test_defs.h.in'
# cfghdrs_out='include/jemalloc/jemalloc_defs.h include/jemalloc/jemalloc.h include/jemalloc/internal/private_namespace.h include/jemalloc/internal/private_unnamespace.h include/jemalloc/internal/public_symbols.txt include/jemalloc/internal/public_namespace.h include/jemalloc/internal/public_unnamespace.h include/jemalloc/internal/size_classes.h include/jemalloc/jemalloc_protos_jet.h include/jemalloc/jemalloc_rename.h include/jemalloc/jemalloc_mangle.h include/jemalloc/jemalloc_mangle_jet.h include/jemalloc/internal/jemalloc_internal_defs.h test/include/test/jemalloc_test_defs.h'
# cfgoutputs_in='Makefile.in jemalloc.pc.in doc/html.xsl.in doc/manpages.xsl.in doc/jemalloc.xml.in include/jemalloc/jemalloc_macros.h.in include/jemalloc/jemalloc_protos.h.in include/jemalloc/jemalloc_typedefs.h.in include/jemalloc/internal/jemalloc_internal.h.in test/test.sh.in test/include/test/jemalloc_test.h.in'
# cfgoutputs_out='Makefile jemalloc.pc doc/html.xsl doc/manpages.xsl doc/jemalloc.xml include/jemalloc/jemalloc_macros.h include/jemalloc/jemalloc_protos.h include/jemalloc/jemalloc_typedefs.h include/jemalloc/internal/jemalloc_internal.h test/test.sh test/include/test/jemalloc_test.h'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# enable_autogen='0'
# enable_cache_oblivious='1'
# enable_code_coverage='0'
# enable_debug='0'
# enable_fill='1'
# enable_lazy_lock='0'
# enable_munmap='0'
# enable_prof='0'
# enable_stats='1'
# enable_tcache='1'
# enable_tls='1'
# enable_utrace='0'
# enable_valgrind='0'
# enable_xmalloc='0'
# enable_zone_allocator=''
# exe=''
# exec_prefix='/usr/local'
# host='x86_64-unknown-linux-gnu'
# host_alias=''
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# importlib='so'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_suffix=''
# je_='je_'
# jemalloc_version='4.0.3-0-ge9192eacf8935e29fc62fddc2701f7942b1cc02c'
# jemalloc_version_bugfix='3'
# jemalloc_version_gid='e9192eacf8935e29fc62fddc2701f7942b1cc02c'
# jemalloc_version_major='4'
# jemalloc_version_minor='0'
# jemalloc_version_nrev='0'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# libprefix='lib'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# o='o'
# objroot=''
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr/local'
# private_namespace='je_'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# rev='2'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# so='so'
# srcroot=''
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define SIZEOF_VOID_P 8
# #define LG_SIZEOF_PTR 3
# #define SIZEOF_INT 4
# #define LG_SIZEOF_INT 2
# #define SIZEOF_LONG 8
# #define LG_SIZEOF_LONG 3
# #define SIZEOF_INTMAX_T 8
# #define LG_SIZEOF_INTMAX_T 3
# #define CPU_SPINWAIT __asm__ volatile("pause")
# #define JEMALLOC_HAS_ALLOCA_H 1
# #define JEMALLOC_PURGE_MADVISE_DONTNEED
# #define JEMALLOC_THREADED_INIT
# #define JEMALLOC_USE_CXX_THROW
# #define HAVE_MALLOC_H 1
# #define JEMALLOC_USABLE_SIZE_CONST
# #define JEMALLOC_HAVE_ATTR
# #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
# #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
# #define JEMALLOC_OVERRIDE_MEMALIGN
# #define JEMALLOC_OVERRIDE_VALLOC
# #define JEMALLOC_PREFIX "je_"
# #define JEMALLOC_CPREFIX "JE_"
# #define JEMALLOC_PRIVATE_NAMESPACE je_
# #define JEMALLOC_CC_SILENCE
# #define JEMALLOC_STATS
# #define JEMALLOC_TCACHE
# #define JEMALLOC_MAPS_COALESCE
# #define JEMALLOC_DSS
# #define JEMALLOC_FILL
# #define JEMALLOC_CACHE_OBLIVIOUS
# #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
# #define JEMALLOC_INTERNAL_FFS __builtin_ffs
# #define LG_TINY_MIN 3
# #define LG_QUANTUM 3
# #define LG_PAGE 12
# #define HAVE_PTHREAD_H 1
# #define JEMALLOC_HAVE_SECURE_GETENV
# #define JEMALLOC_TLS
# #define JEMALLOC_HAVE_MADVISE
# #define JEMALLOC_HAVE_BUILTIN_CLZ
# #define JEMALLOC_GLIBC_MALLOC_HOOK
# #define JEMALLOC_GLIBC_MEMALIGN_HOOK
# #define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
# #define HAVE__BOOL 1
# #define HAVE_STDBOOL_H 1
#
# configure: exit 0