%PDF- %PDF-
| Direktori : /proc/3/task/3/root/usr/src/redis-stable/deps/jemalloc/ |
| Current File : //proc/3/task/3/root/usr/src/redis-stable/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-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops LDFLAGS=
## --------- ##
## Platform. ##
## --------- ##
hostname = server.optisoft.com.ng
uname -m = x86_64
uname -r = 3.10.0
uname -s = Linux
uname -v = #1 SMP Wed May 15 09:45:34 MSK 2019
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/glassfish/glassfish4/bin
PATH: /usr/local/cpanel/3rdparty/lib/path-bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /opt/cpanel/composer/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2641: checking for xsltproc
configure:2659: found /usr/bin/xsltproc
configure:2672: result: /usr/bin/xsltproc
configure:2753: checking for gcc
configure:2769: found /usr/bin/gcc
configure:2780: result: gcc
configure:3009: checking for C compiler version
configure:3018: gcc --version >&5
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3029: $? = 0
configure:3018: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
configure:3029: $? = 0
configure:3018: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3029: $? = 4
configure:3018: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3029: $? = 4
configure:3049: checking whether the C compiler works
configure:3071: gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3075: $? = 0
configure:3123: result: yes
configure:3126: checking for C compiler default output file name
configure:3128: result: a.out
configure:3134: checking for suffix of executables
configure:3141: gcc -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3145: $? = 0
configure:3167: result:
configure:3189: checking whether we are cross compiling
configure:3197: gcc -o conftest -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3201: $? = 0
configure:3208: ./conftest
configure:3212: $? = 0
configure:3227: result: no
configure:3232: checking for suffix of object files
configure:3254: gcc -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3258: $? = 0
configure:3279: result: o
configure:3283: checking whether we are using the GNU C compiler
configure:3302: gcc -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3302: $? = 0
configure:3311: result: yes
configure:3320: checking whether gcc accepts -g
configure:3340: gcc -c -g conftest.c >&5
configure:3340: $? = 0
configure:3381: result: yes
configure:3398: checking for gcc option to accept ISO C89
configure:3461: gcc -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3461: $? = 0
configure:3474: result: none needed
configure:3539: checking whether compiler is cray
configure:3559: gcc -c -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
conftest.c: In function 'main':
conftest.c:15:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
int fail-1;
^
conftest.c:15:11: warning: statement with no effect [-Wunused-value]
configure:3559: $? = 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. */
|
| int
| main ()
| {
|
| #ifndef _CRAYC
| int fail-1;
| #endif
|
| ;
| return 0;
| }
configure:3566: result: no
configure:3603: checking whether compiler supports -std=gnu11
configure:3634: gcc -c -std=gnu11 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3634: $? = 0
configure:3636: result: yes
configure:3718: checking whether compiler supports -Wall
configure:3749: gcc -c -std=gnu11 -Wall -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3749: $? = 0
configure:3751: result: yes
configure:3769: checking whether compiler supports -Wshorten-64-to-32
configure:3800: gcc -c -std=gnu11 -Wall -Wshorten-64-to-32 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
gcc: error: unrecognized command line option '-Wshorten-64-to-32'
configure:3800: $? = 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 JEMALLOC_HAS_RESTRICT 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
|
| return 0;
|
| ;
| return 0;
| }
configure:3806: result: no
configure:3820: checking whether compiler supports -Wsign-compare
configure:3851: gcc -c -std=gnu11 -Wall -Wsign-compare -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3851: $? = 0
configure:3853: result: yes
configure:3871: checking whether compiler supports -Wundef
configure:3902: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3902: $? = 0
configure:3904: result: yes
configure:3922: checking whether compiler supports -Wno-format-zero-length
configure:3953: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:3953: $? = 0
configure:3955: result: yes
configure:3973: checking whether compiler supports -pipe
configure:4004: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:4004: $? = 0
configure:4006: result: yes
configure:4024: checking whether compiler supports -g3
configure:4055: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:4055: $? = 0
configure:4057: result: yes
configure:4505: checking how to run the C preprocessor
configure:4536: gcc -E conftest.c
configure:4536: $? = 0
configure:4550: gcc -E conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4550: $? = 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 JEMALLOC_HAS_RESTRICT 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4575: result: gcc -E
configure:4595: gcc -E conftest.c
configure:4595: $? = 0
configure:4609: gcc -E conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4609: $? = 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 JEMALLOC_HAS_RESTRICT 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4772: checking for g++
configure:4788: found /usr/bin/g++
configure:4799: result: g++
configure:4826: checking for C++ compiler version
configure:4835: g++ --version >&5
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4846: $? = 0
configure:4835: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
configure:4846: $? = 0
configure:4835: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4846: $? = 4
configure:4835: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:4846: $? = 4
configure:4850: checking whether we are using the GNU C++ compiler
configure:4869: g++ -c conftest.cpp >&5
configure:4869: $? = 0
configure:4878: result: yes
configure:4887: checking whether g++ accepts -g
configure:4907: g++ -c -g conftest.cpp >&5
configure:4907: $? = 0
configure:4948: result: yes
configure:4979: checking whether g++ supports C++14 features by default
configure:5393: g++ -c -g -O2 conftest.cpp >&5
conftest.cpp:21:2: error: #error "This is not a C++11 compiler"
#error "This is not a C++11 compiler"
^
conftest.cpp:306:2: error: #error "This is not a C++14 compiler"
#error "This is not a C++14 compiler"
^
configure:5393: $? = 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 JEMALLOC_HAS_RESTRICT 1
| /* end confdefs.h. */
|
|
| // If the compiler admits that it is not ready for C++11, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201103L
|
| #error "This is not a C++11 compiler"
|
| #else
|
| namespace cxx11
| {
|
| namespace test_static_assert
| {
|
| template <typename T>
| struct check
| {
| static_assert(sizeof(int) <= sizeof(T), "not big enough");
| };
|
| }
|
| namespace test_final_override
| {
|
| struct Base
| {
| virtual void f() {}
| };
|
| struct Derived : public Base
| {
| virtual void f() override {}
| };
|
| }
|
| namespace test_double_right_angle_brackets
| {
|
| template < typename T >
| struct check {};
|
| typedef check<void> single_type;
| typedef check<check<void>> double_type;
| typedef check<check<check<void>>> triple_type;
| typedef check<check<check<check<void>>>> quadruple_type;
|
| }
|
| namespace test_decltype
| {
|
| int
| f()
| {
| int a = 1;
| decltype(a) b = 2;
| return a + b;
| }
|
| }
|
| namespace test_type_deduction
| {
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static const bool value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static const bool value = true;
| };
|
| template < typename T1, typename T2 >
| auto
| add(T1 a1, T2 a2) -> decltype(a1 + a2)
| {
| return a1 + a2;
| }
|
| int
| test(const int c, volatile int v)
| {
| static_assert(is_same<int, decltype(0)>::value == true, "");
| static_assert(is_same<int, decltype(c)>::value == false, "");
| static_assert(is_same<int, decltype(v)>::value == false, "");
| auto ac = c;
| auto av = v;
| auto sumi = ac + av + 'x';
| auto sumf = ac + av + 1.0;
| static_assert(is_same<int, decltype(ac)>::value == true, "");
| static_assert(is_same<int, decltype(av)>::value == true, "");
| static_assert(is_same<int, decltype(sumi)>::value == true, "");
| static_assert(is_same<int, decltype(sumf)>::value == false, "");
| static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
| return (sumf > 0.0) ? sumi : add(c, v);
| }
|
| }
|
| namespace test_noexcept
| {
|
| int f() { return 0; }
| int g() noexcept { return 0; }
|
| static_assert(noexcept(f()) == false, "");
| static_assert(noexcept(g()) == true, "");
|
| }
|
| namespace test_constexpr
| {
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
| {
| return *s ? strlen_c_r(s + 1, acc + 1) : acc;
| }
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c(const CharT *const s) noexcept
| {
| return strlen_c_r(s, 0UL);
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("1") == 1UL, "");
| static_assert(strlen_c("example") == 7UL, "");
| static_assert(strlen_c("another\0example") == 7UL, "");
|
| }
|
| namespace test_rvalue_references
| {
|
| template < int N >
| struct answer
| {
| static constexpr int value = N;
| };
|
| answer<1> f(int&) { return answer<1>(); }
| answer<2> f(const int&) { return answer<2>(); }
| answer<3> f(int&&) { return answer<3>(); }
|
| void
| test()
| {
| int i = 0;
| const int c = 0;
| static_assert(decltype(f(i))::value == 1, "");
| static_assert(decltype(f(c))::value == 2, "");
| static_assert(decltype(f(0))::value == 3, "");
| }
|
| }
|
| namespace test_uniform_initialization
| {
|
| struct test
| {
| static const int zero {};
| static const int one {1};
| };
|
| static_assert(test::zero == 0, "");
| static_assert(test::one == 1, "");
|
| }
|
| namespace test_lambdas
| {
|
| void
| test1()
| {
| auto lambda1 = [](){};
| auto lambda2 = lambda1;
| lambda1();
| lambda2();
| }
|
| int
| test2()
| {
| auto a = [](int i, int j){ return i + j; }(1, 2);
| auto b = []() -> int { return '0'; }();
| auto c = [=](){ return a + b; }();
| auto d = [&](){ return c; }();
| auto e = [a, &b](int x) mutable {
| const auto identity = [](int y){ return y; };
| for (auto i = 0; i < a; ++i)
| a += b--;
| return x + identity(a + b);
| }(0);
| return a + b + c + d + e;
| }
|
| int
| test3()
| {
| const auto nullary = [](){ return 0; };
| const auto unary = [](int x){ return x; };
| using nullary_t = decltype(nullary);
| using unary_t = decltype(unary);
| const auto higher1st = [](nullary_t f){ return f(); };
| const auto higher2nd = [unary](nullary_t f1){
| return [unary, f1](unary_t f2){ return f2(unary(f1())); };
| };
| return higher1st(nullary) + higher2nd(nullary)(unary);
| }
|
| }
|
| namespace test_variadic_templates
| {
|
| template <int...>
| struct sum;
|
| template <int N0, int... N1toN>
| struct sum<N0, N1toN...>
| {
| static constexpr auto value = N0 + sum<N1toN...>::value;
| };
|
| template <>
| struct sum<>
| {
| static constexpr auto value = 0;
| };
|
| static_assert(sum<>::value == 0, "");
| static_assert(sum<1>::value == 1, "");
| static_assert(sum<23>::value == 23, "");
| static_assert(sum<1, 2>::value == 3, "");
| static_assert(sum<5, 5, 11>::value == 21, "");
| static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
|
| }
|
| // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
| // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
| // because of this.
| namespace test_template_alias_sfinae
| {
|
| struct foo {};
|
| template<typename T>
| using member = typename T::member_type;
|
| template<typename T>
| void func(...) {}
|
| template<typename T>
| void func(member<T>*) {}
|
| void test();
|
| void test() { func<foo>(0); }
|
| }
|
| } // namespace cxx11
|
| #endif // __cplusplus >= 201103L
|
|
|
|
| // If the compiler admits that it is not ready for C++14, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201402L
|
| #error "This is not a C++14 compiler"
|
| #else
|
| namespace cxx14
| {
|
| namespace test_polymorphic_lambdas
| {
|
| int
| test()
| {
| const auto lambda = [](auto&&... args){
| const auto istiny = [](auto x){
| return (sizeof(x) == 1UL) ? 1 : 0;
| };
| const int aretiny[] = { istiny(args)... };
| return aretiny[0];
| };
| return lambda(1, 1L, 1.0f, '1');
| }
|
| }
|
| namespace test_binary_literals
| {
|
| constexpr auto ivii = 0b0000000000101010;
| static_assert(ivii == 42, "wrong value");
|
| }
|
| namespace test_generalized_constexpr
| {
|
| template < typename CharT >
| constexpr unsigned long
| strlen_c(const CharT *const s) noexcept
| {
| auto length = 0UL;
| for (auto p = s; *p; ++p)
| ++length;
| return length;
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("x") == 1UL, "");
| static_assert(strlen_c("test") == 4UL, "");
| static_assert(strlen_c("another\0test") == 7UL, "");
|
| }
|
| namespace test_lambda_init_capture
| {
|
| int
| test()
| {
| auto x = 0;
| const auto lambda1 = [a = x](int b){ return a + b; };
| const auto lambda2 = [a = lambda1(x)](){ return a; };
| return lambda2();
| }
|
| }
|
| namespace test_digit_seperators
| {
|
| constexpr auto ten_million = 100'000'000;
| static_assert(ten_million == 100000000, "");
|
| }
|
| namespace test_return_type_deduction
| {
|
| auto f(int& x) { return x; }
| decltype(auto) g(int& x) { return x; }
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static constexpr auto value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static constexpr auto value = true;
| };
|
| int
| test()
| {
| auto x = 0;
| static_assert(is_same<int, decltype(f(x))>::value, "");
| static_assert(is_same<int&, decltype(g(x))>::value, "");
| return x;
| }
|
| }
|
| } // namespace cxx14
|
| #endif // __cplusplus >= 201402L
|
|
|
configure:5400: result: no
configure:5411: checking whether g++ supports C++14 features with -std=c++14
configure:5827: g++ -std=c++14 -c -g -O2 conftest.cpp >&5
g++: error: unrecognized command line option '-std=c++14'
configure:5827: $? = 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 JEMALLOC_HAS_RESTRICT 1
| /* end confdefs.h. */
|
|
| // If the compiler admits that it is not ready for C++11, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201103L
|
| #error "This is not a C++11 compiler"
|
| #else
|
| namespace cxx11
| {
|
| namespace test_static_assert
| {
|
| template <typename T>
| struct check
| {
| static_assert(sizeof(int) <= sizeof(T), "not big enough");
| };
|
| }
|
| namespace test_final_override
| {
|
| struct Base
| {
| virtual void f() {}
| };
|
| struct Derived : public Base
| {
| virtual void f() override {}
| };
|
| }
|
| namespace test_double_right_angle_brackets
| {
|
| template < typename T >
| struct check {};
|
| typedef check<void> single_type;
| typedef check<check<void>> double_type;
| typedef check<check<check<void>>> triple_type;
| typedef check<check<check<check<void>>>> quadruple_type;
|
| }
|
| namespace test_decltype
| {
|
| int
| f()
| {
| int a = 1;
| decltype(a) b = 2;
| return a + b;
| }
|
| }
|
| namespace test_type_deduction
| {
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static const bool value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static const bool value = true;
| };
|
| template < typename T1, typename T2 >
| auto
| add(T1 a1, T2 a2) -> decltype(a1 + a2)
| {
| return a1 + a2;
| }
|
| int
| test(const int c, volatile int v)
| {
| static_assert(is_same<int, decltype(0)>::value == true, "");
| static_assert(is_same<int, decltype(c)>::value == false, "");
| static_assert(is_same<int, decltype(v)>::value == false, "");
| auto ac = c;
| auto av = v;
| auto sumi = ac + av + 'x';
| auto sumf = ac + av + 1.0;
| static_assert(is_same<int, decltype(ac)>::value == true, "");
| static_assert(is_same<int, decltype(av)>::value == true, "");
| static_assert(is_same<int, decltype(sumi)>::value == true, "");
| static_assert(is_same<int, decltype(sumf)>::value == false, "");
| static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
| return (sumf > 0.0) ? sumi : add(c, v);
| }
|
| }
|
| namespace test_noexcept
| {
|
| int f() { return 0; }
| int g() noexcept { return 0; }
|
| static_assert(noexcept(f()) == false, "");
| static_assert(noexcept(g()) == true, "");
|
| }
|
| namespace test_constexpr
| {
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
| {
| return *s ? strlen_c_r(s + 1, acc + 1) : acc;
| }
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c(const CharT *const s) noexcept
| {
| return strlen_c_r(s, 0UL);
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("1") == 1UL, "");
| static_assert(strlen_c("example") == 7UL, "");
| static_assert(strlen_c("another\0example") == 7UL, "");
|
| }
|
| namespace test_rvalue_references
| {
|
| template < int N >
| struct answer
| {
| static constexpr int value = N;
| };
|
| answer<1> f(int&) { return answer<1>(); }
| answer<2> f(const int&) { return answer<2>(); }
| answer<3> f(int&&) { return answer<3>(); }
|
| void
| test()
| {
| int i = 0;
| const int c = 0;
| static_assert(decltype(f(i))::value == 1, "");
| static_assert(decltype(f(c))::value == 2, "");
| static_assert(decltype(f(0))::value == 3, "");
| }
|
| }
|
| namespace test_uniform_initialization
| {
|
| struct test
| {
| static const int zero {};
| static const int one {1};
| };
|
| static_assert(test::zero == 0, "");
| static_assert(test::one == 1, "");
|
| }
|
| namespace test_lambdas
| {
|
| void
| test1()
| {
| auto lambda1 = [](){};
| auto lambda2 = lambda1;
| lambda1();
| lambda2();
| }
|
| int
| test2()
| {
| auto a = [](int i, int j){ return i + j; }(1, 2);
| auto b = []() -> int { return '0'; }();
| auto c = [=](){ return a + b; }();
| auto d = [&](){ return c; }();
| auto e = [a, &b](int x) mutable {
| const auto identity = [](int y){ return y; };
| for (auto i = 0; i < a; ++i)
| a += b--;
| return x + identity(a + b);
| }(0);
| return a + b + c + d + e;
| }
|
| int
| test3()
| {
| const auto nullary = [](){ return 0; };
| const auto unary = [](int x){ return x; };
| using nullary_t = decltype(nullary);
| using unary_t = decltype(unary);
| const auto higher1st = [](nullary_t f){ return f(); };
| const auto higher2nd = [unary](nullary_t f1){
| return [unary, f1](unary_t f2){ return f2(unary(f1())); };
| };
| return higher1st(nullary) + higher2nd(nullary)(unary);
| }
|
| }
|
| namespace test_variadic_templates
| {
|
| template <int...>
| struct sum;
|
| template <int N0, int... N1toN>
| struct sum<N0, N1toN...>
| {
| static constexpr auto value = N0 + sum<N1toN...>::value;
| };
|
| template <>
| struct sum<>
| {
| static constexpr auto value = 0;
| };
|
| static_assert(sum<>::value == 0, "");
| static_assert(sum<1>::value == 1, "");
| static_assert(sum<23>::value == 23, "");
| static_assert(sum<1, 2>::value == 3, "");
| static_assert(sum<5, 5, 11>::value == 21, "");
| static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
|
| }
|
| // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
| // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
| // because of this.
| namespace test_template_alias_sfinae
| {
|
| struct foo {};
|
| template<typename T>
| using member = typename T::member_type;
|
| template<typename T>
| void func(...) {}
|
| template<typename T>
| void func(member<T>*) {}
|
| void test();
|
| void test() { func<foo>(0); }
|
| }
|
| } // namespace cxx11
|
| #endif // __cplusplus >= 201103L
|
|
|
|
| // If the compiler admits that it is not ready for C++14, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201402L
|
| #error "This is not a C++14 compiler"
|
| #else
|
| namespace cxx14
| {
|
| namespace test_polymorphic_lambdas
| {
|
| int
| test()
| {
| const auto lambda = [](auto&&... args){
| const auto istiny = [](auto x){
| return (sizeof(x) == 1UL) ? 1 : 0;
| };
| const int aretiny[] = { istiny(args)... };
| return aretiny[0];
| };
| return lambda(1, 1L, 1.0f, '1');
| }
|
| }
|
| namespace test_binary_literals
| {
|
| constexpr auto ivii = 0b0000000000101010;
| static_assert(ivii == 42, "wrong value");
|
| }
|
| namespace test_generalized_constexpr
| {
|
| template < typename CharT >
| constexpr unsigned long
| strlen_c(const CharT *const s) noexcept
| {
| auto length = 0UL;
| for (auto p = s; *p; ++p)
| ++length;
| return length;
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("x") == 1UL, "");
| static_assert(strlen_c("test") == 4UL, "");
| static_assert(strlen_c("another\0test") == 7UL, "");
|
| }
|
| namespace test_lambda_init_capture
| {
|
| int
| test()
| {
| auto x = 0;
| const auto lambda1 = [a = x](int b){ return a + b; };
| const auto lambda2 = [a = lambda1(x)](){ return a; };
| return lambda2();
| }
|
| }
|
| namespace test_digit_seperators
| {
|
| constexpr auto ten_million = 100'000'000;
| static_assert(ten_million == 100000000, "");
|
| }
|
| namespace test_return_type_deduction
| {
|
| auto f(int& x) { return x; }
| decltype(auto) g(int& x) { return x; }
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static constexpr auto value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static constexpr auto value = true;
| };
|
| int
| test()
| {
| auto x = 0;
| static_assert(is_same<int, decltype(f(x))>::value, "");
| static_assert(is_same<int&, decltype(g(x))>::value, "");
| return x;
| }
|
| }
|
| } // namespace cxx14
|
| #endif // __cplusplus >= 201402L
|
|
|
configure:5836: result: no
configure:5411: checking whether g++ supports C++14 features with -std=c++0x
configure:5827: g++ -std=c++0x -c -g -O2 conftest.cpp >&5
conftest.cpp:306:2: error: #error "This is not a C++14 compiler"
#error "This is not a C++14 compiler"
^
configure:5827: $? = 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 JEMALLOC_HAS_RESTRICT 1
| /* end confdefs.h. */
|
|
| // If the compiler admits that it is not ready for C++11, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201103L
|
| #error "This is not a C++11 compiler"
|
| #else
|
| namespace cxx11
| {
|
| namespace test_static_assert
| {
|
| template <typename T>
| struct check
| {
| static_assert(sizeof(int) <= sizeof(T), "not big enough");
| };
|
| }
|
| namespace test_final_override
| {
|
| struct Base
| {
| virtual void f() {}
| };
|
| struct Derived : public Base
| {
| virtual void f() override {}
| };
|
| }
|
| namespace test_double_right_angle_brackets
| {
|
| template < typename T >
| struct check {};
|
| typedef check<void> single_type;
| typedef check<check<void>> double_type;
| typedef check<check<check<void>>> triple_type;
| typedef check<check<check<check<void>>>> quadruple_type;
|
| }
|
| namespace test_decltype
| {
|
| int
| f()
| {
| int a = 1;
| decltype(a) b = 2;
| return a + b;
| }
|
| }
|
| namespace test_type_deduction
| {
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static const bool value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static const bool value = true;
| };
|
| template < typename T1, typename T2 >
| auto
| add(T1 a1, T2 a2) -> decltype(a1 + a2)
| {
| return a1 + a2;
| }
|
| int
| test(const int c, volatile int v)
| {
| static_assert(is_same<int, decltype(0)>::value == true, "");
| static_assert(is_same<int, decltype(c)>::value == false, "");
| static_assert(is_same<int, decltype(v)>::value == false, "");
| auto ac = c;
| auto av = v;
| auto sumi = ac + av + 'x';
| auto sumf = ac + av + 1.0;
| static_assert(is_same<int, decltype(ac)>::value == true, "");
| static_assert(is_same<int, decltype(av)>::value == true, "");
| static_assert(is_same<int, decltype(sumi)>::value == true, "");
| static_assert(is_same<int, decltype(sumf)>::value == false, "");
| static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
| return (sumf > 0.0) ? sumi : add(c, v);
| }
|
| }
|
| namespace test_noexcept
| {
|
| int f() { return 0; }
| int g() noexcept { return 0; }
|
| static_assert(noexcept(f()) == false, "");
| static_assert(noexcept(g()) == true, "");
|
| }
|
| namespace test_constexpr
| {
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
| {
| return *s ? strlen_c_r(s + 1, acc + 1) : acc;
| }
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c(const CharT *const s) noexcept
| {
| return strlen_c_r(s, 0UL);
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("1") == 1UL, "");
| static_assert(strlen_c("example") == 7UL, "");
| static_assert(strlen_c("another\0example") == 7UL, "");
|
| }
|
| namespace test_rvalue_references
| {
|
| template < int N >
| struct answer
| {
| static constexpr int value = N;
| };
|
| answer<1> f(int&) { return answer<1>(); }
| answer<2> f(const int&) { return answer<2>(); }
| answer<3> f(int&&) { return answer<3>(); }
|
| void
| test()
| {
| int i = 0;
| const int c = 0;
| static_assert(decltype(f(i))::value == 1, "");
| static_assert(decltype(f(c))::value == 2, "");
| static_assert(decltype(f(0))::value == 3, "");
| }
|
| }
|
| namespace test_uniform_initialization
| {
|
| struct test
| {
| static const int zero {};
| static const int one {1};
| };
|
| static_assert(test::zero == 0, "");
| static_assert(test::one == 1, "");
|
| }
|
| namespace test_lambdas
| {
|
| void
| test1()
| {
| auto lambda1 = [](){};
| auto lambda2 = lambda1;
| lambda1();
| lambda2();
| }
|
| int
| test2()
| {
| auto a = [](int i, int j){ return i + j; }(1, 2);
| auto b = []() -> int { return '0'; }();
| auto c = [=](){ return a + b; }();
| auto d = [&](){ return c; }();
| auto e = [a, &b](int x) mutable {
| const auto identity = [](int y){ return y; };
| for (auto i = 0; i < a; ++i)
| a += b--;
| return x + identity(a + b);
| }(0);
| return a + b + c + d + e;
| }
|
| int
| test3()
| {
| const auto nullary = [](){ return 0; };
| const auto unary = [](int x){ return x; };
| using nullary_t = decltype(nullary);
| using unary_t = decltype(unary);
| const auto higher1st = [](nullary_t f){ return f(); };
| const auto higher2nd = [unary](nullary_t f1){
| return [unary, f1](unary_t f2){ return f2(unary(f1())); };
| };
| return higher1st(nullary) + higher2nd(nullary)(unary);
| }
|
| }
|
| namespace test_variadic_templates
| {
|
| template <int...>
| struct sum;
|
| template <int N0, int... N1toN>
| struct sum<N0, N1toN...>
| {
| static constexpr auto value = N0 + sum<N1toN...>::value;
| };
|
| template <>
| struct sum<>
| {
| static constexpr auto value = 0;
| };
|
| static_assert(sum<>::value == 0, "");
| static_assert(sum<1>::value == 1, "");
| static_assert(sum<23>::value == 23, "");
| static_assert(sum<1, 2>::value == 3, "");
| static_assert(sum<5, 5, 11>::value == 21, "");
| static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
|
| }
|
| // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
| // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
| // because of this.
| namespace test_template_alias_sfinae
| {
|
| struct foo {};
|
| template<typename T>
| using member = typename T::member_type;
|
| template<typename T>
| void func(...) {}
|
| template<typename T>
| void func(member<T>*) {}
|
| void test();
|
| void test() { func<foo>(0); }
|
| }
|
| } // namespace cxx11
|
| #endif // __cplusplus >= 201103L
|
|
|
|
| // If the compiler admits that it is not ready for C++14, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201402L
|
| #error "This is not a C++14 compiler"
|
| #else
|
| namespace cxx14
| {
|
| namespace test_polymorphic_lambdas
| {
|
| int
| test()
| {
| const auto lambda = [](auto&&... args){
| const auto istiny = [](auto x){
| return (sizeof(x) == 1UL) ? 1 : 0;
| };
| const int aretiny[] = { istiny(args)... };
| return aretiny[0];
| };
| return lambda(1, 1L, 1.0f, '1');
| }
|
| }
|
| namespace test_binary_literals
| {
|
| constexpr auto ivii = 0b0000000000101010;
| static_assert(ivii == 42, "wrong value");
|
| }
|
| namespace test_generalized_constexpr
| {
|
| template < typename CharT >
| constexpr unsigned long
| strlen_c(const CharT *const s) noexcept
| {
| auto length = 0UL;
| for (auto p = s; *p; ++p)
| ++length;
| return length;
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("x") == 1UL, "");
| static_assert(strlen_c("test") == 4UL, "");
| static_assert(strlen_c("another\0test") == 7UL, "");
|
| }
|
| namespace test_lambda_init_capture
| {
|
| int
| test()
| {
| auto x = 0;
| const auto lambda1 = [a = x](int b){ return a + b; };
| const auto lambda2 = [a = lambda1(x)](){ return a; };
| return lambda2();
| }
|
| }
|
| namespace test_digit_seperators
| {
|
| constexpr auto ten_million = 100'000'000;
| static_assert(ten_million == 100000000, "");
|
| }
|
| namespace test_return_type_deduction
| {
|
| auto f(int& x) { return x; }
| decltype(auto) g(int& x) { return x; }
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static constexpr auto value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static constexpr auto value = true;
| };
|
| int
| test()
| {
| auto x = 0;
| static_assert(is_same<int, decltype(f(x))>::value, "");
| static_assert(is_same<int&, decltype(g(x))>::value, "");
| return x;
| }
|
| }
|
| } // namespace cxx14
|
| #endif // __cplusplus >= 201402L
|
|
|
configure:5836: result: no
configure:5411: checking whether g++ supports C++14 features with +std=c++14
configure:5827: g++ +std=c++14 -c -g -O2 conftest.cpp >&5
g++: error: +std=c++14: No such file or directory
configure:5827: $? = 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 JEMALLOC_HAS_RESTRICT 1
| /* end confdefs.h. */
|
|
| // If the compiler admits that it is not ready for C++11, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201103L
|
| #error "This is not a C++11 compiler"
|
| #else
|
| namespace cxx11
| {
|
| namespace test_static_assert
| {
|
| template <typename T>
| struct check
| {
| static_assert(sizeof(int) <= sizeof(T), "not big enough");
| };
|
| }
|
| namespace test_final_override
| {
|
| struct Base
| {
| virtual void f() {}
| };
|
| struct Derived : public Base
| {
| virtual void f() override {}
| };
|
| }
|
| namespace test_double_right_angle_brackets
| {
|
| template < typename T >
| struct check {};
|
| typedef check<void> single_type;
| typedef check<check<void>> double_type;
| typedef check<check<check<void>>> triple_type;
| typedef check<check<check<check<void>>>> quadruple_type;
|
| }
|
| namespace test_decltype
| {
|
| int
| f()
| {
| int a = 1;
| decltype(a) b = 2;
| return a + b;
| }
|
| }
|
| namespace test_type_deduction
| {
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static const bool value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static const bool value = true;
| };
|
| template < typename T1, typename T2 >
| auto
| add(T1 a1, T2 a2) -> decltype(a1 + a2)
| {
| return a1 + a2;
| }
|
| int
| test(const int c, volatile int v)
| {
| static_assert(is_same<int, decltype(0)>::value == true, "");
| static_assert(is_same<int, decltype(c)>::value == false, "");
| static_assert(is_same<int, decltype(v)>::value == false, "");
| auto ac = c;
| auto av = v;
| auto sumi = ac + av + 'x';
| auto sumf = ac + av + 1.0;
| static_assert(is_same<int, decltype(ac)>::value == true, "");
| static_assert(is_same<int, decltype(av)>::value == true, "");
| static_assert(is_same<int, decltype(sumi)>::value == true, "");
| static_assert(is_same<int, decltype(sumf)>::value == false, "");
| static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
| return (sumf > 0.0) ? sumi : add(c, v);
| }
|
| }
|
| namespace test_noexcept
| {
|
| int f() { return 0; }
| int g() noexcept { return 0; }
|
| static_assert(noexcept(f()) == false, "");
| static_assert(noexcept(g()) == true, "");
|
| }
|
| namespace test_constexpr
| {
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
| {
| return *s ? strlen_c_r(s + 1, acc + 1) : acc;
| }
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c(const CharT *const s) noexcept
| {
| return strlen_c_r(s, 0UL);
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("1") == 1UL, "");
| static_assert(strlen_c("example") == 7UL, "");
| static_assert(strlen_c("another\0example") == 7UL, "");
|
| }
|
| namespace test_rvalue_references
| {
|
| template < int N >
| struct answer
| {
| static constexpr int value = N;
| };
|
| answer<1> f(int&) { return answer<1>(); }
| answer<2> f(const int&) { return answer<2>(); }
| answer<3> f(int&&) { return answer<3>(); }
|
| void
| test()
| {
| int i = 0;
| const int c = 0;
| static_assert(decltype(f(i))::value == 1, "");
| static_assert(decltype(f(c))::value == 2, "");
| static_assert(decltype(f(0))::value == 3, "");
| }
|
| }
|
| namespace test_uniform_initialization
| {
|
| struct test
| {
| static const int zero {};
| static const int one {1};
| };
|
| static_assert(test::zero == 0, "");
| static_assert(test::one == 1, "");
|
| }
|
| namespace test_lambdas
| {
|
| void
| test1()
| {
| auto lambda1 = [](){};
| auto lambda2 = lambda1;
| lambda1();
| lambda2();
| }
|
| int
| test2()
| {
| auto a = [](int i, int j){ return i + j; }(1, 2);
| auto b = []() -> int { return '0'; }();
| auto c = [=](){ return a + b; }();
| auto d = [&](){ return c; }();
| auto e = [a, &b](int x) mutable {
| const auto identity = [](int y){ return y; };
| for (auto i = 0; i < a; ++i)
| a += b--;
| return x + identity(a + b);
| }(0);
| return a + b + c + d + e;
| }
|
| int
| test3()
| {
| const auto nullary = [](){ return 0; };
| const auto unary = [](int x){ return x; };
| using nullary_t = decltype(nullary);
| using unary_t = decltype(unary);
| const auto higher1st = [](nullary_t f){ return f(); };
| const auto higher2nd = [unary](nullary_t f1){
| return [unary, f1](unary_t f2){ return f2(unary(f1())); };
| };
| return higher1st(nullary) + higher2nd(nullary)(unary);
| }
|
| }
|
| namespace test_variadic_templates
| {
|
| template <int...>
| struct sum;
|
| template <int N0, int... N1toN>
| struct sum<N0, N1toN...>
| {
| static constexpr auto value = N0 + sum<N1toN...>::value;
| };
|
| template <>
| struct sum<>
| {
| static constexpr auto value = 0;
| };
|
| static_assert(sum<>::value == 0, "");
| static_assert(sum<1>::value == 1, "");
| static_assert(sum<23>::value == 23, "");
| static_assert(sum<1, 2>::value == 3, "");
| static_assert(sum<5, 5, 11>::value == 21, "");
| static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
|
| }
|
| // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
| // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
| // because of this.
| namespace test_template_alias_sfinae
| {
|
| struct foo {};
|
| template<typename T>
| using member = typename T::member_type;
|
| template<typename T>
| void func(...) {}
|
| template<typename T>
| void func(member<T>*) {}
|
| void test();
|
| void test() { func<foo>(0); }
|
| }
|
| } // namespace cxx11
|
| #endif // __cplusplus >= 201103L
|
|
|
|
| // If the compiler admits that it is not ready for C++14, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201402L
|
| #error "This is not a C++14 compiler"
|
| #else
|
| namespace cxx14
| {
|
| namespace test_polymorphic_lambdas
| {
|
| int
| test()
| {
| const auto lambda = [](auto&&... args){
| const auto istiny = [](auto x){
| return (sizeof(x) == 1UL) ? 1 : 0;
| };
| const int aretiny[] = { istiny(args)... };
| return aretiny[0];
| };
| return lambda(1, 1L, 1.0f, '1');
| }
|
| }
|
| namespace test_binary_literals
| {
|
| constexpr auto ivii = 0b0000000000101010;
| static_assert(ivii == 42, "wrong value");
|
| }
|
| namespace test_generalized_constexpr
| {
|
| template < typename CharT >
| constexpr unsigned long
| strlen_c(const CharT *const s) noexcept
| {
| auto length = 0UL;
| for (auto p = s; *p; ++p)
| ++length;
| return length;
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("x") == 1UL, "");
| static_assert(strlen_c("test") == 4UL, "");
| static_assert(strlen_c("another\0test") == 7UL, "");
|
| }
|
| namespace test_lambda_init_capture
| {
|
| int
| test()
| {
| auto x = 0;
| const auto lambda1 = [a = x](int b){ return a + b; };
| const auto lambda2 = [a = lambda1(x)](){ return a; };
| return lambda2();
| }
|
| }
|
| namespace test_digit_seperators
| {
|
| constexpr auto ten_million = 100'000'000;
| static_assert(ten_million == 100000000, "");
|
| }
|
| namespace test_return_type_deduction
| {
|
| auto f(int& x) { return x; }
| decltype(auto) g(int& x) { return x; }
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static constexpr auto value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static constexpr auto value = true;
| };
|
| int
| test()
| {
| auto x = 0;
| static_assert(is_same<int, decltype(f(x))>::value, "");
| static_assert(is_same<int&, decltype(g(x))>::value, "");
| return x;
| }
|
| }
|
| } // namespace cxx14
|
| #endif // __cplusplus >= 201402L
|
|
|
configure:5836: result: no
configure:5411: checking whether g++ supports C++14 features with -h std=c++14
configure:5827: g++ -h std=c++14 -c -g -O2 conftest.cpp >&5
g++: error: unrecognized command line option '-h'
configure:5827: $? = 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 JEMALLOC_HAS_RESTRICT 1
| /* end confdefs.h. */
|
|
| // If the compiler admits that it is not ready for C++11, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201103L
|
| #error "This is not a C++11 compiler"
|
| #else
|
| namespace cxx11
| {
|
| namespace test_static_assert
| {
|
| template <typename T>
| struct check
| {
| static_assert(sizeof(int) <= sizeof(T), "not big enough");
| };
|
| }
|
| namespace test_final_override
| {
|
| struct Base
| {
| virtual void f() {}
| };
|
| struct Derived : public Base
| {
| virtual void f() override {}
| };
|
| }
|
| namespace test_double_right_angle_brackets
| {
|
| template < typename T >
| struct check {};
|
| typedef check<void> single_type;
| typedef check<check<void>> double_type;
| typedef check<check<check<void>>> triple_type;
| typedef check<check<check<check<void>>>> quadruple_type;
|
| }
|
| namespace test_decltype
| {
|
| int
| f()
| {
| int a = 1;
| decltype(a) b = 2;
| return a + b;
| }
|
| }
|
| namespace test_type_deduction
| {
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static const bool value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static const bool value = true;
| };
|
| template < typename T1, typename T2 >
| auto
| add(T1 a1, T2 a2) -> decltype(a1 + a2)
| {
| return a1 + a2;
| }
|
| int
| test(const int c, volatile int v)
| {
| static_assert(is_same<int, decltype(0)>::value == true, "");
| static_assert(is_same<int, decltype(c)>::value == false, "");
| static_assert(is_same<int, decltype(v)>::value == false, "");
| auto ac = c;
| auto av = v;
| auto sumi = ac + av + 'x';
| auto sumf = ac + av + 1.0;
| static_assert(is_same<int, decltype(ac)>::value == true, "");
| static_assert(is_same<int, decltype(av)>::value == true, "");
| static_assert(is_same<int, decltype(sumi)>::value == true, "");
| static_assert(is_same<int, decltype(sumf)>::value == false, "");
| static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
| return (sumf > 0.0) ? sumi : add(c, v);
| }
|
| }
|
| namespace test_noexcept
| {
|
| int f() { return 0; }
| int g() noexcept { return 0; }
|
| static_assert(noexcept(f()) == false, "");
| static_assert(noexcept(g()) == true, "");
|
| }
|
| namespace test_constexpr
| {
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
| {
| return *s ? strlen_c_r(s + 1, acc + 1) : acc;
| }
|
| template < typename CharT >
| unsigned long constexpr
| strlen_c(const CharT *const s) noexcept
| {
| return strlen_c_r(s, 0UL);
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("1") == 1UL, "");
| static_assert(strlen_c("example") == 7UL, "");
| static_assert(strlen_c("another\0example") == 7UL, "");
|
| }
|
| namespace test_rvalue_references
| {
|
| template < int N >
| struct answer
| {
| static constexpr int value = N;
| };
|
| answer<1> f(int&) { return answer<1>(); }
| answer<2> f(const int&) { return answer<2>(); }
| answer<3> f(int&&) { return answer<3>(); }
|
| void
| test()
| {
| int i = 0;
| const int c = 0;
| static_assert(decltype(f(i))::value == 1, "");
| static_assert(decltype(f(c))::value == 2, "");
| static_assert(decltype(f(0))::value == 3, "");
| }
|
| }
|
| namespace test_uniform_initialization
| {
|
| struct test
| {
| static const int zero {};
| static const int one {1};
| };
|
| static_assert(test::zero == 0, "");
| static_assert(test::one == 1, "");
|
| }
|
| namespace test_lambdas
| {
|
| void
| test1()
| {
| auto lambda1 = [](){};
| auto lambda2 = lambda1;
| lambda1();
| lambda2();
| }
|
| int
| test2()
| {
| auto a = [](int i, int j){ return i + j; }(1, 2);
| auto b = []() -> int { return '0'; }();
| auto c = [=](){ return a + b; }();
| auto d = [&](){ return c; }();
| auto e = [a, &b](int x) mutable {
| const auto identity = [](int y){ return y; };
| for (auto i = 0; i < a; ++i)
| a += b--;
| return x + identity(a + b);
| }(0);
| return a + b + c + d + e;
| }
|
| int
| test3()
| {
| const auto nullary = [](){ return 0; };
| const auto unary = [](int x){ return x; };
| using nullary_t = decltype(nullary);
| using unary_t = decltype(unary);
| const auto higher1st = [](nullary_t f){ return f(); };
| const auto higher2nd = [unary](nullary_t f1){
| return [unary, f1](unary_t f2){ return f2(unary(f1())); };
| };
| return higher1st(nullary) + higher2nd(nullary)(unary);
| }
|
| }
|
| namespace test_variadic_templates
| {
|
| template <int...>
| struct sum;
|
| template <int N0, int... N1toN>
| struct sum<N0, N1toN...>
| {
| static constexpr auto value = N0 + sum<N1toN...>::value;
| };
|
| template <>
| struct sum<>
| {
| static constexpr auto value = 0;
| };
|
| static_assert(sum<>::value == 0, "");
| static_assert(sum<1>::value == 1, "");
| static_assert(sum<23>::value == 23, "");
| static_assert(sum<1, 2>::value == 3, "");
| static_assert(sum<5, 5, 11>::value == 21, "");
| static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
|
| }
|
| // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
| // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
| // because of this.
| namespace test_template_alias_sfinae
| {
|
| struct foo {};
|
| template<typename T>
| using member = typename T::member_type;
|
| template<typename T>
| void func(...) {}
|
| template<typename T>
| void func(member<T>*) {}
|
| void test();
|
| void test() { func<foo>(0); }
|
| }
|
| } // namespace cxx11
|
| #endif // __cplusplus >= 201103L
|
|
|
|
| // If the compiler admits that it is not ready for C++14, why torture it?
| // Hopefully, this will speed up the test.
|
| #ifndef __cplusplus
|
| #error "This is not a C++ compiler"
|
| #elif __cplusplus < 201402L
|
| #error "This is not a C++14 compiler"
|
| #else
|
| namespace cxx14
| {
|
| namespace test_polymorphic_lambdas
| {
|
| int
| test()
| {
| const auto lambda = [](auto&&... args){
| const auto istiny = [](auto x){
| return (sizeof(x) == 1UL) ? 1 : 0;
| };
| const int aretiny[] = { istiny(args)... };
| return aretiny[0];
| };
| return lambda(1, 1L, 1.0f, '1');
| }
|
| }
|
| namespace test_binary_literals
| {
|
| constexpr auto ivii = 0b0000000000101010;
| static_assert(ivii == 42, "wrong value");
|
| }
|
| namespace test_generalized_constexpr
| {
|
| template < typename CharT >
| constexpr unsigned long
| strlen_c(const CharT *const s) noexcept
| {
| auto length = 0UL;
| for (auto p = s; *p; ++p)
| ++length;
| return length;
| }
|
| static_assert(strlen_c("") == 0UL, "");
| static_assert(strlen_c("x") == 1UL, "");
| static_assert(strlen_c("test") == 4UL, "");
| static_assert(strlen_c("another\0test") == 7UL, "");
|
| }
|
| namespace test_lambda_init_capture
| {
|
| int
| test()
| {
| auto x = 0;
| const auto lambda1 = [a = x](int b){ return a + b; };
| const auto lambda2 = [a = lambda1(x)](){ return a; };
| return lambda2();
| }
|
| }
|
| namespace test_digit_seperators
| {
|
| constexpr auto ten_million = 100'000'000;
| static_assert(ten_million == 100000000, "");
|
| }
|
| namespace test_return_type_deduction
| {
|
| auto f(int& x) { return x; }
| decltype(auto) g(int& x) { return x; }
|
| template < typename T1, typename T2 >
| struct is_same
| {
| static constexpr auto value = false;
| };
|
| template < typename T >
| struct is_same<T, T>
| {
| static constexpr auto value = true;
| };
|
| int
| test()
| {
| auto x = 0;
| static_assert(is_same<int, decltype(f(x))>::value, "");
| static_assert(is_same<int&, decltype(g(x))>::value, "");
| return x;
| }
|
| }
|
| } // namespace cxx14
|
| #endif // __cplusplus >= 201402L
|
|
|
configure:5836: result: no
configure:5861: No compiler with C++14 support was found
configure:6055: checking for grep that handles long lines and -e
configure:6113: result: /usr/bin/grep
configure:6118: checking for egrep
configure:6180: result: /usr/bin/grep -E
configure:6185: checking for ANSI C header files
configure:6205: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6205: $? = 0
configure:6278: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6278: $? = 0
configure:6278: ./conftest
configure:6278: $? = 0
configure:6289: result: yes
configure:6302: checking for sys/types.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6302: checking for sys/stat.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6302: checking for stdlib.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6302: checking for string.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6302: checking for memory.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6302: checking for strings.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6302: checking for inttypes.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6302: checking for stdint.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6302: checking for unistd.h
configure:6302: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6302: $? = 0
configure:6302: result: yes
configure:6314: checking whether byte ordering is bigendian
configure:6329: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
conftest.c:21:9: error: unknown type name 'not'
not a universal capable compiler
^
conftest.c:21:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
not a universal capable compiler
^
conftest.c:21:15: error: unknown type name 'universal'
configure:6329: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
|
configure:6374: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6374: $? = 0
configure:6392: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
conftest.c: In function 'main':
conftest.c:27:4: error: unknown type name 'not'
not big endian
^
conftest.c:27:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
not big endian
^
configure:6392: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:6520: result: no
configure:6564: checking size of void *
configure:6569: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6569: $? = 0
configure:6569: ./conftest
configure:6569: $? = 0
configure:6583: result: 8
configure:6610: checking size of int
configure:6615: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6615: $? = 0
configure:6615: ./conftest
configure:6615: $? = 0
configure:6629: result: 4
configure:6655: checking size of long
configure:6660: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6660: $? = 0
configure:6660: ./conftest
configure:6660: $? = 0
configure:6674: result: 8
configure:6700: checking size of long long
configure:6705: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6705: $? = 0
configure:6705: ./conftest
configure:6705: $? = 0
configure:6719: result: 8
configure:6745: checking size of intmax_t
configure:6750: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6750: $? = 0
configure:6750: ./conftest
configure:6750: $? = 0
configure:6764: result: 8
configure:6792: checking build system type
configure:6806: result: x86_64-pc-linux-gnu
configure:6826: checking host system type
configure:6839: result: x86_64-pc-linux-gnu
configure:6905: checking whether pause instruction is compilable
configure:6921: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:6921: $? = 0
configure:6929: result: yes
configure:6979: checking number of significant virtual address bits
configure:7030: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops conftest.c >&5
configure:7030: $? = 0
configure:7030: ./conftest
configure:7030: $? = 0
configure:7040: result: 48
configure:7152: checking for ar
configure:7168: found /usr/bin/ar
configure:7179: result: ar
configure:7248: checking for nm
configure:7264: found /usr/bin/nm
configure:7275: result: nm
configure:7302: checking for gawk
configure:7318: found /usr/bin/gawk
configure:7329: result: gawk
configure:7541: checking malloc.h usability
configure:7541: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:7541: $? = 0
configure:7541: result: yes
configure:7541: checking malloc.h presence
configure:7541: gcc -E -D_GNU_SOURCE conftest.c
configure:7541: $? = 0
configure:7541: result: yes
configure:7541: checking for malloc.h
configure:7541: result: yes
configure:7547: checking whether malloc_usable_size definition can use const argument
configure:7563: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
conftest.c:42:12: error: conflicting types for 'malloc_usable_size'
size_t malloc_usable_size(const void *ptr);
^
In file included from conftest.c:40:0:
/usr/include/malloc.h:151:15: note: previous declaration of 'malloc_usable_size' was here
extern size_t malloc_usable_size (void *__ptr) __THROW;
^
configure:7563: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #define JEMALLOC_THREADED_INIT
| #define JEMALLOC_USE_CXX_THROW
| #define HAVE_MALLOC_H 1
| /* end confdefs.h. */
| #include <malloc.h>
| #include <stddef.h>
| size_t malloc_usable_size(const void *ptr);
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:7571: result: no
configure:7608: checking for library containing log
configure:7639: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
conftest.c:48:6: warning: conflicting types for built-in function 'log' [enabled by default]
char log ();
^
/tmp/cchFOFBP.o: In function `main':
/usr/src/redis-stable/deps/jemalloc/conftest.c:52: undefined reference to `log'
collect2: error: ld returned 1 exit status
configure:7639: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #define JEMALLOC_THREADED_INIT
| #define JEMALLOC_USE_CXX_THROW
| #define HAVE_MALLOC_H 1
| #define JEMALLOC_USABLE_SIZE_CONST
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char log ();
| int
| main ()
| {
| return log ();
| ;
| return 0;
| }
configure:7639: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
conftest.c:48:6: warning: conflicting types for built-in function 'log' [enabled by default]
char log ();
^
configure:7639: $? = 0
configure:7656: result: -lm
configure:7674: checking whether __attribute__ syntax is compilable
configure:7690: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:7690: $? = 0
configure:7698: result: yes
configure:7706: checking whether compiler supports -fvisibility=hidden
configure:7737: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:7737: $? = 0
configure:7739: result: yes
configure:7757: checking whether compiler supports -fvisibility=hidden
configure:7794: g++ -c -fvisibility=hidden -D_GNU_SOURCE conftest.cpp >&5
configure:7794: $? = 0
configure:7796: result: yes
configure:7824: checking whether compiler supports -Werror
configure:7855: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:7855: $? = 0
configure:7857: result: yes
configure:7875: checking whether compiler supports -herror_on_warning
configure:7906: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
gcc: error: unrecognized command line option '-h'
configure:7906: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #define JEMALLOC_THREADED_INIT
| #define JEMALLOC_USE_CXX_THROW
| #define HAVE_MALLOC_H 1
| #define JEMALLOC_USABLE_SIZE_CONST
| #define JEMALLOC_HAVE_ATTR
| /* end confdefs.h. */
|
|
| int
| main ()
| {
|
| return 0;
|
| ;
| return 0;
| }
configure:7912: result: no
configure:7926: checking whether tls_model attribute is compilable
configure:7944: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:7944: $? = 0
configure:7952: result: yes
configure:7967: checking whether compiler supports -Werror
configure:7998: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:7998: $? = 0
configure:8000: result: yes
configure:8018: checking whether compiler supports -herror_on_warning
configure:8049: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
gcc: error: unrecognized command line option '-h'
configure:8049: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #define JEMALLOC_THREADED_INIT
| #define JEMALLOC_USE_CXX_THROW
| #define HAVE_MALLOC_H 1
| #define JEMALLOC_USABLE_SIZE_CONST
| #define JEMALLOC_HAVE_ATTR
| /* end confdefs.h. */
|
|
| int
| main ()
| {
|
| return 0;
|
| ;
| return 0;
| }
configure:8055: result: no
configure:8069: checking whether alloc_size attribute is compilable
configure:8085: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:8085: $? = 0
configure:8093: result: yes
configure:8111: checking whether compiler supports -Werror
configure:8142: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:8142: $? = 0
configure:8144: result: yes
configure:8162: checking whether compiler supports -herror_on_warning
configure:8193: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
gcc: error: unrecognized command line option '-h'
configure:8193: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| /* end confdefs.h. */
|
|
| int
| main ()
| {
|
| return 0;
|
| ;
| return 0;
| }
configure:8199: result: no
configure:8213: checking whether format(gnu_printf, ...) attribute is compilable
configure:8229: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:8229: $? = 0
configure:8237: result: yes
configure:8255: checking whether compiler supports -Werror
configure:8286: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:8286: $? = 0
configure:8288: result: yes
configure:8306: checking whether compiler supports -herror_on_warning
configure:8337: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -herror_on_warning -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
gcc: error: unrecognized command line option '-h'
configure:8337: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| /* end confdefs.h. */
|
|
| int
| main ()
| {
|
| return 0;
|
| ;
| return 0;
| }
configure:8343: result: no
configure:8357: checking whether format(printf, ...) attribute is compilable
configure:8373: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:8373: $? = 0
configure:8381: result: yes
configure:8441: checking for a BSD-compatible install
configure:8509: result: /usr/bin/install -c
configure:8563: checking for ranlib
configure:8579: found /usr/bin/ranlib
configure:8590: result: ranlib
configure:8614: checking for ld
configure:8632: found /usr/bin/ld
configure:8645: result: /usr/bin/ld
configure:8655: checking for autoconf
configure:8673: found /usr/bin/autoconf
configure:8686: result: /usr/bin/autoconf
configure:8746: checking for memalign
configure:8746: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:8746: $? = 0
configure:8746: result: yes
configure:8753: checking for valloc
configure:8753: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:8753: $? = 0
configure:8753: result: yes
configure:8961: checking whether compiler supports -O3
configure:8992: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:8992: $? = 0
configure:8994: result: yes
configure:9012: checking whether compiler supports -O3
configure:9049: g++ -c -fvisibility=hidden -O3 -D_GNU_SOURCE conftest.cpp >&5
configure:9049: $? = 0
configure:9051: result: yes
configure:9075: checking whether compiler supports -funroll-loops
configure:9106: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:9106: $? = 0
configure:9108: result: yes
configure:9673: checking configured backtracing method
configure:9675: result: N/A
configure:9703: checking for sbrk
configure:9703: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:9703: $? = 0
configure:9703: result: yes
configure:9758: checking whether utrace(2) is compilable
configure:9782: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
conftest.c:61:24: fatal error: sys/ktrace.h: No such file or directory
#include <sys/ktrace.h>
^
compilation terminated.
configure:9782: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| /* end confdefs.h. */
|
| #include <sys/types.h>
| #include <sys/param.h>
| #include <sys/time.h>
| #include <sys/uio.h>
| #include <sys/ktrace.h>
|
| int
| main ()
| {
|
| utrace((void *)0, 0);
|
| ;
| return 0;
| }
configure:9790: result: no
configure:9861: checking whether a program using __builtin_unreachable is compilable
configure:9885: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:9885: $? = 0
configure:9893: result: yes
configure:9905: checking whether a program using __builtin_ffsl is compilable
configure:9930: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:9930: $? = 0
configure:9938: result: yes
configure:10022: checking LG_PAGE
configure:10073: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm >&5
configure:10073: $? = 0
configure:10073: ./conftest
configure:10073: $? = 0
configure:10083: result: 12
configure:10205: checking pthread.h usability
configure:10205: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:10205: $? = 0
configure:10205: result: yes
configure:10205: checking pthread.h presence
configure:10205: gcc -E -D_GNU_SOURCE conftest.c
configure:10205: $? = 0
configure:10205: result: yes
configure:10205: checking for pthread.h
configure:10205: result: yes
configure:10217: checking for pthread_create in -lpthread
configure:10242: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lpthread -lm >&5
configure:10242: $? = 0
configure:10251: result: yes
configure:10328: checking dlfcn.h usability
configure:10328: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c >&5
configure:10328: $? = 0
configure:10328: result: yes
configure:10328: checking dlfcn.h presence
configure:10328: gcc -E -D_GNU_SOURCE conftest.c
configure:10328: $? = 0
configure:10328: result: yes
configure:10328: checking for dlfcn.h
configure:10328: result: yes
configure:10333: checking for dlsym
configure:10333: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm -lpthread >&5
/tmp/ccDADF95.o: In function `main':
/usr/src/redis-stable/deps/jemalloc/conftest.c:101: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
configure:10333: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| /* Define dlsym to an innocuous variant, in case <limits.h> declares dlsym.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define dlsym innocuous_dlsym
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char dlsym (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef dlsym
|
| /* 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 dlsym ();
| /* 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_dlsym || defined __stub___dlsym
| choke me
| #endif
|
| int
| main ()
| {
| return dlsym ();
| ;
| return 0;
| }
configure:10333: result: no
configure:10337: checking for dlsym in -ldl
configure:10362: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -ldl -lm -lpthread >&5
configure:10362: $? = 0
configure:10371: result: yes
configure:10392: checking whether pthread_atfork(3) is compilable
configure:10412: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm -lpthread -ldl >&5
configure:10412: $? = 0
configure:10420: result: yes
configure:10428: checking whether pthread_setname_np(3) is compilable
configure:10448: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE conftest.c -lm -lpthread -ldl >&5
configure:10448: $? = 0
configure:10456: result: yes
configure:10474: checking for library containing clock_gettime
configure:10505: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:10505: $? = 0
configure:10522: result: none required
configure:10657: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable
configure:10679: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:10679: $? = 0
configure:10687: result: yes
configure:10696: checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable
configure:10722: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:10722: $? = 0
configure:10730: result: yes
configure:10739: checking whether mach_absolute_time() is compilable
configure:10759: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c:73:28: fatal error: mach/mach_time.h: No such file or directory
#include <mach/mach_time.h>
^
compilation terminated.
configure:10759: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| /* end confdefs.h. */
|
| #include <mach/mach_time.h>
|
| int
| main ()
| {
|
| mach_absolute_time();
|
| ;
| return 0;
| }
configure:10767: result: no
configure:10792: checking whether compiler supports -Werror
configure:10823: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
configure:10823: $? = 0
configure:10825: result: yes
configure:10843: checking whether syscall(2) is compilable
configure:10864: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:10864: $? = 0
configure:10872: result: yes
configure:10889: checking for secure_getenv
configure:10889: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:10889: $? = 0
configure:10889: result: yes
configure:10902: checking for sched_getcpu
configure:10902: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:10902: $? = 0
configure:10902: result: yes
configure:10915: checking for sched_setaffinity
configure:10915: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:10915: $? = 0
configure:10915: result: yes
configure:10928: checking for issetugid
configure:10928: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
/tmp/ccDtmO6r.o: In function `main':
/usr/src/redis-stable/deps/jemalloc/conftest.c:110: undefined reference to `issetugid'
collect2: error: ld returned 1 exit status
configure:10928: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| /* end confdefs.h. */
| /* Define issetugid to an innocuous variant, in case <limits.h> declares issetugid.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define issetugid innocuous_issetugid
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char issetugid (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #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:10928: result: no
configure:10941: checking for _malloc_thread_cleanup
configure:10941: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
/tmp/ccYWhmJw.o: In function `main':
/usr/src/redis-stable/deps/jemalloc/conftest.c:110: undefined reference to `_malloc_thread_cleanup'
collect2: error: ld returned 1 exit status
configure:10941: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| /* end confdefs.h. */
| /* Define _malloc_thread_cleanup to an innocuous variant, in case <limits.h> declares _malloc_thread_cleanup.
| For example, HP-UX 11i <limits.h> 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 <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #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:10941: result: no
configure:10956: checking for _pthread_mutex_init_calloc_cb
configure:10956: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
/tmp/ccJb6ztA.o: In function `main':
/usr/src/redis-stable/deps/jemalloc/conftest.c:110: undefined reference to `_pthread_mutex_init_calloc_cb'
collect2: error: ld returned 1 exit status
configure:10956: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| /* end confdefs.h. */
| /* Define _pthread_mutex_init_calloc_cb to an innocuous variant, in case <limits.h> declares _pthread_mutex_init_calloc_cb.
| For example, HP-UX 11i <limits.h> 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 <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #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:10956: result: no
configure:11015: checking for TLS
configure:11034: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
configure:11034: $? = 0
configure:11035: result: yes
configure:11056: checking whether C11 atomics is compilable
configure:11085: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c:82:2: error: #error Atomics not available
#error Atomics not available
^
conftest.c: In function 'main':
conftest.c:91:5: error: unknown type name 'atomic_uint_least64_t'
volatile atomic_uint_least64_t *a = (volatile atomic_uint_least64_t *)p;
^
conftest.c:91:5: error: unknown type name 'atomic_uint_least64_t'
conftest.c:92:5: warning: implicit declaration of function 'atomic_fetch_add' [-Wimplicit-function-declaration]
uint64_t r = atomic_fetch_add(a, x) + x;
^
configure:11085: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| /* end confdefs.h. */
|
| #include <stdint.h>
| #if (__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_ATOMICS__)
| #include <stdatomic.h>
| #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:11093: result: no
configure:11103: checking whether GCC __atomic atomics is compilable
configure:11126: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c: In function 'main':
conftest.c:85:9: warning: unused variable 'y' [-Wunused-variable]
int y = __atomic_fetch_add(&x, val, __ATOMIC_RELAXED);
^
configure:11126: $? = 0
configure:11134: result: yes
configure:11144: checking whether GCC __sync atomics is compilable
configure:11166: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:11166: $? = 0
configure:11174: result: yes
configure:11184: checking whether Darwin OSAtomic*() is compilable
configure:11214: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c:80:30: fatal error: libkern/OSAtomic.h: No such file or directory
#include <libkern/OSAtomic.h>
^
compilation terminated.
configure:11214: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| #define JEMALLOC_GCC_ATOMIC_ATOMICS 1
| #define JEMALLOC_GCC_SYNC_ATOMICS 1
| /* end confdefs.h. */
|
| #include <libkern/OSAtomic.h>
| #include <inttypes.h>
|
| 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:11222: result: no
configure:11232: checking whether madvise(2) is compilable
configure:11252: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:11252: $? = 0
configure:11260: result: yes
configure:11268: checking whether madvise(..., MADV_FREE) is compilable
configure:11288: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c: In function 'main':
conftest.c:87:24: error: 'MADV_FREE' undeclared (first use in this function)
madvise((void *)0, 0, MADV_FREE);
^
conftest.c:87:24: note: each undeclared identifier is reported only once for each function it appears in
configure:11288: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| #define JEMALLOC_GCC_ATOMIC_ATOMICS 1
| #define JEMALLOC_GCC_SYNC_ATOMICS 1
| #define JEMALLOC_HAVE_MADVISE
| /* end confdefs.h. */
|
| #include <sys/mman.h>
|
| int
| main ()
| {
|
| madvise((void *)0, 0, MADV_FREE);
|
| ;
| return 0;
| }
configure:11296: result: no
configure:11316: checking whether madvise(..., MADV_DONTNEED) is compilable
configure:11336: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:11336: $? = 0
configure:11344: result: yes
configure:11353: checking whether madvise(..., MADV_DO[NT]DUMP) is compilable
configure:11374: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:11374: $? = 0
configure:11382: result: yes
configure:11391: checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable
configure:11412: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:11412: $? = 0
configure:11420: result: yes
configure:11440: checking whether to force 32-bit __sync_{add,sub}_and_fetch()
configure:11468: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c: In function 'main':
conftest.c:99:51: error: #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
^
configure:11468: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| #define JEMALLOC_GCC_ATOMIC_ATOMICS 1
| #define JEMALLOC_GCC_SYNC_ATOMICS 1
| #define JEMALLOC_HAVE_MADVISE
| #define JEMALLOC_PURGE_MADVISE_FREE
| #define JEMALLOC_DEFINE_MADVISE_FREE
| #define JEMALLOC_PURGE_MADVISE_DONTNEED
| #define JEMALLOC_MADVISE_DONTDUMP
| #define JEMALLOC_HAVE_MADVISE_HUGE
| /* end confdefs.h. */
|
| #include <stdint.h>
|
| 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:11476: result: no
configure:11485: checking whether to force 64-bit __sync_{add,sub}_and_fetch()
configure:11513: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c: In function 'main':
conftest.c:99:51: error: #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
^
configure:11513: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| #define JEMALLOC_GCC_ATOMIC_ATOMICS 1
| #define JEMALLOC_GCC_SYNC_ATOMICS 1
| #define JEMALLOC_HAVE_MADVISE
| #define JEMALLOC_PURGE_MADVISE_FREE
| #define JEMALLOC_DEFINE_MADVISE_FREE
| #define JEMALLOC_PURGE_MADVISE_DONTNEED
| #define JEMALLOC_MADVISE_DONTDUMP
| #define JEMALLOC_HAVE_MADVISE_HUGE
| /* end confdefs.h. */
|
| #include <stdint.h>
|
| 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:11521: result: no
configure:11532: checking for __builtin_clz
configure:11557: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c: In function 'main':
conftest.c:92:61: warning: unused variable 'y' [-Wunused-variable]
int y = __builtin_clz(x);
^
conftest.c:96:61: warning: unused variable 'y' [-Wunused-variable]
int y = __builtin_clzl(x);
^
configure:11557: $? = 0
configure:11565: result: yes
configure:11575: checking whether Darwin os_unfair_lock_*() is compilable
configure:11602: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c:87:21: fatal error: os/lock.h: No such file or directory
#include <os/lock.h>
^
compilation terminated.
configure:11602: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| #define JEMALLOC_GCC_ATOMIC_ATOMICS 1
| #define JEMALLOC_GCC_SYNC_ATOMICS 1
| #define JEMALLOC_HAVE_MADVISE
| #define JEMALLOC_PURGE_MADVISE_FREE
| #define JEMALLOC_DEFINE_MADVISE_FREE
| #define JEMALLOC_PURGE_MADVISE_DONTNEED
| #define JEMALLOC_MADVISE_DONTDUMP
| #define JEMALLOC_HAVE_MADVISE_HUGE
| #define JEMALLOC_HAVE_BUILTIN_CLZ
| /* end confdefs.h. */
|
| #include <os/lock.h>
| #include <AvailabilityMacros.h>
|
| int
| main ()
| {
|
| #if MAC_OS_X_VERSION_MIN_REQUIRED < 101200
| #error "os_unfair_lock is not supported"
| #else
| os_unfair_lock lock = OS_UNFAIR_LOCK_INIT;
| os_unfair_lock_lock(&lock);
| os_unfair_lock_unlock(&lock);
| #endif
|
| ;
| return 0;
| }
configure:11610: result: no
configure:11620: checking whether Darwin OSSpin*() is compilable
configure:11643: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c:87:30: fatal error: libkern/OSAtomic.h: No such file or directory
#include <libkern/OSAtomic.h>
^
compilation terminated.
configure:11643: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| #define JEMALLOC_GCC_ATOMIC_ATOMICS 1
| #define JEMALLOC_GCC_SYNC_ATOMICS 1
| #define JEMALLOC_HAVE_MADVISE
| #define JEMALLOC_PURGE_MADVISE_FREE
| #define JEMALLOC_DEFINE_MADVISE_FREE
| #define JEMALLOC_PURGE_MADVISE_DONTNEED
| #define JEMALLOC_MADVISE_DONTDUMP
| #define JEMALLOC_HAVE_MADVISE_HUGE
| #define JEMALLOC_HAVE_BUILTIN_CLZ
| /* end confdefs.h. */
|
| #include <libkern/OSAtomic.h>
| #include <inttypes.h>
|
| int
| main ()
| {
|
| OSSpinLock lock = 0;
| OSSpinLockLock(&lock);
| OSSpinLockUnlock(&lock);
|
| ;
| return 0;
| }
configure:11651: result: no
configure:11720: checking whether glibc malloc hook is compilable
configure:11747: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:11747: $? = 0
configure:11755: result: yes
configure:11767: checking whether glibc memalign hook is compilable
configure:11790: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
conftest.c: In function 'main':
conftest.c:97:9: warning: variable 'ptr' set but not used [-Wunused-but-set-variable]
void *ptr = 0L;
^
configure:11790: $? = 0
configure:11798: result: yes
configure:11810: checking whether pthreads adaptive mutexes is compilable
configure:11833: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:11833: $? = 0
configure:11841: result: yes
configure:11852: checking whether compiler supports -D_GNU_SOURCE
configure:11883: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -D_GNU_SOURCE -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
configure:11883: $? = 0
configure:11885: result: yes
configure:11903: checking whether compiler supports -Werror
configure:11934: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -D_GNU_SOURCE -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
configure:11934: $? = 0
configure:11936: result: yes
configure:11954: checking whether compiler supports -herror_on_warning
configure:11985: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -D_GNU_SOURCE -Werror -herror_on_warning -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
gcc: error: unrecognized command line option '-h'
configure:11985: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| #define JEMALLOC_GCC_ATOMIC_ATOMICS 1
| #define JEMALLOC_GCC_SYNC_ATOMICS 1
| #define JEMALLOC_HAVE_MADVISE
| #define JEMALLOC_PURGE_MADVISE_FREE
| #define JEMALLOC_DEFINE_MADVISE_FREE
| #define JEMALLOC_PURGE_MADVISE_DONTNEED
| #define JEMALLOC_MADVISE_DONTDUMP
| #define JEMALLOC_HAVE_MADVISE_HUGE
| #define JEMALLOC_HAVE_BUILTIN_CLZ
| #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
| #define JEMALLOC_BACKGROUND_THREAD 1
| #define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
| /* end confdefs.h. */
|
|
| int
| main ()
| {
|
| return 0;
|
| ;
| return 0;
| }
configure:11991: result: no
configure:12005: checking whether strerror_r returns char with gnu source is compilable
configure:12030: gcc -o conftest -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -D_GNU_SOURCE -Werror -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c -lm -lpthread -ldl >&5
configure:12030: $? = 0
configure:12038: result: yes
configure:12054: checking for stdbool.h that conforms to C99
configure:12121: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
conftest.c: In function 'main':
conftest.c:139:14: warning: the address of 's' will always evaluate as 'true' [-Waddress]
bool e = &s;
^
conftest.c:143:22: warning: the address of 'a' will always evaluate as 'true' [-Waddress]
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
conftest.c:143:27: warning: the address of 'b' will always evaluate as 'true' [-Waddress]
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
conftest.c:143:32: warning: the address of 'c' will always evaluate as 'true' [-Waddress]
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
conftest.c:143:37: warning: the address of 'd' will always evaluate as 'true' [-Waddress]
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
conftest.c:143:47: warning: the address of 'f' will always evaluate as 'true' [-Waddress]
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
conftest.c:143:52: warning: the address of 'g' will always evaluate as 'true' [-Waddress]
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
conftest.c:143:57: warning: the address of 'h' will always evaluate as 'true' [-Waddress]
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
conftest.c:143:62: warning: the address of 'i' will always evaluate as 'true' [-Waddress]
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
conftest.c:144:29: warning: the address of 'n' will always evaluate as 'true' [-Waddress]
^
conftest.c:144:34: warning: the address of 'o' will always evaluate as 'true' [-Waddress]
^
conftest.c:144:39: warning: the address of 'p' will always evaluate as 'true' [-Waddress]
^
configure:12121: $? = 0
configure:12128: result: yes
configure:12130: checking for _Bool
configure:12130: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
configure:12130: $? = 0
configure:12130: gcc -c -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
conftest.c: In function 'main':
conftest.c:126:20: error: expected expression before ')' token
if (sizeof ((_Bool)))
^
configure:12130: $? = 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 JEMALLOC_HAS_RESTRICT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define 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_LONG_LONG 8
| #define LG_SIZEOF_LONG_LONG 3
| #define SIZEOF_INTMAX_T 8
| #define LG_SIZEOF_INTMAX_T 3
| #define HAVE_CPU_SPINWAIT 1
| #define CPU_SPINWAIT __asm__ volatile("pause")
| #define LG_VADDR 48
| #define LG_VADDR 48
| #define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
| #define JEMALLOC_HAS_ALLOCA_H 1
| #define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
| #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_HAVE_ATTR_ALLOC_SIZE
| #define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
| #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
| #define JEMALLOC_PREFIX "je_"
| #define JEMALLOC_CPREFIX "JE_"
| #define JEMALLOC_OVERRIDE_MEMALIGN
| #define JEMALLOC_OVERRIDE_VALLOC
| #define JEMALLOC_PRIVATE_NAMESPACE je_
| #define JEMALLOC_CONFIG_MALLOC_CONF ""
| #define JEMALLOC_STATS
| #define JEMALLOC_MAPS_COALESCE
| #define JEMALLOC_RETAIN
| #define JEMALLOC_DSS
| #define JEMALLOC_FILL
| #define JEMALLOC_CACHE_OBLIVIOUS
| #define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
| #define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
| #define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
| #define JEMALLOC_INTERNAL_FFS __builtin_ffs
| #define LG_QUANTUM 3
| #define LG_PAGE 12
| #define LG_HUGEPAGE 21
| #define JEMALLOC_HAVE_PTHREAD
| #define HAVE_PTHREAD_H 1
| #define HAVE_DLFCN_H 1
| #define JEMALLOC_HAVE_DLSYM
| #define JEMALLOC_HAVE_PTHREAD_ATFORK
| #define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
| #define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
| #define JEMALLOC_USE_SYSCALL
| #define JEMALLOC_HAVE_SECURE_GETENV
| #define JEMALLOC_HAVE_SCHED_GETCPU
| #define JEMALLOC_HAVE_SCHED_SETAFFINITY
| #define JEMALLOC_TLS
| #define JEMALLOC_GCC_ATOMIC_ATOMICS 1
| #define JEMALLOC_GCC_SYNC_ATOMICS 1
| #define JEMALLOC_HAVE_MADVISE
| #define JEMALLOC_PURGE_MADVISE_FREE
| #define JEMALLOC_DEFINE_MADVISE_FREE
| #define JEMALLOC_PURGE_MADVISE_DONTNEED
| #define JEMALLOC_MADVISE_DONTDUMP
| #define JEMALLOC_HAVE_MADVISE_HUGE
| #define JEMALLOC_HAVE_BUILTIN_CLZ
| #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
| #define JEMALLOC_BACKGROUND_THREAD 1
| #define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
| #define JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((_Bool)))
| return 0;
| ;
| return 0;
| }
configure:12130: result: yes
configure:12297: 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 server.optisoft.com.ng
config.status:1059: creating Makefile
config.status:1059: creating jemalloc.pc
config.status:1059: creating doc/html.xsl
config.status:1059: creating doc/manpages.xsl
config.status:1059: creating doc/jemalloc.xml
config.status:1059: creating include/jemalloc/jemalloc_macros.h
config.status:1059: creating include/jemalloc/jemalloc_protos.h
config.status:1059: creating include/jemalloc/jemalloc_typedefs.h
config.status:1059: creating include/jemalloc/internal/jemalloc_preamble.h
config.status:1059: creating test/test.sh
config.status:1059: creating test/include/test/jemalloc_test.h
config.status:1059: creating config.stamp
config.status:1059: creating bin/jemalloc-config
config.status:1059: creating bin/jemalloc.sh
config.status:1059: creating bin/jeprof
config.status:1059: creating include/jemalloc/jemalloc_defs.h
config.status:1059: creating include/jemalloc/internal/jemalloc_internal_defs.h
config.status:1059: creating test/include/test/jemalloc_test_defs.h
config.status:1248: executing include/jemalloc/internal/public_symbols.txt commands
config.status:1248: executing include/jemalloc/internal/private_symbols.awk commands
config.status:1248: executing include/jemalloc/internal/private_symbols_jet.awk commands
config.status:1248: executing include/jemalloc/internal/public_namespace.h commands
config.status:1248: executing include/jemalloc/internal/public_unnamespace.h commands
config.status:1248: executing include/jemalloc/internal/size_classes.h commands
config.status:1248: executing include/jemalloc/jemalloc_protos_jet.h commands
config.status:1248: executing include/jemalloc/jemalloc_rename.h commands
config.status:1248: executing include/jemalloc/jemalloc_mangle.h commands
config.status:1248: executing include/jemalloc/jemalloc_mangle_jet.h commands
config.status:1248: executing include/jemalloc/jemalloc.h commands
configure:13606: WARNING: unrecognized options: --enable-cc-silence
configure:13611: result: ===============================================================================
configure:13613: result: jemalloc version : 5.1.0-0-g0
configure:13615: result: library revision : 2
configure:13617: result:
configure:13619: result: CONFIG : --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence 'CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops ' LDFLAGS=
configure:13621: result: CC : gcc
configure:13623: result: CONFIGURE_CFLAGS : -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops
configure:13625: result: SPECIFIED_CFLAGS : -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops
configure:13627: result: EXTRA_CFLAGS :
configure:13629: result: CPPFLAGS : -D_GNU_SOURCE -D_REENTRANT
configure:13631: result: CXX : g++
configure:13633: result: CONFIGURE_CXXFLAGS : -fvisibility=hidden -O3
configure:13635: result: SPECIFIED_CXXFLAGS :
configure:13637: result: EXTRA_CXXFLAGS :
configure:13639: result: LDFLAGS :
configure:13641: result: EXTRA_LDFLAGS :
configure:13643: result: DSO_LDFLAGS : -shared -Wl,-soname,$(@F)
configure:13645: result: LIBS : -lm -lpthread -ldl
configure:13647: result: RPATH_EXTRA :
configure:13649: result:
configure:13651: result: XSLTPROC : /usr/bin/xsltproc
configure:13653: result: XSLROOT :
configure:13655: result:
configure:13657: result: PREFIX : /usr/local
configure:13659: result: BINDIR : /usr/local/bin
configure:13661: result: DATADIR : /usr/local/share
configure:13663: result: INCLUDEDIR : /usr/local/include
configure:13665: result: LIBDIR : /usr/local/lib
configure:13667: result: MANDIR : /usr/local/share/man
configure:13669: result:
configure:13671: result: srcroot :
configure:13673: result: abs_srcroot : /usr/src/redis-stable/deps/jemalloc/
configure:13675: result: objroot :
configure:13677: result: abs_objroot : /usr/src/redis-stable/deps/jemalloc/
configure:13679: result:
configure:13681: result: JEMALLOC_PREFIX : je_
configure:13683: result: JEMALLOC_PRIVATE_NAMESPACE
configure:13685: result: : je_
configure:13687: result: install_suffix :
configure:13689: result: malloc_conf :
configure:13691: result: autogen : 0
configure:13693: result: debug : 0
configure:13695: result: stats : 1
configure:13697: result: prof : 0
configure:13699: result: prof-libunwind : 0
configure:13701: result: prof-libgcc : 0
configure:13703: result: prof-gcc : 0
configure:13705: result: fill : 1
configure:13707: result: utrace : 0
configure:13709: result: xmalloc : 0
configure:13711: result: log : 0
configure:13713: result: lazy_lock : 0
configure:13715: result: cache-oblivious : 1
configure:13717: result: cxx : 0
configure:13719: result: ===============================================================================
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_big_endian=0
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops '
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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_dlsym=no
ac_cv_func_issetugid=no
ac_cv_func_memalign=yes
ac_cv_func_sbrk=yes
ac_cv_func_sched_getcpu=yes
ac_cv_func_sched_setaffinity=yes
ac_cv_func_secure_getenv=yes
ac_cv_func_valloc=yes
ac_cv_header_dlfcn_h=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-pc-linux-gnu
ac_cv_lib_dl_dlsym=yes
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_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_NM=nm
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_search_clock_gettime='none required'
ac_cv_search_log=-lm
ac_cv_sizeof_int=4
ac_cv_sizeof_intmax_t=8
ac_cv_sizeof_long=8
ac_cv_sizeof_long_long=8
ac_cv_sizeof_void_p=8
ac_cv_type__Bool=yes
ax_cv_cxx_compile_cxx14=no
ax_cv_cxx_compile_cxx14__h_std_cpp14=no
ax_cv_cxx_compile_cxx14__std_cpp0x=no
ax_cv_cxx_compile_cxx14__std_cpp14=no
ax_cv_cxx_compile_cxx14_pstd_cpp14=no
je_cv_alloc_size=yes
je_cv_attribute=yes
je_cv_builtin_clz=yes
je_cv_c11_atomics=no
je_cv_cflags_added=
je_cv_clock_monotonic=yes
je_cv_clock_monotonic_coarse=yes
je_cv_cray=no
je_cv_cray_prgenv_wrapper=
je_cv_cxxflags_added=-O3
je_cv_format_gnu_printf=yes
je_cv_format_printf=yes
je_cv_gcc_atomic_atomics=yes
je_cv_gcc_builtin_ffsl=yes
je_cv_gcc_builtin_unreachable=yes
je_cv_gcc_sync_atomics=yes
je_cv_glibc_malloc_hook=yes
je_cv_glibc_memalign_hook=yes
je_cv_lg_hugepage=21
je_cv_lg_page=12
je_cv_lg_vaddr=48
je_cv_mach_absolute_time=no
je_cv_madv_dontdump=yes
je_cv_madv_dontneed=yes
je_cv_madv_free=no
je_cv_madvise=yes
je_cv_os_unfair_lock=no
je_cv_osatomic=no
je_cv_osspin=no
je_cv_pause=yes
je_cv_pthread_atfork=yes
je_cv_pthread_mutex_adaptive_np=yes
je_cv_pthread_setname_np=yes
je_cv_strerror_r_returns_char_with_gnu_source=yes
je_cv_sync_compare_and_swap_4=no
je_cv_sync_compare_and_swap_8=no
je_cv_syscall=yes
je_cv_thp=yes
je_cv_tls_model=yes
je_cv_utrace=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='ar'
ARFLAGS='crus'
AROUT=' $@'
AUTOCONF='/usr/bin/autoconf'
AWK='gawk'
BINDIR='/usr/local/bin'
CC='gcc'
CC_MM='1'
CFLAGS='-std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops '
CONFIG='--with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence '\''CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops '\'' LDFLAGS='
CONFIGURE_CFLAGS='-std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops'
CONFIGURE_CXXFLAGS='-fvisibility=hidden -O3'
CPP='gcc -E'
CPPFLAGS='-D_GNU_SOURCE -D_REENTRANT'
CTARGET='-o $@'
CXX='g++'
CXXFLAGS='-fvisibility=hidden -O3'
DATADIR='/usr/local/share'
DEFS='-DHAVE_CONFIG_H'
DSO_LDFLAGS='-shared -Wl,-soname,$(@F)'
DUMP_SYMS='nm -a'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_CXXFLAGS=''
EXTRA_LDFLAGS=''
GREP='/usr/bin/grep'
HAVE_CXX14='0'
INCLUDEDIR='/usr/local/include'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
JEMALLOC_CPREFIX='JE_'
JEMALLOC_PREFIX='je_'
LD='/usr/bin/ld'
LDFLAGS=''
LDTARGET='-o $@'
LD_PRELOAD_VAR='LD_PRELOAD'
LIBDIR='/usr/local/lib'
LIBOBJS=''
LIBS='-lm -lpthread -ldl'
LM='-lm'
LTLIBOBJS=''
MANDIR='/usr/local/share/man'
MKLIB=''
NM='nm'
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'
SPECIFIED_CFLAGS='-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops '
SPECIFIED_CXXFLAGS=''
TEST_LD_MODE=''
XSLROOT=''
XSLTPROC='/usr/bin/xsltproc'
a='a'
abi='elf'
abs_objroot='/usr/src/redis-stable/deps/jemalloc/'
abs_srcroot='/usr/src/redis-stable/deps/jemalloc/'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
cfghdrs_in='include/jemalloc/jemalloc_defs.h.in include/jemalloc/internal/jemalloc_internal_defs.h.in include/jemalloc/internal/private_symbols.sh include/jemalloc/internal/private_namespace.sh 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_symbols.awk include/jemalloc/internal/private_symbols_jet.awk 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_preamble.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_preamble.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_cxx='0'
enable_debug='0'
enable_fill='1'
enable_initial_exec_tls='1'
enable_lazy_lock='0'
enable_log='0'
enable_prof='0'
enable_stats='1'
enable_tls='1'
enable_utrace='0'
enable_xmalloc='0'
enable_zone_allocator=''
exe=''
exec_prefix='/usr/local'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
importlib='so'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_suffix=''
je_='je_'
jemalloc_version='5.1.0-0-g0'
jemalloc_version_bugfix='0'
jemalloc_version_gid='0'
jemalloc_version_major='5'
jemalloc_version_minor='1'
jemalloc_version_nrev='0'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libprefix='lib'
link_whole_archive='0'
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 JEMALLOC_HAS_RESTRICT 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define 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_LONG_LONG 8
#define LG_SIZEOF_LONG_LONG 3
#define SIZEOF_INTMAX_T 8
#define LG_SIZEOF_INTMAX_T 3
#define HAVE_CPU_SPINWAIT 1
#define CPU_SPINWAIT __asm__ volatile("pause")
#define LG_VADDR 48
#define LG_VADDR 48
#define JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
#define JEMALLOC_HAS_ALLOCA_H 1
#define JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY
#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_HAVE_ATTR_ALLOC_SIZE
#define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
#define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
#define JEMALLOC_PREFIX "je_"
#define JEMALLOC_CPREFIX "JE_"
#define JEMALLOC_OVERRIDE_MEMALIGN
#define JEMALLOC_OVERRIDE_VALLOC
#define JEMALLOC_PRIVATE_NAMESPACE je_
#define JEMALLOC_CONFIG_MALLOC_CONF ""
#define JEMALLOC_STATS
#define JEMALLOC_MAPS_COALESCE
#define JEMALLOC_RETAIN
#define JEMALLOC_DSS
#define JEMALLOC_FILL
#define JEMALLOC_CACHE_OBLIVIOUS
#define JEMALLOC_INTERNAL_UNREACHABLE __builtin_unreachable
#define JEMALLOC_INTERNAL_FFSLL __builtin_ffsll
#define JEMALLOC_INTERNAL_FFSL __builtin_ffsl
#define JEMALLOC_INTERNAL_FFS __builtin_ffs
#define LG_QUANTUM 3
#define LG_PAGE 12
#define LG_HUGEPAGE 21
#define JEMALLOC_HAVE_PTHREAD
#define HAVE_PTHREAD_H 1
#define HAVE_DLFCN_H 1
#define JEMALLOC_HAVE_DLSYM
#define JEMALLOC_HAVE_PTHREAD_ATFORK
#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
#define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
#define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
#define JEMALLOC_USE_SYSCALL
#define JEMALLOC_HAVE_SECURE_GETENV
#define JEMALLOC_HAVE_SCHED_GETCPU
#define JEMALLOC_HAVE_SCHED_SETAFFINITY
#define JEMALLOC_TLS
#define JEMALLOC_GCC_ATOMIC_ATOMICS 1
#define JEMALLOC_GCC_SYNC_ATOMICS 1
#define JEMALLOC_HAVE_MADVISE
#define JEMALLOC_PURGE_MADVISE_FREE
#define JEMALLOC_DEFINE_MADVISE_FREE
#define JEMALLOC_PURGE_MADVISE_DONTNEED
#define JEMALLOC_MADVISE_DONTDUMP
#define JEMALLOC_HAVE_MADVISE_HUGE
#define JEMALLOC_HAVE_BUILTIN_CLZ
#define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
#define JEMALLOC_BACKGROUND_THREAD 1
#define JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
#define JEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE
#define HAVE__BOOL 1
#define HAVE_STDBOOL_H 1
configure: exit 0