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 ## --------- ## ## Platform. ## ## --------- ## hostname = air uname -m = x86_64 uname -r = 18.2.0 uname -s = Darwin uname -v = Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 Kernel configured for up to 4 processors. 2 processors are physically available. 4 processors are logically available. Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 Primary memory available: 8.00 gigabytes Default processor set: 425 tasks, 2005 threads, 4 processors Load average: 2.08, Mach factor: 1.91 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /Users/gnzlbg/.cargo/bin PATH: /usr/local/bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /Users/gnzlbg/.cargo/bin PATH: /usr/local/bin PATH: /usr/local/sbin PATH: /usr/local/opt PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /bin PATH: /Library/TeX/texbin PATH: /opt/X11/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2658: checking for xsltproc configure:2676: found /usr/bin/xsltproc configure:2689: result: /usr/bin/xsltproc configure:2773: checking for gcc configure:2800: result: /usr/bin/clang configure:3029: checking for C compiler version configure:3038: /usr/bin/clang --version >&5 Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darwin18.2.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin configure:3049: $? = 0 configure:3038: /usr/bin/clang -v >&5 Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darwin18.2.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Found CUDA installation: /usr/local/cuda, version unknown configure:3049: $? = 0 configure:3038: /usr/bin/clang -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:3049: $? = 1 configure:3038: /usr/bin/clang -qversion >&5 clang: error: unknown argument: '-qversion' clang: error: no input files configure:3049: $? = 1 configure:3069: checking whether the C compiler works configure:3091: /usr/bin/clang conftest.c >&5 configure:3095: $? = 0 configure:3143: result: yes configure:3146: checking for C compiler default output file name configure:3148: result: a.out configure:3154: checking for suffix of executables configure:3161: /usr/bin/clang -o conftest conftest.c >&5 configure:3165: $? = 0 configure:3187: result: configure:3209: checking whether we are cross compiling configure:3217: /usr/bin/clang -o conftest conftest.c >&5 configure:3221: $? = 0 configure:3228: ./conftest configure:3232: $? = 0 configure:3247: result: no configure:3252: checking for suffix of object files configure:3274: /usr/bin/clang -c conftest.c >&5 configure:3278: $? = 0 configure:3299: result: o configure:3303: checking whether we are using the GNU C compiler configure:3322: /usr/bin/clang -c conftest.c >&5 configure:3322: $? = 0 configure:3331: result: yes configure:3340: checking whether /usr/bin/clang accepts -g configure:3360: /usr/bin/clang -c -g conftest.c >&5 configure:3360: $? = 0 configure:3401: result: yes configure:3418: checking for /usr/bin/clang option to accept ISO C89 configure:3481: /usr/bin/clang -c conftest.c >&5 configure:3481: $? = 0 configure:3494: result: none needed configure:3559: checking whether compiler is cray configure:3579: /usr/bin/clang -c conftest.c >&5 conftest.c:15:11: error: expected ';' at end of declaration int fail-1; ^ ; 1 error generated. configure:3579: $? = 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:3586: result: no configure:3623: checking whether compiler supports -std=gnu11 configure:3654: /usr/bin/clang -c -std=gnu11 conftest.c >&5 configure:3654: $? = 0 configure:3656: result: yes configure:3738: checking whether compiler supports -Wall configure:3769: /usr/bin/clang -c -std=gnu11 -Wall conftest.c >&5 configure:3769: $? = 0 configure:3771: result: yes configure:3789: checking whether compiler supports -Wextra configure:3820: /usr/bin/clang -c -std=gnu11 -Wall -Wextra conftest.c >&5 configure:3820: $? = 0 configure:3822: result: yes configure:3840: checking whether compiler supports -Wshorten-64-to-32 configure:3871: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 conftest.c >&5 configure:3871: $? = 0 configure:3873: result: yes configure:3891: checking whether compiler supports -Wsign-compare configure:3922: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare conftest.c >&5 configure:3922: $? = 0 configure:3924: result: yes configure:3942: checking whether compiler supports -Wundef configure:3973: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef conftest.c >&5 configure:3973: $? = 0 configure:3975: result: yes configure:3993: checking whether compiler supports -Wno-format-zero-length configure:4024: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length conftest.c >&5 configure:4024: $? = 0 configure:4026: result: yes configure:4044: checking whether compiler supports -pipe configure:4075: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe conftest.c >&5 configure:4075: $? = 0 configure:4077: result: yes configure:4095: checking whether compiler supports -g3 configure:4126: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:4126: $? = 0 configure:4128: result: yes configure:4576: checking how to run the C preprocessor configure:4607: /usr/bin/clang -E conftest.c configure:4607: $? = 0 configure:4621: /usr/bin/clang -E conftest.c conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. configure:4621: $? = 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 configure:4646: result: /usr/bin/clang -E configure:4666: /usr/bin/clang -E conftest.c configure:4666: $? = 0 configure:4680: /usr/bin/clang -E conftest.c conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. configure:4680: $? = 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 configure:4897: checking for C++ compiler version configure:4906: /usr/bin/clang++ --version >&5 Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darwin18.2.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin configure:4917: $? = 0 configure:4906: /usr/bin/clang++ -v >&5 Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darwin18.2.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Found CUDA installation: /usr/local/cuda, version unknown configure:4917: $? = 0 configure:4906: /usr/bin/clang++ -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:4917: $? = 1 configure:4906: /usr/bin/clang++ -qversion >&5 clang: error: unknown argument: '-qversion' clang: error: no input files configure:4917: $? = 1 configure:4921: checking whether we are using the GNU C++ compiler configure:4940: /usr/bin/clang++ -c conftest.cpp >&5 configure:4940: $? = 0 configure:4949: result: yes configure:4958: checking whether /usr/bin/clang++ accepts -g configure:4978: /usr/bin/clang++ -c -g conftest.cpp >&5 configure:4978: $? = 0 configure:5019: result: yes configure:5050: checking whether /usr/bin/clang++ supports C++14 features by default configure:5464: /usr/bin/clang++ -c -g -O2 conftest.cpp >&5 conftest.cpp:21:2: error: "This is not a C++11 compiler" #error "This is not a C++11 compiler" ^ conftest.cpp:306:2: error: "This is not a C++14 compiler" #error "This is not a C++14 compiler" ^ 2 errors generated. configure:5464: $? = 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 | 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 single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> 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 | { | 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::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::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 | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::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 | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(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 | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | configure:5471: result: no configure:5482: checking whether /usr/bin/clang++ supports C++14 features with -std=c++14 configure:5898: /usr/bin/clang++ -std=c++14 -c -g -O2 conftest.cpp >&5 configure:5898: $? = 0 configure:5907: result: yes configure:5944: checking whether compiler supports -Wall configure:5981: /usr/bin/clang++ -std=c++14 -c -Wall conftest.cpp >&5 configure:5981: $? = 0 configure:5983: result: yes configure:6007: checking whether compiler supports -Wextra configure:6044: /usr/bin/clang++ -std=c++14 -c -Wall -Wextra conftest.cpp >&5 configure:6044: $? = 0 configure:6046: result: yes configure:6070: checking whether compiler supports -g3 configure:6107: /usr/bin/clang++ -std=c++14 -c -Wall -Wextra -g3 conftest.cpp >&5 configure:6107: $? = 0 configure:6109: result: yes configure:6143: checking whether libstdc++ linkage is compilable configure:6165: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:6165: $? = 0 configure:6173: result: yes configure:6189: checking for grep that handles long lines and -e configure:6247: result: /usr/local/bin/ggrep configure:6252: checking for egrep configure:6314: result: /usr/local/bin/ggrep -E configure:6319: checking for ANSI C header files configure:6339: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6339: $? = 0 configure:6412: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:6412: $? = 0 configure:6412: ./conftest configure:6412: $? = 0 configure:6423: result: yes configure:6436: checking for sys/types.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6436: checking for sys/stat.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6436: checking for stdlib.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6436: checking for string.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6436: checking for memory.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6436: checking for strings.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6436: checking for inttypes.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6436: checking for stdint.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6436: checking for unistd.h configure:6436: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6436: $? = 0 configure:6436: result: yes configure:6448: checking whether byte ordering is bigendian configure:6463: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6463: $? = 0 configure:6508: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 configure:6508: $? = 0 configure:6526: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 conftest.c:28:4: error: use of undeclared identifier 'not' not big endian ^ 1 error generated. configure:6526: $? = 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 HAVE_CXX14 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 | #include | | int | main () | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:6654: result: no configure:6698: checking size of void * configure:6703: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:6703: $? = 0 configure:6703: ./conftest configure:6703: $? = 0 configure:6717: result: 8 configure:6744: checking size of int configure:6749: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:6749: $? = 0 configure:6749: ./conftest configure:6749: $? = 0 configure:6763: result: 4 configure:6789: checking size of long configure:6794: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:6794: $? = 0 configure:6794: ./conftest configure:6794: $? = 0 configure:6808: result: 8 configure:6834: checking size of long long configure:6839: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:6839: $? = 0 configure:6839: ./conftest configure:6839: $? = 0 configure:6853: result: 8 configure:6879: checking size of intmax_t configure:6884: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:6884: $? = 0 configure:6884: ./conftest configure:6884: $? = 0 configure:6898: result: 8 configure:6926: checking build system type configure:6940: result: x86_64-apple-darwin18.2.0 configure:6960: checking host system type configure:6973: result: x86_64-apple-darwin18.2.0 configure:7039: checking whether pause instruction is compilable configure:7055: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:7055: $? = 0 configure:7063: result: yes configure:7113: checking number of significant virtual address bits configure:7164: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:7164: $? = 0 configure:7164: ./conftest configure:7164: $? = 0 configure:7174: result: 48 configure:7286: checking for ar configure:7302: found /usr/local/bin/ar configure:7313: result: ar configure:7382: checking for nm configure:7398: found /usr/local/bin/nm configure:7409: result: nm configure:7436: checking for gawk configure:7452: found /usr/local/bin/gawk configure:7463: result: gawk configure:7512: result: Missing VERSION file, and unable to generate it; creating bogus VERSION configure:7732: checking malloc.h usability configure:7732: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c >&5 conftest.c:68:10: fatal error: 'malloc.h' file not found #include ^~~~~~~~~~ 1 error generated. configure:7732: $? = 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 HAVE_CXX14 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 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:7732: result: no configure:7732: checking malloc.h presence configure:7732: /usr/bin/clang -E conftest.c conftest.c:35:10: fatal error: 'malloc.h' file not found #include ^~~~~~~~~~ 1 error generated. configure:7732: $? = 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 HAVE_CXX14 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 | /* end confdefs.h. */ | #include configure:7732: result: no configure:7732: checking for malloc.h configure:7732: result: no configure:7799: checking for library containing log configure:7830: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 conftest.c:43:6: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] char log (); ^ conftest.c:43:6: note: 'log' is a builtin with type 'double (double)' 1 warning generated. configure:7830: $? = 0 configure:7847: result: none required configure:7865: checking whether __attribute__ syntax is compilable configure:7881: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:7881: $? = 0 configure:7889: result: yes configure:8015: checking whether compiler supports -Werror configure:8046: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror conftest.c >&5 configure:8046: $? = 0 configure:8048: result: yes configure:8066: checking whether compiler supports -herror_on_warning configure:8097: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror -herror_on_warning conftest.c >&5 clang: error: unknown argument: '-herror_on_warning' configure:8097: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:8103: result: no configure:8117: checking whether tls_model attribute is compilable configure:8135: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror conftest.c -lstdc++ >&5 configure:8135: $? = 0 configure:8143: result: yes configure:8158: checking whether compiler supports -Werror configure:8189: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror conftest.c >&5 configure:8189: $? = 0 configure:8191: result: yes configure:8209: checking whether compiler supports -herror_on_warning configure:8240: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror -herror_on_warning conftest.c >&5 clang: error: unknown argument: '-herror_on_warning' configure:8240: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:8246: result: no configure:8260: checking whether alloc_size attribute is compilable configure:8276: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror conftest.c -lstdc++ >&5 configure:8276: $? = 0 configure:8284: result: yes configure:8302: checking whether compiler supports -Werror configure:8333: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror conftest.c >&5 configure:8333: $? = 0 configure:8335: result: yes configure:8353: checking whether compiler supports -herror_on_warning configure:8384: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror -herror_on_warning conftest.c >&5 clang: error: unknown argument: '-herror_on_warning' configure:8384: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:8390: result: no configure:8404: checking whether format(gnu_printf, ...) attribute is compilable configure:8420: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror conftest.c -lstdc++ >&5 conftest.c:42:51: error: 'format' attribute argument not supported: gnu_printf [-Werror,-Wignored-attributes] void *foo(const char *format, ...) __attribute__((format(gnu_printf, 1, 2))); ^ 1 error generated. configure:8420: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | /* end confdefs.h. */ | #include | int | main () | { | void *foo(const char *format, ...) __attribute__((format(gnu_printf, 1, 2))); | ; | return 0; | } configure:8428: result: no configure:8446: checking whether compiler supports -Werror configure:8477: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror conftest.c >&5 configure:8477: $? = 0 configure:8479: result: yes configure:8497: checking whether compiler supports -herror_on_warning configure:8528: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror -herror_on_warning conftest.c >&5 clang: error: unknown argument: '-herror_on_warning' configure:8528: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:8534: result: no configure:8548: checking whether format(printf, ...) attribute is compilable configure:8564: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -Werror conftest.c -lstdc++ >&5 configure:8564: $? = 0 configure:8572: result: yes configure:8632: checking for a BSD-compatible install configure:8700: result: /usr/local/bin/ginstall -c configure:8754: checking for ranlib configure:8770: found /usr/local/bin/ranlib configure:8781: result: ranlib configure:8805: checking for ld configure:8823: found /usr/bin/ld configure:8836: result: /usr/bin/ld configure:8846: checking for autoconf configure:8864: found /usr/local/bin/autoconf configure:8877: result: /usr/local/bin/autoconf configure:8971: checking for memalign configure:8971: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 Undefined symbols for architecture x86_64: "_memalign", referenced from: _main in conftest-56ab61.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:8971: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | /* end confdefs.h. */ | /* Define memalign to an innocuous variant, in case declares memalign. | For example, HP-UX 11i declares gettimeofday. */ | #define memalign innocuous_memalign | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memalign (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memalign | | /* 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 memalign (); | /* 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_memalign || defined __stub___memalign | choke me | #endif | | int | main () | { | return memalign (); | ; | return 0; | } configure:8971: result: no configure:8978: checking for valloc configure:8978: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 conftest.c -lstdc++ >&5 configure:8978: $? = 0 configure:8978: result: yes configure:9185: checking whether compiler supports -O3 configure:9216: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 conftest.c >&5 configure:9216: $? = 0 configure:9218: result: yes configure:9236: checking whether compiler supports -O3 configure:9273: /usr/bin/clang++ -std=c++14 -c -Wall -Wextra -g3 -O3 conftest.cpp >&5 configure:9273: $? = 0 configure:9275: result: yes configure:9299: checking whether compiler supports -funroll-loops configure:9330: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c >&5 configure:9330: $? = 0 configure:9332: result: yes configure:9916: checking configured backtracing method configure:9918: result: N/A configure:9946: checking for sbrk configure:9946: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ >&5 configure:9946: $? = 0 configure:9946: result: yes configure:9955: result: Disabling dss allocation because sbrk is deprecated configure:10001: checking whether utrace(2) is compilable configure:10025: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ >&5 conftest.c:52:10: fatal error: 'sys/ktrace.h' file not found #include ^~~~~~~~~~~~~~ 1 error generated. configure:10025: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #define JEMALLOC_FILL | /* end confdefs.h. */ | | #include | #include | #include | #include | #include | | int | main () | { | | utrace((void *)0, 0); | | ; | return 0; | } configure:10033: result: no configure:10141: checking whether a program using __builtin_unreachable is compilable configure:10165: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ >&5 configure:10165: $? = 0 configure:10173: result: yes configure:10185: checking whether a program using __builtin_ffsl is compilable configure:10210: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ >&5 configure:10210: $? = 0 configure:10218: result: yes configure:10279: checking whether a program using __builtin_popcountl is compilable configure:10304: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ >&5 configure:10304: $? = 0 configure:10312: result: yes configure:10346: checking LG_PAGE configure:10397: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ >&5 conftest.c:75:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] result = sysconf(_SC_PAGESIZE); ~ ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. configure:10397: $? = 0 configure:10397: ./conftest configure:10397: $? = 0 configure:10407: result: 12 configure:10478: checking pthread.h usability configure:10478: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c >&5 configure:10478: $? = 0 configure:10478: result: yes configure:10478: checking pthread.h presence configure:10478: /usr/bin/clang -E conftest.c configure:10478: $? = 0 configure:10478: result: yes configure:10478: checking for pthread.h configure:10478: result: yes configure:10490: checking for pthread_create in -lpthread configure:10515: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lpthread -lstdc++ >&5 configure:10515: $? = 0 configure:10524: result: yes configure:10603: checking dlfcn.h usability configure:10603: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c >&5 configure:10603: $? = 0 configure:10603: result: yes configure:10603: checking dlfcn.h presence configure:10603: /usr/bin/clang -E conftest.c configure:10603: $? = 0 configure:10603: result: yes configure:10603: checking for dlfcn.h configure:10603: result: yes configure:10608: checking for dlsym configure:10608: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ -pthread >&5 configure:10608: $? = 0 configure:10608: result: yes configure:10671: checking whether pthread_atfork(3) is compilable configure:10691: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ -pthread >&5 configure:10691: $? = 0 configure:10699: result: yes configure:10707: checking whether pthread_setname_np(3) is compilable configure:10727: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops conftest.c -lstdc++ -pthread >&5 conftest.c:68:38: error: too many arguments to function call, expected 1, have 2 pthread_setname_np(pthread_self(), "setname_test"); ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ /usr/include/pthread.h:499:1: note: 'pthread_setname_np' declared here __API_AVAILABLE(macos(10.6), ios(3.2)) ^ /usr/include/Availability.h:415:126: note: expanded from macro '__API_AVAILABLE' #define __API_AVAILABLE(...) __API_AVAILABLE_GET_MACRO(__VA_ARGS__,__API_AVAILABLE5, __API_AVAILABLE4, __API_AVAILABLE3, __API_AVAILABLE2, __API_AVAILABLE1)(__VA_ARGS__) ^ 1 error generated. configure:10727: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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 | /* end confdefs.h. */ | | #include | | int | main () | { | | pthread_setname_np(pthread_self(), "setname_test"); | | ; | return 0; | } configure:10735: result: no configure:10753: checking for library containing clock_gettime configure:10784: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:10784: $? = 0 configure:10801: result: none required configure:10936: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable configure:10958: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:70:16: error: use of undeclared identifier 'CLOCK_MONOTONIC_COARSE'; did you mean '_CLOCK_MONOTONIC_RAW'? clock_gettime(CLOCK_MONOTONIC_COARSE, &ts); ^~~~~~~~~~~~~~~~~~~~~~ _CLOCK_MONOTONIC_RAW /usr/include/time.h:158:1: note: '_CLOCK_MONOTONIC_RAW' declared here _CLOCK_MONOTONIC_RAW __CLOCK_AVAILABILITY = 4, ^ 1 error generated. configure:10958: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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 | /* end confdefs.h. */ | | #include | | int | main () | { | | struct timespec ts; | | clock_gettime(CLOCK_MONOTONIC_COARSE, &ts); | | ; | return 0; | } configure:10966: result: no configure:10975: checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable configure:11001: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:73:4: error: _POSIX_MONOTONIC_CLOCK missing/invalid # error _POSIX_MONOTONIC_CLOCK missing/invalid ^ 1 error generated. configure:11001: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | struct timespec ts; | | clock_gettime(CLOCK_MONOTONIC, &ts); | #if !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0 | # error _POSIX_MONOTONIC_CLOCK missing/invalid | #endif | | ; | return 0; | } configure:11009: result: no configure:11018: checking whether mach_absolute_time() is compilable configure:11038: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11038: $? = 0 configure:11046: result: yes configure:11071: checking whether compiler supports -Werror configure:11102: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -Werror -D_REENTRANT conftest.c >&5 configure:11102: $? = 0 configure:11104: result: yes configure:11122: checking whether syscall(2) is compilable configure:11143: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -Werror -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:70:2: error: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Werror,-Wdeprecated-declarations] syscall(SYS_write, 2, "hello", 5); ^ /usr/include/unistd.h:745:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 1 error generated. configure:11143: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | syscall(SYS_write, 2, "hello", 5); | | ; | return 0; | } configure:11151: result: no configure:11168: checking for secure_getenv configure:11168: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 Undefined symbols for architecture x86_64: "_secure_getenv", referenced from: _main in conftest-9fdacd.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:11168: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | /* end confdefs.h. */ | /* Define secure_getenv to an innocuous variant, in case declares secure_getenv. | For example, HP-UX 11i declares gettimeofday. */ | #define secure_getenv innocuous_secure_getenv | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char secure_getenv (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef secure_getenv | | /* 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 secure_getenv (); | /* 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_secure_getenv || defined __stub___secure_getenv | choke me | #endif | | int | main () | { | return secure_getenv (); | ; | return 0; | } configure:11168: result: no configure:11181: checking for sched_getcpu configure:11181: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 Undefined symbols for architecture x86_64: "_sched_getcpu", referenced from: _main in conftest-36fcca.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:11181: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | /* end confdefs.h. */ | /* Define sched_getcpu to an innocuous variant, in case declares sched_getcpu. | For example, HP-UX 11i declares gettimeofday. */ | #define sched_getcpu innocuous_sched_getcpu | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sched_getcpu (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sched_getcpu | | /* 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 sched_getcpu (); | /* 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_sched_getcpu || defined __stub___sched_getcpu | choke me | #endif | | int | main () | { | return sched_getcpu (); | ; | return 0; | } configure:11181: result: no configure:11194: checking for sched_setaffinity configure:11194: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 Undefined symbols for architecture x86_64: "_sched_setaffinity", referenced from: _main in conftest-fa7a48.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:11194: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | /* end confdefs.h. */ | /* Define sched_setaffinity to an innocuous variant, in case declares sched_setaffinity. | For example, HP-UX 11i declares gettimeofday. */ | #define sched_setaffinity innocuous_sched_setaffinity | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sched_setaffinity (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sched_setaffinity | | /* 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 sched_setaffinity (); | /* 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_sched_setaffinity || defined __stub___sched_setaffinity | choke me | #endif | | int | main () | { | return sched_setaffinity (); | ; | return 0; | } configure:11194: result: no configure:11207: checking for issetugid configure:11207: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11207: $? = 0 configure:11207: result: yes configure:11220: checking for _malloc_thread_cleanup configure:11220: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 Undefined symbols for architecture x86_64: "__malloc_thread_cleanup", referenced from: _main in conftest-290a18.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:11220: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | /* end confdefs.h. */ | /* Define _malloc_thread_cleanup to an innocuous variant, in case declares _malloc_thread_cleanup. | For example, HP-UX 11i declares gettimeofday. */ | #define _malloc_thread_cleanup innocuous__malloc_thread_cleanup | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _malloc_thread_cleanup (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _malloc_thread_cleanup | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _malloc_thread_cleanup (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__malloc_thread_cleanup || defined __stub____malloc_thread_cleanup | choke me | #endif | | int | main () | { | return _malloc_thread_cleanup (); | ; | return 0; | } configure:11220: result: no configure:11235: checking for _pthread_mutex_init_calloc_cb configure:11235: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 Undefined symbols for architecture x86_64: "__pthread_mutex_init_calloc_cb", referenced from: _main in conftest-cb26cd.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:11235: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | /* end confdefs.h. */ | /* Define _pthread_mutex_init_calloc_cb to an innocuous variant, in case declares _pthread_mutex_init_calloc_cb. | For example, HP-UX 11i declares gettimeofday. */ | #define _pthread_mutex_init_calloc_cb innocuous__pthread_mutex_init_calloc_cb | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _pthread_mutex_init_calloc_cb (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _pthread_mutex_init_calloc_cb | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _pthread_mutex_init_calloc_cb (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__pthread_mutex_init_calloc_cb || defined __stub____pthread_mutex_init_calloc_cb | choke me | #endif | | int | main () | { | return _pthread_mutex_init_calloc_cb (); | ; | return 0; | } configure:11235: result: no configure:11335: checking whether C11 atomics is compilable configure:11364: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11364: $? = 0 configure:11372: result: yes configure:11382: checking whether GCC __atomic atomics is compilable configure:11405: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:72:9: warning: unused variable 'y' [-Wunused-variable] int y = __atomic_fetch_add(&x, val, __ATOMIC_RELAXED); ^ 1 warning generated. configure:11405: $? = 0 configure:11413: result: yes configure:11421: checking whether GCC 8-bit __atomic atomics is compilable configure:11444: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:73:11: warning: unused variable 'y' [-Wunused-variable] int y = __atomic_fetch_add(&x, val, __ATOMIC_RELAXED); ^ 1 warning generated. configure:11444: $? = 0 configure:11452: result: yes configure:11463: checking whether GCC __sync atomics is compilable configure:11485: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11485: $? = 0 configure:11493: result: yes configure:11501: checking whether GCC 8-bit __sync atomics is compilable configure:11523: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11523: $? = 0 configure:11531: result: yes configure:11542: checking whether Darwin OSAtomic*() is compilable configure:11572: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:79:3: warning: 'OSAtomicAdd32' is deprecated: first deprecated in macOS 10.12 - Use atomic_fetch_add_explicit(memory_order_relaxed) from instead [-Wdeprecated-declarations] OSAtomicAdd32(1, x32p); ^ /usr/include/libkern/OSAtomicDeprecated.h:146:9: note: 'OSAtomicAdd32' has been explicitly marked deprecated here int32_t OSAtomicAdd32( int32_t __theAmount, volatile int32_t *__theValue ); ^ conftest.c:84:3: warning: 'OSAtomicAdd64' is deprecated: first deprecated in macOS 10.12 - Use atomic_fetch_add_explicit(memory_order_relaxed) from instead [-Wdeprecated-declarations] OSAtomicAdd64(1, x64p); ^ /usr/include/libkern/OSAtomicDeprecated.h:231:9: note: 'OSAtomicAdd64' has been explicitly marked deprecated here int64_t OSAtomicAdd64( int64_t __theAmount, ^ 2 warnings generated. configure:11572: $? = 0 configure:11580: result: yes configure:11590: checking whether madvise(2) is compilable configure:11610: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11610: $? = 0 configure:11618: result: yes configure:11626: checking whether madvise(..., MADV_FREE) is compilable configure:11646: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11646: $? = 0 configure:11654: result: yes configure:11674: checking whether madvise(..., MADV_DONTNEED) is compilable configure:11694: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11694: $? = 0 configure:11702: result: yes configure:11711: checking whether madvise(..., MADV_DO[NT]DUMP) is compilable configure:11732: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:79:24: error: use of undeclared identifier 'MADV_DONTDUMP' madvise((void *)0, 0, MADV_DONTDUMP); ^ conftest.c:80:24: error: use of undeclared identifier 'MADV_DODUMP' madvise((void *)0, 0, MADV_DODUMP); ^ 2 errors generated. configure:11732: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_C11_ATOMICS 1 | #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_SYNC_ATOMICS 1 | #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 | #define JEMALLOC_OSATOMIC | #define JEMALLOC_HAVE_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | /* end confdefs.h. */ | | #include | | int | main () | { | | madvise((void *)0, 0, MADV_DONTDUMP); | madvise((void *)0, 0, MADV_DODUMP); | | ; | return 0; | } configure:11740: result: no configure:11749: checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable configure:11770: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:79:24: error: use of undeclared identifier 'MADV_HUGEPAGE' madvise((void *)0, 0, MADV_HUGEPAGE); ^ conftest.c:80:24: error: use of undeclared identifier 'MADV_NOHUGEPAGE' madvise((void *)0, 0, MADV_NOHUGEPAGE); ^ 2 errors generated. configure:11770: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_C11_ATOMICS 1 | #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_SYNC_ATOMICS 1 | #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 | #define JEMALLOC_OSATOMIC | #define JEMALLOC_HAVE_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | /* end confdefs.h. */ | | #include | | int | main () | { | | madvise((void *)0, 0, MADV_HUGEPAGE); | madvise((void *)0, 0, MADV_NOHUGEPAGE); | | ; | return 0; | } configure:11778: result: no configure:11794: checking for __builtin_clz configure:11819: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:79:61: warning: unused variable 'y' [-Wunused-variable] int y = __builtin_clz(x); ^ conftest.c:83:61: warning: unused variable 'y' [-Wunused-variable] int y = __builtin_clzl(x); ^ 2 warnings generated. configure:11819: $? = 0 configure:11827: result: yes configure:11837: checking whether Darwin os_unfair_lock_*() is compilable configure:11864: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 configure:11864: $? = 0 configure:11872: result: yes configure:11939: checking whether glibc malloc hook is compilable configure:11966: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 Undefined symbols for architecture x86_64: "___free_hook", referenced from: _main in conftest-6b32c8.o "___malloc_hook", referenced from: _main in conftest-6b32c8.o "___realloc_hook", referenced from: _main in conftest-6b32c8.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:11966: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_C11_ATOMICS 1 | #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_SYNC_ATOMICS 1 | #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 | #define JEMALLOC_OSATOMIC | #define JEMALLOC_HAVE_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_OS_UNFAIR_LOCK | #define JEMALLOC_ZONE | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | /* end confdefs.h. */ | | #include | | extern void (* __free_hook)(void *ptr); | extern void *(* __malloc_hook)(size_t size); | extern void *(* __realloc_hook)(void *ptr, size_t size); | | int | main () | { | | void *ptr = 0L; | if (__malloc_hook) ptr = __malloc_hook(1); | if (__realloc_hook) ptr = __realloc_hook(ptr, 2); | if (__free_hook && ptr) __free_hook(ptr); | | ; | return 0; | } configure:11974: result: no configure:11986: checking whether glibc memalign hook is compilable configure:12009: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 Undefined symbols for architecture x86_64: "___memalign_hook", referenced from: _main in conftest-186e6a.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:12009: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_C11_ATOMICS 1 | #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_SYNC_ATOMICS 1 | #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 | #define JEMALLOC_OSATOMIC | #define JEMALLOC_HAVE_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_OS_UNFAIR_LOCK | #define JEMALLOC_ZONE | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | /* end confdefs.h. */ | | #include | | extern void *(* __memalign_hook)(size_t alignment, size_t size); | | int | main () | { | | void *ptr = 0L; | if (__memalign_hook) ptr = __memalign_hook(16, 7); | | ; | return 0; | } configure:12017: result: no configure:12029: checking whether pthreads adaptive mutexes is compilable configure:12052: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:85:36: error: use of undeclared identifier 'PTHREAD_MUTEX_ADAPTIVE_NP' pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); ^ 1 error generated. configure:12052: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_C11_ATOMICS 1 | #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_SYNC_ATOMICS 1 | #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 | #define JEMALLOC_OSATOMIC | #define JEMALLOC_HAVE_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_OS_UNFAIR_LOCK | #define JEMALLOC_ZONE | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | /* end confdefs.h. */ | | #include | | int | main () | { | | pthread_mutexattr_t attr; | pthread_mutexattr_init(&attr); | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); | pthread_mutexattr_destroy(&attr); | | ; | return 0; | } configure:12060: result: no configure:12071: checking whether compiler supports -D_GNU_SOURCE configure:12102: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -D_REENTRANT conftest.c >&5 configure:12102: $? = 0 configure:12104: result: yes configure:12122: checking whether compiler supports -Werror configure:12153: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -Werror -D_REENTRANT conftest.c >&5 configure:12153: $? = 0 configure:12155: result: yes configure:12173: checking whether compiler supports -herror_on_warning configure:12204: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -Werror -herror_on_warning -D_REENTRANT conftest.c >&5 clang: error: unknown argument: '-herror_on_warning' configure:12204: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_C11_ATOMICS 1 | #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_SYNC_ATOMICS 1 | #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 | #define JEMALLOC_OSATOMIC | #define JEMALLOC_HAVE_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_OS_UNFAIR_LOCK | #define JEMALLOC_ZONE | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | /* end confdefs.h. */ | | | int | main () | { | | return 0; | | ; | return 0; | } configure:12210: result: no configure:12224: checking whether strerror_r returns char with gnu source is compilable configure:12249: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_GNU_SOURCE -Werror -D_REENTRANT conftest.c -lstdc++ -pthread >&5 conftest.c:87:9: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Werror,-Wint-conversion] char *error = strerror_r(EINVAL, buffer, 100); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. configure:12249: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_C11_ATOMICS 1 | #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_SYNC_ATOMICS 1 | #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 | #define JEMALLOC_OSATOMIC | #define JEMALLOC_HAVE_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_OS_UNFAIR_LOCK | #define JEMALLOC_ZONE | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | /* end confdefs.h. */ | | #include | #include | #include | #include | | int | main () | { | | char *buffer = (char *) malloc(100); | char *error = strerror_r(EINVAL, buffer, 100); | printf("%s\n", error); | | ; | return 0; | } configure:12257: result: no configure:12273: checking for stdbool.h that conforms to C99 configure:12340: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c >&5 conftest.c:125:24: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion] bool e = &s; ~ ^ conftest.c:129:23: warning: address of array 'a' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ~^ conftest.c:129:28: warning: address of array 'b' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ~^ conftest.c:129:33: warning: address of array 'c' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ~^ conftest.c:129:38: warning: address of array 'd' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ~^ conftest.c:129:48: warning: address of array 'f' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ~^ conftest.c:129:53: warning: address of array 'g' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ~^ conftest.c:129:58: warning: address of array 'h' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ~^ conftest.c:129:63: warning: address of array 'i' will always evaluate to 'true' [-Wpointer-bool-conversion] return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ~^ conftest.c:130:30: warning: address of array 'n' will always evaluate to 'true' [-Wpointer-bool-conversion] ~^ conftest.c:130:35: warning: address of array 'o' will always evaluate to 'true' [-Wpointer-bool-conversion] ~^ conftest.c:130:40: warning: address of array 'p' will always evaluate to 'true' [-Wpointer-bool-conversion] ~^ 12 warnings generated. configure:12340: $? = 0 configure:12347: result: yes configure:12349: checking for _Bool configure:12349: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c >&5 configure:12349: $? = 0 configure:12349: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -D_REENTRANT conftest.c >&5 conftest.c:112:20: error: expected expression if (sizeof ((_Bool))) ^ 1 error generated. configure:12349: $? = 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 HAVE_CXX14 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_USABLE_SIZE_CONST const | #define JEMALLOC_HAVE_ATTR | #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE | #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF | #define JEMALLOC_PREFIX "je_" | #define JEMALLOC_CPREFIX "JE_" | #define JEMALLOC_OVERRIDE_VALLOC | #define JEMALLOC_PRIVATE_NAMESPACE je_ | #define JEMALLOC_CONFIG_MALLOC_CONF "" | #define JEMALLOC_STATS | #define JEMALLOC_MAPS_COALESCE | #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount | #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl | #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_MACH_ABSOLUTE_TIME 1 | #define JEMALLOC_HAVE_ISSETUGID | #define JEMALLOC_C11_ATOMICS 1 | #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 | #define JEMALLOC_GCC_SYNC_ATOMICS 1 | #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 | #define JEMALLOC_OSATOMIC | #define JEMALLOC_HAVE_MADVISE | #define JEMALLOC_PURGE_MADVISE_FREE | #define JEMALLOC_PURGE_MADVISE_DONTNEED | #define JEMALLOC_HAVE_BUILTIN_CLZ | #define JEMALLOC_OS_UNFAIR_LOCK | #define JEMALLOC_ZONE | #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((_Bool))) | return 0; | ; | return 0; | } configure:12349: result: yes configure:12514: 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 air config.status:1040: creating Makefile config.status:1040: creating jemalloc.pc config.status:1040: creating doc/html.xsl config.status:1040: creating doc/manpages.xsl config.status:1040: creating doc/jemalloc.xml config.status:1040: creating include/jemalloc/jemalloc_macros.h config.status:1040: creating include/jemalloc/jemalloc_protos.h config.status:1040: creating include/jemalloc/jemalloc_typedefs.h config.status:1040: creating include/jemalloc/internal/jemalloc_preamble.h config.status:1040: creating test/test.sh config.status:1040: creating test/include/test/jemalloc_test.h config.status:1040: creating config.stamp config.status:1040: creating bin/jemalloc-config config.status:1040: creating bin/jemalloc.sh config.status:1040: creating bin/jeprof config.status:1040: creating include/jemalloc/jemalloc_defs.h config.status:1040: creating include/jemalloc/internal/jemalloc_internal_defs.h config.status:1040: creating test/include/test/jemalloc_test_defs.h config.status:1229: executing include/jemalloc/internal/public_symbols.txt commands config.status:1229: executing include/jemalloc/internal/private_symbols.awk commands config.status:1229: executing include/jemalloc/internal/private_symbols_jet.awk commands config.status:1229: executing include/jemalloc/internal/public_namespace.h commands config.status:1229: executing include/jemalloc/internal/public_unnamespace.h commands config.status:1229: executing include/jemalloc/jemalloc_protos_jet.h commands config.status:1229: executing include/jemalloc/jemalloc_rename.h commands config.status:1229: executing include/jemalloc/jemalloc_mangle.h commands config.status:1229: executing include/jemalloc/jemalloc_mangle_jet.h commands config.status:1229: executing include/jemalloc/jemalloc.h commands configure:13816: result: =============================================================================== configure:13818: result: jemalloc version : 0.0.0-0-g0000000000000000000000000000000000000000 configure:13820: result: library revision : 2 configure:13822: result: configure:13824: result: CONFIG : CC=/usr/bin/clang CXX=/usr/bin/clang++ configure:13826: result: CC : /usr/bin/clang configure:13828: result: CONFIGURE_CFLAGS : -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops configure:13830: result: SPECIFIED_CFLAGS : configure:13832: result: EXTRA_CFLAGS : configure:13834: result: CPPFLAGS : -D_REENTRANT configure:13836: result: CXX : /usr/bin/clang++ -std=c++14 configure:13838: result: CONFIGURE_CXXFLAGS : -Wall -Wextra -g3 -O3 configure:13840: result: SPECIFIED_CXXFLAGS : configure:13842: result: EXTRA_CXXFLAGS : configure:13844: result: LDFLAGS : configure:13846: result: EXTRA_LDFLAGS : configure:13848: result: DSO_LDFLAGS : -shared -Wl,-install_name,$(LIBDIR)/$(@F) configure:13850: result: LIBS : -lstdc++ -pthread configure:13852: result: RPATH_EXTRA : configure:13854: result: configure:13856: result: XSLTPROC : /usr/bin/xsltproc configure:13858: result: XSLROOT : configure:13860: result: configure:13862: result: PREFIX : /usr/local configure:13864: result: BINDIR : /usr/local/bin configure:13866: result: DATADIR : /usr/local/share configure:13868: result: INCLUDEDIR : /usr/local/include configure:13870: result: LIBDIR : /usr/local/lib configure:13872: result: MANDIR : /usr/local/share/man configure:13874: result: configure:13876: result: srcroot : configure:13878: result: abs_srcroot : /Users/gnzlbg/projects/sideprojects/jemallocator/jemalloc-sys/rep/ configure:13880: result: objroot : configure:13882: result: abs_objroot : /Users/gnzlbg/projects/sideprojects/jemallocator/jemalloc-sys/rep/ configure:13884: result: configure:13886: result: JEMALLOC_PREFIX : je_ configure:13888: result: JEMALLOC_PRIVATE_NAMESPACE configure:13890: result: : je_ configure:13892: result: install_suffix : configure:13894: result: malloc_conf : configure:13896: result: shared libs : 1 configure:13898: result: static libs : 1 configure:13900: result: autogen : 0 configure:13902: result: debug : 0 configure:13904: result: stats : 1 configure:13906: result: experimetal_smallocx : 0 configure:13908: result: prof : 0 configure:13910: result: prof-libunwind : 0 configure:13912: result: prof-libgcc : 0 configure:13914: result: prof-gcc : 0 configure:13916: result: fill : 1 configure:13918: result: utrace : 0 configure:13920: result: xmalloc : 0 configure:13922: result: log : 0 configure:13924: result: lazy_lock : 0 configure:13926: result: cache-oblivious : 1 configure:13928: result: cxx : 1 configure:13930: result: =============================================================================== ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_big_endian=0 ac_cv_build=x86_64-apple-darwin18.2.0 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=set ac_cv_env_CC_value=/usr/bin/clang ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= 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=set ac_cv_env_CXX_value=/usr/bin/clang++ ac_cv_env_LDFLAGS_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=yes ac_cv_func_issetugid=yes ac_cv_func_memalign=no ac_cv_func_sbrk=yes ac_cv_func_sched_getcpu=no ac_cv_func_sched_setaffinity=no ac_cv_func_secure_getenv=no ac_cv_func_valloc=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_malloc_h=no 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-apple-darwin18.2.0 ac_cv_lib_pthread_pthread_create=yes ac_cv_objext=o ac_cv_path_AUTOCONF=/usr/local/bin/autoconf ac_cv_path_EGREP='/usr/local/bin/ggrep -E' ac_cv_path_GREP=/usr/local/bin/ggrep ac_cv_path_LD=/usr/bin/ld ac_cv_path_XSLTPROC=/usr/bin/xsltproc ac_cv_path_install='/usr/local/bin/ginstall -c' ac_cv_prog_AWK=gawk ac_cv_prog_CPP='/usr/bin/clang -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=/usr/bin/clang 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='none required' 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__std_cpp14=yes je_cv_alloc_size=yes je_cv_attribute=yes je_cv_builtin_clz=yes je_cv_c11_atomics=yes je_cv_cflags_added= je_cv_clock_monotonic=no je_cv_clock_monotonic_coarse=no je_cv_cray=no je_cv_cray_prgenv_wrapper= je_cv_cxxflags_added=-O3 je_cv_format_gnu_printf=no je_cv_format_printf=yes je_cv_gcc_atomic_atomics=yes je_cv_gcc_builtin_ffsl=yes je_cv_gcc_builtin_popcountl=yes je_cv_gcc_builtin_unreachable=yes je_cv_gcc_sync_atomics=yes je_cv_gcc_u8_atomic_atomics=yes je_cv_gcc_u8_sync_atomics=yes je_cv_glibc_malloc_hook=no je_cv_glibc_memalign_hook=no je_cv_lg_hugepage=21 je_cv_lg_page=12 je_cv_lg_vaddr=48 je_cv_libstdcxx=yes je_cv_mach_absolute_time=yes je_cv_madv_dontdump=no je_cv_madv_dontneed=yes je_cv_madv_free=yes je_cv_madvise=yes je_cv_os_unfair_lock=yes je_cv_osatomic=yes je_cv_pause=yes je_cv_pthread_atfork=yes je_cv_pthread_mutex_adaptive_np=no je_cv_pthread_setname_np=no je_cv_strerror_r_returns_char_with_gnu_source=no je_cv_syscall=no je_cv_thp=no je_cv_tls_model=yes je_cv_utrace=no ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' ARFLAGS='crus' AROUT=' $@' AUTOCONF='/usr/local/bin/autoconf' AWK='gawk' BINDIR='/usr/local/bin' CC='/usr/bin/clang' CC_MM='1' CFLAGS='-std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops' CONFIG='CC=/usr/bin/clang CXX=/usr/bin/clang++' CONFIGURE_CFLAGS='-std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops' CONFIGURE_CXXFLAGS='-Wall -Wextra -g3 -O3' CPP='/usr/bin/clang -E' CPPFLAGS='-D_REENTRANT' CTARGET='-o $@' CXX='/usr/bin/clang++ -std=c++14' CXXFLAGS='-Wall -Wextra -g3 -O3' DATADIR='/usr/local/share' DEFS='-DHAVE_CONFIG_H' DSO_LDFLAGS='-shared -Wl,-install_name,$(LIBDIR)/$(@F)' DUMP_SYMS='nm -a' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='/usr/local/bin/ggrep -E' EXEEXT='' EXTRA_CFLAGS='' EXTRA_CXXFLAGS='' EXTRA_LDFLAGS='' GREP='/usr/local/bin/ggrep' HAVE_CXX14='1' 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='DYLD_INSERT_LIBRARIES' LIBDIR='/usr/local/lib' LIBOBJS='' LIBS='-lstdc++ -pthread' 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='' RPATH_EXTRA='' SHELL='/bin/sh' SOREV='2.dylib' SPECIFIED_CFLAGS='' SPECIFIED_CXXFLAGS='' TEST_LD_MODE='' XSLROOT='' XSLTPROC='/usr/bin/xsltproc' a='a' abi='macho' abs_objroot='/Users/gnzlbg/projects/sideprojects/jemallocator/jemalloc-sys/rep/' abs_srcroot='/Users/gnzlbg/projects/sideprojects/jemallocator/jemalloc-sys/rep/' ac_ct_CC='/usr/bin/clang' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='x86_64-apple-darwin18.2.0' build_alias='' build_cpu='x86_64' build_os='darwin18.2.0' build_vendor='apple' 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/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/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='1' enable_debug='0' enable_experimental_smallocx='0' enable_extra_size_check='0' enable_fill='1' enable_initial_exec_tls='1' enable_lazy_lock='0' enable_log='0' enable_prof='0' enable_readlinkat='0' enable_shared='1' enable_static='1' enable_stats='1' enable_tls='0' enable_utrace='0' enable_xmalloc='0' enable_zone_allocator='1' exe='' exec_prefix='/usr/local' host='x86_64-apple-darwin18.2.0' host_alias='' host_cpu='x86_64' host_os='darwin18.2.0' host_vendor='apple' htmldir='${docdir}' importlib='dylib' includedir='${prefix}/include' infodir='${datarootdir}/info' install_suffix='' je_='je_' jemalloc_version='0.0.0-0-g0000000000000000000000000000000000000000' jemalloc_version_bugfix='0' jemalloc_version_gid='0000000000000000000000000000000000000000' jemalloc_version_major='0' jemalloc_version_minor='0' jemalloc_version_nrev='0' libdir='${exec_prefix}/lib' libdl='' 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='dylib' 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 HAVE_CXX14 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_USABLE_SIZE_CONST const #define JEMALLOC_HAVE_ATTR #define JEMALLOC_HAVE_ATTR_ALLOC_SIZE #define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF #define JEMALLOC_PREFIX "je_" #define JEMALLOC_CPREFIX "JE_" #define JEMALLOC_OVERRIDE_VALLOC #define JEMALLOC_PRIVATE_NAMESPACE je_ #define JEMALLOC_CONFIG_MALLOC_CONF "" #define JEMALLOC_STATS #define JEMALLOC_MAPS_COALESCE #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 JEMALLOC_INTERNAL_POPCOUNT __builtin_popcount #define JEMALLOC_INTERNAL_POPCOUNTL __builtin_popcountl #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_MACH_ABSOLUTE_TIME 1 #define JEMALLOC_HAVE_ISSETUGID #define JEMALLOC_C11_ATOMICS 1 #define JEMALLOC_GCC_ATOMIC_ATOMICS 1 #define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1 #define JEMALLOC_GCC_SYNC_ATOMICS 1 #define JEMALLOC_GCC_U8_SYNC_ATOMICS 1 #define JEMALLOC_OSATOMIC #define JEMALLOC_HAVE_MADVISE #define JEMALLOC_PURGE_MADVISE_FREE #define JEMALLOC_PURGE_MADVISE_DONTNEED #define JEMALLOC_HAVE_BUILTIN_CLZ #define JEMALLOC_OS_UNFAIR_LOCK #define JEMALLOC_ZONE #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec"))) #define HAVE__BOOL 1 #define HAVE_STDBOOL_H 1 configure: exit 0