Ticket #65213: config.log

File config.log, 46.0 KB (added by sudheerhebbale (Sudheer Hebbale), 2 years ago)
Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by configure, which was
5generated by GNU Autoconf 2.69.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --disable-debug --with-jemalloc-prefix=
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = Sudheers-MacBook-Pro.local
14uname -m = x86_64
15uname -r = 21.4.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000
18
19/usr/bin/uname -p = i386
20/bin/uname -X     = unknown
21
22/bin/arch              = unknown
23/usr/bin/arch -k       = unknown
24/usr/convex/getsysinfo = unknown
25/usr/bin/hostinfo      = Mach kernel version:
26         Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000
27Kernel configured for up to 10 processors.
2810 processors are physically available.
2910 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3 4 5 6 7 8 9
32Primary memory available: 16.00 gigabytes
33Default processor set: 529 tasks, 2643 threads, 10 processors
34Load average: 3.68, Mach factor: 6.31
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /opt/local/bin
40PATH: /opt/local/sbin
41PATH: /bin
42PATH: /sbin
43PATH: /usr/bin
44PATH: /usr/sbin
45
46
47## ----------- ##
48## Core tests. ##
49## ----------- ##
50
51configure:2662: checking for xsltproc
52configure:2680: found /opt/local/bin/xsltproc
53configure:2693: result: /opt/local/bin/xsltproc
54configure:2777: checking for gcc
55configure:2804: result: /usr/bin/clang
56configure:3033: checking for C compiler version
57configure:3042: /usr/bin/clang --version >&5
58Apple clang version 13.1.6 (clang-1316.0.21.2.5)
59Target: x86_64-apple-darwin21.4.0
60Thread model: posix
61InstalledDir: /Library/Developer/CommandLineTools/usr/bin
62configure:3053: $? = 0
63configure:3042: /usr/bin/clang -v >&5
64Apple clang version 13.1.6 (clang-1316.0.21.2.5)
65Target: x86_64-apple-darwin21.4.0
66Thread model: posix
67InstalledDir: /Library/Developer/CommandLineTools/usr/bin
68configure:3053: $? = 0
69configure:3042: /usr/bin/clang -V >&5
70clang: error: argument to '-V' is missing (expected 1 value)
71clang: error: no input files
72configure:3053: $? = 1
73configure:3042: /usr/bin/clang -qversion >&5
74clang: error: unknown argument '-qversion'; did you mean '--version'?
75clang: error: no input files
76configure:3053: $? = 1
77configure:3073: checking whether the C compiler works
78configure:3095: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c  >&5
79configure:3099: $? = 0
80configure:3147: result: yes
81configure:3150: checking for C compiler default output file name
82configure:3152: result: a.out
83configure:3158: checking for suffix of executables
84configure:3165: /usr/bin/clang -o conftest -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c  >&5
85configure:3169: $? = 0
86configure:3191: result:
87configure:3213: checking whether we are cross compiling
88configure:3221: /usr/bin/clang -o conftest -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c  >&5
89configure:3225: $? = 0
90configure:3232: ./conftest
91configure:3236: $? = 0
92configure:3251: result: no
93configure:3256: checking for suffix of object files
94configure:3278: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
95configure:3282: $? = 0
96configure:3303: result: o
97configure:3307: checking whether we are using the GNU C compiler
98configure:3326: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
99configure:3326: $? = 0
100configure:3335: result: yes
101configure:3344: checking whether /usr/bin/clang accepts -g
102configure:3364: /usr/bin/clang -c -g -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
103configure:3364: $? = 0
104configure:3405: result: yes
105configure:3422: checking for /usr/bin/clang option to accept ISO C89
106configure:3485: /usr/bin/clang  -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
107configure:3485: $? = 0
108configure:3498: result: none needed
109configure:3563: checking whether compiler is cray
110configure:3583: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
111conftest.c:15:11: error: expected ';' at end of declaration
112  int fail-1;
113          ^
114          ;
1151 error generated.
116configure:3583: $? = 1
117configure: failed program was:
118| /* confdefs.h */
119| #define PACKAGE_NAME ""
120| #define PACKAGE_TARNAME ""
121| #define PACKAGE_VERSION ""
122| #define PACKAGE_STRING ""
123| #define PACKAGE_BUGREPORT ""
124| #define PACKAGE_URL ""
125| /* end confdefs.h.  */
126|
127| int
128| main ()
129| {
130|
131| #ifndef _CRAYC
132|   int fail-1;
133| #endif
134|
135|   ;
136|   return 0;
137| }
138configure:3590: result: no
139configure:3627: checking whether compiler supports -std=gnu11
140configure:3658: /usr/bin/clang -c -std=gnu11 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
141configure:3658: $? = 0
142configure:3660: result: yes
143configure:3742: checking whether compiler supports -Wall
144configure:3773: /usr/bin/clang -c -std=gnu11 -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
145configure:3773: $? = 0
146configure:3775: result: yes
147configure:3793: checking whether compiler supports -Wextra
148configure:3824: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
149configure:3824: $? = 0
150configure:3826: result: yes
151configure:3844: checking whether compiler supports -Wshorten-64-to-32
152configure:3875: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
153configure:3875: $? = 0
154configure:3877: result: yes
155configure:3895: checking whether compiler supports -Wsign-compare
156configure:3926: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
157configure:3926: $? = 0
158configure:3928: result: yes
159configure:3946: checking whether compiler supports -Wundef
160configure:3977: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
161configure:3977: $? = 0
162configure:3979: result: yes
163configure:3997: checking whether compiler supports -Wno-format-zero-length
164configure:4028: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
165configure:4028: $? = 0
166configure:4030: result: yes
167configure:4048: checking whether compiler supports -pipe
168configure:4079: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
169configure:4079: $? = 0
170configure:4081: result: yes
171configure:4099: checking whether compiler supports -g3
172configure:4130: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
173configure:4130: $? = 0
174configure:4132: result: yes
175configure:4580: checking how to run the C preprocessor
176configure:4611: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c
177configure:4611: $? = 0
178configure:4625: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c
179conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
180#include <ac_nonexistent.h>
181         ^~~~~~~~~~~~~~~~~~
1821 error generated.
183configure:4625: $? = 1
184configure: failed program was:
185| /* confdefs.h */
186| #define PACKAGE_NAME ""
187| #define PACKAGE_TARNAME ""
188| #define PACKAGE_VERSION ""
189| #define PACKAGE_STRING ""
190| #define PACKAGE_BUGREPORT ""
191| #define PACKAGE_URL ""
192| #define JEMALLOC_HAS_RESTRICT 1
193| /* end confdefs.h.  */
194| #include <ac_nonexistent.h>
195configure:4650: result: /usr/bin/clang -E
196configure:4670: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c
197configure:4670: $? = 0
198configure:4684: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c
199conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
200#include <ac_nonexistent.h>
201         ^~~~~~~~~~~~~~~~~~
2021 error generated.
203configure:4684: $? = 1
204configure: failed program was:
205| /* confdefs.h */
206| #define PACKAGE_NAME ""
207| #define PACKAGE_TARNAME ""
208| #define PACKAGE_VERSION ""
209| #define PACKAGE_STRING ""
210| #define PACKAGE_BUGREPORT ""
211| #define PACKAGE_URL ""
212| #define JEMALLOC_HAS_RESTRICT 1
213| /* end confdefs.h.  */
214| #include <ac_nonexistent.h>
215configure:4901: checking for C++ compiler version
216configure:4910: /usr/bin/clang++ --version >&5
217Apple clang version 13.1.6 (clang-1316.0.21.2.5)
218Target: x86_64-apple-darwin21.4.0
219Thread model: posix
220InstalledDir: /Library/Developer/CommandLineTools/usr/bin
221configure:4921: $? = 0
222configure:4910: /usr/bin/clang++ -v >&5
223Apple clang version 13.1.6 (clang-1316.0.21.2.5)
224Target: x86_64-apple-darwin21.4.0
225Thread model: posix
226InstalledDir: /Library/Developer/CommandLineTools/usr/bin
227configure:4921: $? = 0
228configure:4910: /usr/bin/clang++ -V >&5
229clang: error: argument to '-V' is missing (expected 1 value)
230clang: error: no input files
231configure:4921: $? = 1
232configure:4910: /usr/bin/clang++ -qversion >&5
233clang: error: unknown argument '-qversion'; did you mean '--version'?
234clang: error: no input files
235configure:4921: $? = 1
236configure:4925: checking whether we are using the GNU C++ compiler
237configure:4944: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.cpp >&5
238configure:4944: $? = 0
239configure:4953: result: yes
240configure:4962: checking whether /usr/bin/clang++ accepts -g
241configure:4982: /usr/bin/clang++ -c -g -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.cpp >&5
242configure:4982: $? = 0
243configure:5023: result: yes
244configure:5054: checking whether /usr/bin/clang++ supports C++14 features by default
245configure:5468: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.cpp >&5
246conftest.cpp:21:2: error: "This is not a C++11 compiler"
247#error "This is not a C++11 compiler"
248 ^
249conftest.cpp:306:2: error: "This is not a C++14 compiler"
250#error "This is not a C++14 compiler"
251 ^
2522 errors generated.
253configure:5468: $? = 1
254configure: failed program was:
255| /* confdefs.h */
256| #define PACKAGE_NAME ""
257| #define PACKAGE_TARNAME ""
258| #define PACKAGE_VERSION ""
259| #define PACKAGE_STRING ""
260| #define PACKAGE_BUGREPORT ""
261| #define PACKAGE_URL ""
262| #define JEMALLOC_HAS_RESTRICT 1
263| /* end confdefs.h.  */
264|
265|
266| // If the compiler admits that it is not ready for C++11, why torture it?
267| // Hopefully, this will speed up the test.
268|
269| #ifndef __cplusplus
270|
271| #error "This is not a C++ compiler"
272|
273| #elif __cplusplus < 201103L
274|
275| #error "This is not a C++11 compiler"
276|
277| #else
278|
279| namespace cxx11
280| {
281|
282|   namespace test_static_assert
283|   {
284|
285|     template <typename T>
286|     struct check
287|     {
288|       static_assert(sizeof(int) <= sizeof(T), "not big enough");
289|     };
290|
291|   }
292|
293|   namespace test_final_override
294|   {
295|
296|     struct Base
297|     {
298|       virtual void f() {}
299|     };
300|
301|     struct Derived : public Base
302|     {
303|       virtual void f() override {}
304|     };
305|
306|   }
307|
308|   namespace test_double_right_angle_brackets
309|   {
310|
311|     template < typename T >
312|     struct check {};
313|
314|     typedef check<void> single_type;
315|     typedef check<check<void>> double_type;
316|     typedef check<check<check<void>>> triple_type;
317|     typedef check<check<check<check<void>>>> quadruple_type;
318|
319|   }
320|
321|   namespace test_decltype
322|   {
323|
324|     int
325|     f()
326|     {
327|       int a = 1;
328|       decltype(a) b = 2;
329|       return a + b;
330|     }
331|
332|   }
333|
334|   namespace test_type_deduction
335|   {
336|
337|     template < typename T1, typename T2 >
338|     struct is_same
339|     {
340|       static const bool value = false;
341|     };
342|
343|     template < typename T >
344|     struct is_same<T, T>
345|     {
346|       static const bool value = true;
347|     };
348|
349|     template < typename T1, typename T2 >
350|     auto
351|     add(T1 a1, T2 a2) -> decltype(a1 + a2)
352|     {
353|       return a1 + a2;
354|     }
355|
356|     int
357|     test(const int c, volatile int v)
358|     {
359|       static_assert(is_same<int, decltype(0)>::value == true, "");
360|       static_assert(is_same<int, decltype(c)>::value == false, "");
361|       static_assert(is_same<int, decltype(v)>::value == false, "");
362|       auto ac = c;
363|       auto av = v;
364|       auto sumi = ac + av + 'x';
365|       auto sumf = ac + av + 1.0;
366|       static_assert(is_same<int, decltype(ac)>::value == true, "");
367|       static_assert(is_same<int, decltype(av)>::value == true, "");
368|       static_assert(is_same<int, decltype(sumi)>::value == true, "");
369|       static_assert(is_same<int, decltype(sumf)>::value == false, "");
370|       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
371|       return (sumf > 0.0) ? sumi : add(c, v);
372|     }
373|
374|   }
375|
376|   namespace test_noexcept
377|   {
378|
379|     int f() { return 0; }
380|     int g() noexcept { return 0; }
381|
382|     static_assert(noexcept(f()) == false, "");
383|     static_assert(noexcept(g()) == true, "");
384|
385|   }
386|
387|   namespace test_constexpr
388|   {
389|
390|     template < typename CharT >
391|     unsigned long constexpr
392|     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
393|     {
394|       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
395|     }
396|
397|     template < typename CharT >
398|     unsigned long constexpr
399|     strlen_c(const CharT *const s) noexcept
400|     {
401|       return strlen_c_r(s, 0UL);
402|     }
403|
404|     static_assert(strlen_c("") == 0UL, "");
405|     static_assert(strlen_c("1") == 1UL, "");
406|     static_assert(strlen_c("example") == 7UL, "");
407|     static_assert(strlen_c("another\0example") == 7UL, "");
408|
409|   }
410|
411|   namespace test_rvalue_references
412|   {
413|
414|     template < int N >
415|     struct answer
416|     {
417|       static constexpr int value = N;
418|     };
419|
420|     answer<1> f(int&)       { return answer<1>(); }
421|     answer<2> f(const int&) { return answer<2>(); }
422|     answer<3> f(int&&)      { return answer<3>(); }
423|
424|     void
425|     test()
426|     {
427|       int i = 0;
428|       const int c = 0;
429|       static_assert(decltype(f(i))::value == 1, "");
430|       static_assert(decltype(f(c))::value == 2, "");
431|       static_assert(decltype(f(0))::value == 3, "");
432|     }
433|
434|   }
435|
436|   namespace test_uniform_initialization
437|   {
438|
439|     struct test
440|     {
441|       static const int zero {};
442|       static const int one {1};
443|     };
444|
445|     static_assert(test::zero == 0, "");
446|     static_assert(test::one == 1, "");
447|
448|   }
449|
450|   namespace test_lambdas
451|   {
452|
453|     void
454|     test1()
455|     {
456|       auto lambda1 = [](){};
457|       auto lambda2 = lambda1;
458|       lambda1();
459|       lambda2();
460|     }
461|
462|     int
463|     test2()
464|     {
465|       auto a = [](int i, int j){ return i + j; }(1, 2);
466|       auto b = []() -> int { return '0'; }();
467|       auto c = [=](){ return a + b; }();
468|       auto d = [&](){ return c; }();
469|       auto e = [a, &b](int x) mutable {
470|         const auto identity = [](int y){ return y; };
471|         for (auto i = 0; i < a; ++i)
472|           a += b--;
473|         return x + identity(a + b);
474|       }(0);
475|       return a + b + c + d + e;
476|     }
477|
478|     int
479|     test3()
480|     {
481|       const auto nullary = [](){ return 0; };
482|       const auto unary = [](int x){ return x; };
483|       using nullary_t = decltype(nullary);
484|       using unary_t = decltype(unary);
485|       const auto higher1st = [](nullary_t f){ return f(); };
486|       const auto higher2nd = [unary](nullary_t f1){
487|         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
488|       };
489|       return higher1st(nullary) + higher2nd(nullary)(unary);
490|     }
491|
492|   }
493|
494|   namespace test_variadic_templates
495|   {
496|
497|     template <int...>
498|     struct sum;
499|
500|     template <int N0, int... N1toN>
501|     struct sum<N0, N1toN...>
502|     {
503|       static constexpr auto value = N0 + sum<N1toN...>::value;
504|     };
505|
506|     template <>
507|     struct sum<>
508|     {
509|       static constexpr auto value = 0;
510|     };
511|
512|     static_assert(sum<>::value == 0, "");
513|     static_assert(sum<1>::value == 1, "");
514|     static_assert(sum<23>::value == 23, "");
515|     static_assert(sum<1, 2>::value == 3, "");
516|     static_assert(sum<5, 5, 11>::value == 21, "");
517|     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
518|
519|   }
520|
521|   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
522|   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
523|   // because of this.
524|   namespace test_template_alias_sfinae
525|   {
526|
527|     struct foo {};
528|
529|     template<typename T>
530|     using member = typename T::member_type;
531|
532|     template<typename T>
533|     void func(...) {}
534|
535|     template<typename T>
536|     void func(member<T>*) {}
537|
538|     void test();
539|
540|     void test() { func<foo>(0); }
541|
542|   }
543|
544| }  // namespace cxx11
545|
546| #endif  // __cplusplus >= 201103L
547|
548|
549|
550|
551| // If the compiler admits that it is not ready for C++14, why torture it?
552| // Hopefully, this will speed up the test.
553|
554| #ifndef __cplusplus
555|
556| #error "This is not a C++ compiler"
557|
558| #elif __cplusplus < 201402L
559|
560| #error "This is not a C++14 compiler"
561|
562| #else
563|
564| namespace cxx14
565| {
566|
567|   namespace test_polymorphic_lambdas
568|   {
569|
570|     int
571|     test()
572|     {
573|       const auto lambda = [](auto&&... args){
574|         const auto istiny = [](auto x){
575|           return (sizeof(x) == 1UL) ? 1 : 0;
576|         };
577|         const int aretiny[] = { istiny(args)... };
578|         return aretiny[0];
579|       };
580|       return lambda(1, 1L, 1.0f, '1');
581|     }
582|
583|   }
584|
585|   namespace test_binary_literals
586|   {
587|
588|     constexpr auto ivii = 0b0000000000101010;
589|     static_assert(ivii == 42, "wrong value");
590|
591|   }
592|
593|   namespace test_generalized_constexpr
594|   {
595|
596|     template < typename CharT >
597|     constexpr unsigned long
598|     strlen_c(const CharT *const s) noexcept
599|     {
600|       auto length = 0UL;
601|       for (auto p = s; *p; ++p)
602|         ++length;
603|       return length;
604|     }
605|
606|     static_assert(strlen_c("") == 0UL, "");
607|     static_assert(strlen_c("x") == 1UL, "");
608|     static_assert(strlen_c("test") == 4UL, "");
609|     static_assert(strlen_c("another\0test") == 7UL, "");
610|
611|   }
612|
613|   namespace test_lambda_init_capture
614|   {
615|
616|     int
617|     test()
618|     {
619|       auto x = 0;
620|       const auto lambda1 = [a = x](int b){ return a + b; };
621|       const auto lambda2 = [a = lambda1(x)](){ return a; };
622|       return lambda2();
623|     }
624|
625|   }
626|
627|   namespace test_digit_seperators
628|   {
629|
630|     constexpr auto ten_million = 100'000'000;
631|     static_assert(ten_million == 100000000, "");
632|
633|   }
634|
635|   namespace test_return_type_deduction
636|   {
637|
638|     auto f(int& x) { return x; }
639|     decltype(auto) g(int& x) { return x; }
640|
641|     template < typename T1, typename T2 >
642|     struct is_same
643|     {
644|       static constexpr auto value = false;
645|     };
646|
647|     template < typename T >
648|     struct is_same<T, T>
649|     {
650|       static constexpr auto value = true;
651|     };
652|
653|     int
654|     test()
655|     {
656|       auto x = 0;
657|       static_assert(is_same<int, decltype(f(x))>::value, "");
658|       static_assert(is_same<int&, decltype(g(x))>::value, "");
659|       return x;
660|     }
661|
662|   }
663|
664| }  // namespace cxx14
665|
666| #endif  // __cplusplus >= 201402L
667|
668|
669|
670configure:5475: result: no
671configure:5486: checking whether /usr/bin/clang++ supports C++14 features with -std=c++14
672configure:5902: /usr/bin/clang++ -std=c++14 -c -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.cpp >&5
673configure:5902: $? = 0
674configure:5911: result: yes
675configure:5948: checking whether compiler supports -Wall
676configure:5985: /usr/bin/clang++ -std=c++14 -c -Wall -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.cpp >&5
677configure:5985: $? = 0
678configure:5987: result: yes
679configure:6011: checking whether compiler supports -Wextra
680configure:6048: /usr/bin/clang++ -std=c++14 -c -Wall -Wextra -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.cpp >&5
681configure:6048: $? = 0
682configure:6050: result: yes
683configure:6074: checking whether compiler supports -g3
684configure:6111: /usr/bin/clang++ -std=c++14 -c -Wall -Wextra -g3 -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.cpp >&5
685configure:6111: $? = 0
686configure:6113: result: yes
687configure:6147: checking whether libstdc++ linkage is compilable
688configure:6169: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
689configure:6169: $? = 0
690configure:6177: result: yes
691configure:6193: checking for grep that handles long lines and -e
692configure:6251: result: /opt/local/bin/ggrep
693configure:6256: checking for egrep
694configure:6318: result: /opt/local/bin/ggrep -E
695configure:6323: checking for ANSI C header files
696configure:6343: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
697configure:6343: $? = 0
698configure:6416: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
699configure:6416: $? = 0
700configure:6416: ./conftest
701configure:6416: $? = 0
702configure:6427: result: yes
703configure:6440: checking for sys/types.h
704configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
705configure:6440: $? = 0
706configure:6440: result: yes
707configure:6440: checking for sys/stat.h
708configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
709configure:6440: $? = 0
710configure:6440: result: yes
711configure:6440: checking for stdlib.h
712configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
713configure:6440: $? = 0
714configure:6440: result: yes
715configure:6440: checking for string.h
716configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
717configure:6440: $? = 0
718configure:6440: result: yes
719configure:6440: checking for memory.h
720configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
721configure:6440: $? = 0
722configure:6440: result: yes
723configure:6440: checking for strings.h
724configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
725configure:6440: $? = 0
726configure:6440: result: yes
727configure:6440: checking for inttypes.h
728configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
729configure:6440: $? = 0
730configure:6440: result: yes
731configure:6440: checking for stdint.h
732configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
733configure:6440: $? = 0
734configure:6440: result: yes
735configure:6440: checking for unistd.h
736configure:6440: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
737configure:6440: $? = 0
738configure:6440: result: yes
739configure:6452: checking whether byte ordering is bigendian
740configure:6467: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
741configure:6467: $? = 0
742configure:6512: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
743configure:6512: $? = 0
744configure:6530: /usr/bin/clang -c -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
745conftest.c:28:4: error: use of undeclared identifier 'not'
746                 not big endian
747                 ^
7481 error generated.
749configure:6530: $? = 1
750configure: failed program was:
751| /* confdefs.h */
752| #define PACKAGE_NAME ""
753| #define PACKAGE_TARNAME ""
754| #define PACKAGE_VERSION ""
755| #define PACKAGE_STRING ""
756| #define PACKAGE_BUGREPORT ""
757| #define PACKAGE_URL ""
758| #define JEMALLOC_HAS_RESTRICT 1
759| #define HAVE_CXX14 1
760| #define STDC_HEADERS 1
761| #define HAVE_SYS_TYPES_H 1
762| #define HAVE_SYS_STAT_H 1
763| #define HAVE_STDLIB_H 1
764| #define HAVE_STRING_H 1
765| #define HAVE_MEMORY_H 1
766| #define HAVE_STRINGS_H 1
767| #define HAVE_INTTYPES_H 1
768| #define HAVE_STDINT_H 1
769| #define HAVE_UNISTD_H 1
770| /* end confdefs.h.  */
771| #include <sys/types.h>
772|               #include <sys/param.h>
773|
774| int
775| main ()
776| {
777| #if BYTE_ORDER != BIG_ENDIAN
778|                not big endian
779|               #endif
780|
781|   ;
782|   return 0;
783| }
784configure:6658: result: no
785configure:6702: checking size of void *
786configure:6707: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
787configure:6707: $? = 0
788configure:6707: ./conftest
789configure:6707: $? = 0
790configure:6721: result: 8
791configure:6748: checking size of int
792configure:6753: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
793configure:6753: $? = 0
794configure:6753: ./conftest
795configure:6753: $? = 0
796configure:6767: result: 4
797configure:6793: checking size of long
798configure:6798: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
799configure:6798: $? = 0
800configure:6798: ./conftest
801configure:6798: $? = 0
802configure:6812: result: 8
803configure:6838: checking size of long long
804configure:6843: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
805configure:6843: $? = 0
806configure:6843: ./conftest
807configure:6843: $? = 0
808configure:6857: result: 8
809configure:6883: checking size of intmax_t
810configure:6888: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
811configure:6888: $? = 0
812configure:6888: ./conftest
813configure:6888: $? = 0
814configure:6902: result: 8
815configure:6930: checking build system type
816configure:6944: result: x86_64-apple-darwin21.4.0
817configure:6964: checking host system type
818configure:6977: result: x86_64-apple-darwin21.4.0
819configure:7043: checking whether pause instruction is compilable
820configure:7059: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
821conftest.c:35:18: error: unrecognized instruction mnemonic
822__asm__ volatile("pause"); return 0;
823                 ^
824<inline asm>:1:2: note: instantiated into assembly here
825        pause
826        ^
8271 error generated.
828configure:7059: $? = 1
829configure: failed program was:
830| /* confdefs.h */
831| #define PACKAGE_NAME ""
832| #define PACKAGE_TARNAME ""
833| #define PACKAGE_VERSION ""
834| #define PACKAGE_STRING ""
835| #define PACKAGE_BUGREPORT ""
836| #define PACKAGE_URL ""
837| #define JEMALLOC_HAS_RESTRICT 1
838| #define HAVE_CXX14 1
839| #define STDC_HEADERS 1
840| #define HAVE_SYS_TYPES_H 1
841| #define HAVE_SYS_STAT_H 1
842| #define HAVE_STDLIB_H 1
843| #define HAVE_STRING_H 1
844| #define HAVE_MEMORY_H 1
845| #define HAVE_STRINGS_H 1
846| #define HAVE_INTTYPES_H 1
847| #define HAVE_STDINT_H 1
848| #define HAVE_UNISTD_H 1
849| #define SIZEOF_VOID_P 8
850| #define LG_SIZEOF_PTR 3
851| #define SIZEOF_INT 4
852| #define LG_SIZEOF_INT 2
853| #define SIZEOF_LONG 8
854| #define LG_SIZEOF_LONG 3
855| #define SIZEOF_LONG_LONG 8
856| #define LG_SIZEOF_LONG_LONG 3
857| #define SIZEOF_INTMAX_T 8
858| #define LG_SIZEOF_INTMAX_T 3
859| /* end confdefs.h.  */
860|
861| int
862| main ()
863| {
864| __asm__ volatile("pause"); return 0;
865|   ;
866|   return 0;
867| }
868configure:7067: result: no
869configure:7117: checking number of significant virtual address bits
870configure:7168: /usr/bin/clang -o conftest -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 conftest.c -lstdc++ >&5
871conftest.c:53:8: error: invalid output constraint '=a' in asm
872            : "=a" (r[0]), "=b" (r[1]), "=c" (r[2]), "=d" (r[3])
873              ^
8741 error generated.
875configure:7168: $? = 1
876configure: program exited with status 1
877configure: failed program was:
878| /* confdefs.h */
879| #define PACKAGE_NAME ""
880| #define PACKAGE_TARNAME ""
881| #define PACKAGE_VERSION ""
882| #define PACKAGE_STRING ""
883| #define PACKAGE_BUGREPORT ""
884| #define PACKAGE_URL ""
885| #define JEMALLOC_HAS_RESTRICT 1
886| #define HAVE_CXX14 1
887| #define STDC_HEADERS 1
888| #define HAVE_SYS_TYPES_H 1
889| #define HAVE_SYS_STAT_H 1
890| #define HAVE_STDLIB_H 1
891| #define HAVE_STRING_H 1
892| #define HAVE_MEMORY_H 1
893| #define HAVE_STRINGS_H 1
894| #define HAVE_INTTYPES_H 1
895| #define HAVE_STDINT_H 1
896| #define HAVE_UNISTD_H 1
897| #define SIZEOF_VOID_P 8
898| #define LG_SIZEOF_PTR 3
899| #define SIZEOF_INT 4
900| #define LG_SIZEOF_INT 2
901| #define SIZEOF_LONG 8
902| #define LG_SIZEOF_LONG 3
903| #define SIZEOF_LONG_LONG 8
904| #define LG_SIZEOF_LONG_LONG 3
905| #define SIZEOF_INTMAX_T 8
906| #define LG_SIZEOF_INTMAX_T 3
907| #define HAVE_CPU_SPINWAIT 1
908| #define CPU_SPINWAIT
909| /* end confdefs.h.  */
910|
911| #include <stdio.h>
912| #ifdef _WIN32
913| #include <limits.h>
914| #include <intrin.h>
915| typedef unsigned __int32 uint32_t;
916| #else
917| #include <stdint.h>
918| #endif
919|
920| int
921| main ()
922| {
923|
924|       uint32_t r[4];
925|       uint32_t eax_in = 0x80000008U;
926| #ifdef _WIN32
927|       __cpuid((int *)r, (int)eax_in);
928| #else
929|       asm volatile ("cpuid"
930|           : "=a" (r[0]), "=b" (r[1]), "=c" (r[2]), "=d" (r[3])
931|           : "a" (eax_in), "c" (0)
932|       );
933| #endif
934|       uint32_t eax_out = r[0];
935|       uint32_t vaddr = ((eax_out & 0x0000ff00U) >> 8);
936|       FILE *f = fopen("conftest.out", "w");
937|       if (f == NULL) {
938|               return 1;
939|       }
940|       if (vaddr > (sizeof(void *) << 3)) {
941|               vaddr = sizeof(void *) << 3;
942|       }
943|       fprintf(f, "%u", vaddr);
944|       fclose(f);
945|       return 0;
946|
947|   ;
948|   return 0;
949| }
950configure:7178: result: error
951configure:7189: error: cannot determine number of significant virtual address bits
952
953## ---------------- ##
954## Cache variables. ##
955## ---------------- ##
956
957ac_cv_big_endian=0
958ac_cv_build=x86_64-apple-darwin21.4.0
959ac_cv_c_bigendian=no
960ac_cv_c_compiler_gnu=yes
961ac_cv_cxx_compiler_gnu=yes
962ac_cv_env_CCC_set=
963ac_cv_env_CCC_value=
964ac_cv_env_CC_set=set
965ac_cv_env_CC_value=/usr/bin/clang
966ac_cv_env_CFLAGS_set=set
967ac_cv_env_CFLAGS_value='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
968ac_cv_env_CPPFLAGS_set=set
969ac_cv_env_CPPFLAGS_value='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
970ac_cv_env_CPP_set=
971ac_cv_env_CPP_value=
972ac_cv_env_CXXFLAGS_set=set
973ac_cv_env_CXXFLAGS_value='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
974ac_cv_env_CXX_set=set
975ac_cv_env_CXX_value=/usr/bin/clang++
976ac_cv_env_LDFLAGS_set=set
977ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
978ac_cv_env_LIBS_set=
979ac_cv_env_LIBS_value=
980ac_cv_env_build_alias_set=
981ac_cv_env_build_alias_value=
982ac_cv_env_host_alias_set=
983ac_cv_env_host_alias_value=
984ac_cv_env_target_alias_set=
985ac_cv_env_target_alias_value=
986ac_cv_header_inttypes_h=yes
987ac_cv_header_memory_h=yes
988ac_cv_header_stdc=yes
989ac_cv_header_stdint_h=yes
990ac_cv_header_stdlib_h=yes
991ac_cv_header_string_h=yes
992ac_cv_header_strings_h=yes
993ac_cv_header_sys_stat_h=yes
994ac_cv_header_sys_types_h=yes
995ac_cv_header_unistd_h=yes
996ac_cv_host=x86_64-apple-darwin21.4.0
997ac_cv_objext=o
998ac_cv_path_EGREP='/opt/local/bin/ggrep -E'
999ac_cv_path_GREP=/opt/local/bin/ggrep
1000ac_cv_path_XSLTPROC=/opt/local/bin/xsltproc
1001ac_cv_prog_CPP='/usr/bin/clang -E'
1002ac_cv_prog_ac_ct_CC=/usr/bin/clang
1003ac_cv_prog_cc_c89=
1004ac_cv_prog_cc_g=yes
1005ac_cv_prog_cxx_g=yes
1006ac_cv_sizeof_int=4
1007ac_cv_sizeof_intmax_t=8
1008ac_cv_sizeof_long=8
1009ac_cv_sizeof_long_long=8
1010ac_cv_sizeof_void_p=8
1011ax_cv_cxx_compile_cxx14=no
1012ax_cv_cxx_compile_cxx14__std_cpp14=yes
1013je_cv_cflags_added=-g3
1014je_cv_cray=no
1015je_cv_cray_prgenv_wrapper=
1016je_cv_cxxflags_added=-g3
1017je_cv_lg_vaddr=error
1018je_cv_libstdcxx=yes
1019je_cv_pause=no
1020
1021## ----------------- ##
1022## Output variables. ##
1023## ----------------- ##
1024
1025AR=''
1026ARFLAGS=''
1027AROUT=''
1028AUTOCONF=''
1029AWK=''
1030BINDIR='/opt/local/bin'
1031CC='/usr/bin/clang'
1032CC_MM=''
1033CFLAGS='-std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
1034CONFIG='--prefix=/opt/local --disable-debug --with-jemalloc-prefix= CC=/usr/bin/clang '\''CFLAGS=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'\'' '\''LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'\'' '\''CPPFLAGS=-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'\'' CXX=/usr/bin/clang++ '\''CXXFLAGS=-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'\'''
1035CONFIGURE_CFLAGS='-std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3'
1036CONFIGURE_CXXFLAGS='-Wall -Wextra -g3'
1037CPP='/usr/bin/clang -E'
1038CPPFLAGS='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
1039CTARGET=''
1040CXX='/usr/bin/clang++ -std=c++14'
1041CXXFLAGS='-Wall -Wextra -g3 -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
1042DATADIR='/opt/local/share'
1043DEFS=''
1044DSO_LDFLAGS=''
1045DUMP_SYMS=''
1046ECHO_C='\c'
1047ECHO_N=''
1048ECHO_T=''
1049EGREP='/opt/local/bin/ggrep -E'
1050EXEEXT=''
1051EXTRA_CFLAGS=''
1052EXTRA_CXXFLAGS=''
1053EXTRA_LDFLAGS=''
1054GREP='/opt/local/bin/ggrep'
1055HAVE_CXX14='1'
1056INCLUDEDIR='/opt/local/include'
1057INSTALL_DATA=''
1058INSTALL_PROGRAM=''
1059INSTALL_SCRIPT=''
1060JEMALLOC_CPREFIX=''
1061JEMALLOC_PREFIX=''
1062LD=''
1063LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
1064LDTARGET=''
1065LD_PRELOAD_VAR=''
1066LIBDIR='/opt/local/lib'
1067LIBOBJS=''
1068LIBS='-lstdc++'
1069LM=''
1070LTLIBOBJS=''
1071MANDIR='/opt/local/share/man'
1072MKLIB=''
1073NM=''
1074OBJEXT='o'
1075PACKAGE_BUGREPORT=''
1076PACKAGE_NAME=''
1077PACKAGE_STRING=''
1078PACKAGE_TARNAME=''
1079PACKAGE_URL=''
1080PACKAGE_VERSION=''
1081PATH_SEPARATOR=':'
1082PIC_CFLAGS=''
1083PREFIX='/opt/local'
1084RANLIB=''
1085RPATH=''
1086RPATH_EXTRA=''
1087SHELL='/bin/sh'
1088SOREV=''
1089SPECIFIED_CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
1090SPECIFIED_CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
1091TEST_LD_MODE=''
1092XSLROOT=''
1093XSLTPROC='/opt/local/bin/xsltproc'
1094a=''
1095abi=''
1096abs_objroot='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_jemalloc/jemalloc/work/jemalloc-5.2.1/'
1097abs_srcroot='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_jemalloc/jemalloc/work/jemalloc-5.2.1/'
1098ac_ct_CC='/usr/bin/clang'
1099ac_ct_CXX=''
1100bindir='${exec_prefix}/bin'
1101build='x86_64-apple-darwin21.4.0'
1102build_alias=''
1103build_cpu='x86_64'
1104build_os='darwin21.4.0'
1105build_vendor='apple'
1106cfghdrs_in=''
1107cfghdrs_out=''
1108cfgoutputs_in=''
1109cfgoutputs_out=''
1110datadir='${datarootdir}'
1111datarootdir='${prefix}/share'
1112docdir='${datarootdir}/doc/${PACKAGE}'
1113dvidir='${docdir}'
1114enable_autogen=''
1115enable_cache_oblivious=''
1116enable_cxx='1'
1117enable_debug='no'
1118enable_doc=''
1119enable_experimental_smallocx=''
1120enable_fill=''
1121enable_initial_exec_tls=''
1122enable_lazy_lock=''
1123enable_log=''
1124enable_opt_safety_checks=''
1125enable_prof=''
1126enable_readlinkat=''
1127enable_shared=''
1128enable_static=''
1129enable_stats=''
1130enable_tls=''
1131enable_utrace=''
1132enable_xmalloc=''
1133enable_zone_allocator=''
1134exe=''
1135exec_prefix='/opt/local'
1136host='x86_64-apple-darwin21.4.0'
1137host_alias=''
1138host_cpu='x86_64'
1139host_os='darwin21.4.0'
1140host_vendor='apple'
1141htmldir='${docdir}'
1142importlib=''
1143includedir='${prefix}/include'
1144infodir='${datarootdir}/info'
1145install_suffix=''
1146je_=''
1147jemalloc_version=''
1148jemalloc_version_bugfix=''
1149jemalloc_version_gid=''
1150jemalloc_version_major=''
1151jemalloc_version_minor=''
1152jemalloc_version_nrev=''
1153libdir='${exec_prefix}/lib'
1154libdl=''
1155libexecdir='${exec_prefix}/libexec'
1156libprefix=''
1157link_whole_archive=''
1158localedir='${datarootdir}/locale'
1159localstatedir='${prefix}/var'
1160mandir='${datarootdir}/man'
1161o=''
1162objroot=''
1163oldincludedir='/usr/include'
1164pdfdir='${docdir}'
1165prefix='/opt/local'
1166private_namespace=''
1167program_transform_name='s,x,x,'
1168psdir='${docdir}'
1169rev='2'
1170sbindir='${exec_prefix}/sbin'
1171sharedstatedir='${prefix}/com'
1172so=''
1173srcroot=''
1174sysconfdir='${prefix}/etc'
1175target_alias=''
1176
1177## ----------- ##
1178## confdefs.h. ##
1179## ----------- ##
1180
1181/* confdefs.h */
1182#define PACKAGE_NAME ""
1183#define PACKAGE_TARNAME ""
1184#define PACKAGE_VERSION ""
1185#define PACKAGE_STRING ""
1186#define PACKAGE_BUGREPORT ""
1187#define PACKAGE_URL ""
1188#define JEMALLOC_HAS_RESTRICT 1
1189#define HAVE_CXX14 1
1190#define STDC_HEADERS 1
1191#define HAVE_SYS_TYPES_H 1
1192#define HAVE_SYS_STAT_H 1
1193#define HAVE_STDLIB_H 1
1194#define HAVE_STRING_H 1
1195#define HAVE_MEMORY_H 1
1196#define HAVE_STRINGS_H 1
1197#define HAVE_INTTYPES_H 1
1198#define HAVE_STDINT_H 1
1199#define HAVE_UNISTD_H 1
1200#define SIZEOF_VOID_P 8
1201#define LG_SIZEOF_PTR 3
1202#define SIZEOF_INT 4
1203#define LG_SIZEOF_INT 2
1204#define SIZEOF_LONG 8
1205#define LG_SIZEOF_LONG 3
1206#define SIZEOF_LONG_LONG 8
1207#define LG_SIZEOF_LONG_LONG 3
1208#define SIZEOF_INTMAX_T 8
1209#define LG_SIZEOF_INTMAX_T 3
1210#define HAVE_CPU_SPINWAIT 1
1211#define CPU_SPINWAIT
1212
1213configure: exit 1