Ticket #52326: config.log

File config.log, 36.0 KB (added by alexmartin715@…, 8 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 GNU MP configure 6.1.1, which was
5generated by GNU Autoconf 2.69.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --enable-cxx
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = Alexs-MacBook-Pro.local
14uname -m = x86_64
15uname -r = 16.0.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64
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 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64
27Kernel configured for up to 4 processors.
282 processors are physically available.
294 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3
32Primary memory available: 8.00 gigabytes
33Default processor set: 310 tasks, 1306 threads, 4 processors
34Load average: 1.47, Mach factor: 2.59
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:3055: checking build system type
52configure:3069: result: ivybridge-apple-darwin16.0.0
53configure:3089: checking host system type
54configure:3102: result: ivybridge-apple-darwin16.0.0
55configure:3139: checking for a BSD-compatible install
56configure:3207: result: /usr/bin/install -c
57configure:3218: checking whether build environment is sane
58configure:3273: result: yes
59configure:3424: checking for a thread-safe mkdir -p
60configure:3463: result: ./install-sh -c -d
61configure:3470: checking for gawk
62configure:3497: result: /usr/bin/awk
63configure:3508: checking whether make sets $(MAKE)
64configure:3530: result: yes
65configure:3559: checking whether make supports nested variables
66configure:3576: result: yes
67configure:3705: checking whether to enable maintainer-specific portions of Makefiles
68configure:3714: result: no
69User:
70ABI=64
71CC=/usr/bin/clang
72CFLAGS=(unset)
73CPPFLAGS=-I/opt/local/include
74MPN_PATH=
75GMP:
76abilist=64 x32 32
77cclist=gcc icc cc
78configure:5713: /usr/bin/clang -c conftest.c >&5
79configure:5716: $? = 0
80configure:5719: checking whether /usr/bin/clang is gcc
81configure:5721: result: yes
82configure:5735: /usr/bin/clang 2>&1 | grep xlc >/dev/null
83configure:5738: $? = 1
84configure:5792: checking compiler /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include
85Test compile:
86configure:5806: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
87configure:5809: $? = 0
88configure:5814: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
89configure:5817: $? = 0
90Test compile: function pointer return
91configure:5860: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
92configure:5863: $? = 0
93configure:5868: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
94configure:5871: $? = 0
95Test compile: cmov instruction
96configure:5916: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
97configure:5919: $? = 0
98configure:5924: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
99configure:5927: $? = 0
100Test compile: double -> ulong conversion
101configure:5973: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
102configure:5976: $? = 0
103configure:5981: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
104configure:5984: $? = 0
105Test compile: double negation
106configure:6028: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
107configure:6031: $? = 0
108configure:6036: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
109configure:6039: $? = 0
110Test compile: double -> float conversion
111configure:6084: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
112configure:6087: $? = 0
113configure:6092: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
114configure:6095: $? = 0
115Test compile: gnupro alpha ev6 char spilling
116configure:6169: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
117configure:6172: $? = 0
118configure:6177: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
119configure:6180: $? = 0
120Test compile: __builtin_alloca availability
121configure:6220: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
122conftest.c:1:43: warning: control reaches end of non-void function [-Wreturn-type]
123int k; int foo () { __builtin_alloca (k); }
124                                          ^
1251 warning generated.
126Undefined symbols for architecture x86_64:
127  "_main", referenced from:
128     implicit entry/start for main executable
129ld: symbol(s) not found for architecture x86_64
130clang: error: linker command failed with exit code 1 (use -v to see invocation)
131configure:6223: $? = 1
132failed program was:
133int k; int foo () { __builtin_alloca (k); }
134Test compile: abs int -> double conversion
135configure:6344: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
136configure:6347: $? = 0
137configure:6352: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
138configure:6355: $? = 0
139Test compile: long long reliability test 1
140configure:6409: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
141conftest.c:12:83: warning: too many arguments in call to 'g'
142for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
143                                               ~                                  ^
1441 warning generated.
145configure:6412: $? = 0
146configure:6417: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
147configure:6420: $? = 0
148Test compile: long long reliability test 2
149configure:6470: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
150configure:6473: $? = 0
151configure:6478: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
152configure:6481: $? = 0
153Test compile: freebsd hacked gcc
154configure:6531: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
155configure:6534: $? = 0
156configure:6539: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
157configure:6542: $? = 0
158Test compile: mpn_lshift_com optimization
159configure:6630: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
160configure:6633: $? = 0
161configure:6638: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
162configure:6641: $? = 0
163Test compile: mpn_lshift_com optimization 2
164configure:6738: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include conftest.c >&5
165configure:6741: $? = 0
166configure:6746: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
167configure:6749: $? = 0
168configure:6895: result: yes
169configure:7409: checking compiler /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge
170Test compile:
171configure:7423: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
172configure:7426: $? = 0
173configure:7431: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
174configure:7434: $? = 0
175Test compile: function pointer return
176configure:7477: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
177configure:7480: $? = 0
178configure:7485: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
179configure:7488: $? = 0
180Test compile: cmov instruction
181configure:7533: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
182configure:7536: $? = 0
183configure:7541: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
184configure:7544: $? = 0
185Test compile: double -> ulong conversion
186configure:7590: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
187configure:7593: $? = 0
188configure:7598: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
189configure:7601: $? = 0
190Test compile: double negation
191configure:7645: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
192configure:7648: $? = 0
193configure:7653: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
194configure:7656: $? = 0
195Test compile: double -> float conversion
196configure:7701: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
197configure:7704: $? = 0
198configure:7709: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
199configure:7712: $? = 0
200Test compile: gnupro alpha ev6 char spilling
201configure:7786: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
202configure:7789: $? = 0
203configure:7794: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
204configure:7797: $? = 0
205Test compile: __builtin_alloca availability
206configure:7837: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
207conftest.c:1:43: warning: control reaches end of non-void function [-Wreturn-type]
208int k; int foo () { __builtin_alloca (k); }
209                                          ^
2101 warning generated.
211Undefined symbols for architecture x86_64:
212  "_main", referenced from:
213     implicit entry/start for main executable
214ld: symbol(s) not found for architecture x86_64
215clang: error: linker command failed with exit code 1 (use -v to see invocation)
216configure:7840: $? = 1
217failed program was:
218int k; int foo () { __builtin_alloca (k); }
219Test compile: abs int -> double conversion
220configure:7961: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
221configure:7964: $? = 0
222configure:7969: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
223configure:7972: $? = 0
224Test compile: long long reliability test 1
225configure:8026: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
226conftest.c:12:83: warning: too many arguments in call to 'g'
227for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
228                                               ~                                  ^
2291 warning generated.
230configure:8029: $? = 0
231configure:8034: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
232configure:8037: $? = 0
233Test compile: long long reliability test 2
234configure:8087: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
235configure:8090: $? = 0
236configure:8095: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
237configure:8098: $? = 0
238Test compile: freebsd hacked gcc
239configure:8148: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
240configure:8151: $? = 0
241configure:8156: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
242configure:8159: $? = 0
243Test compile: mpn_lshift_com optimization
244configure:8247: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
245configure:8250: $? = 0
246configure:8255: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
247configure:8258: $? = 0
248Test compile: mpn_lshift_com optimization 2
249configure:8355: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include -mtune=sandybridge conftest.c >&5
250configure:8358: $? = 0
251configure:8363: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
252configure:8366: $? = 0
253configure:8512: result: yes
254configure:7409: checking compiler /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge
255Test compile:
256configure:7423: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
257configure:7426: $? = 0
258configure:7431: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
259configure:7434: $? = 0
260Test compile: function pointer return
261configure:7477: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
262configure:7480: $? = 0
263configure:7485: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
264configure:7488: $? = 0
265Test compile: cmov instruction
266configure:7533: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
267configure:7536: $? = 0
268configure:7541: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
269configure:7544: $? = 0
270Test compile: double -> ulong conversion
271configure:7590: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
272configure:7593: $? = 0
273configure:7598: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
274configure:7601: $? = 0
275Test compile: double negation
276configure:7645: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
277configure:7648: $? = 0
278configure:7653: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
279configure:7656: $? = 0
280Test compile: double -> float conversion
281configure:7701: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
282configure:7704: $? = 0
283configure:7709: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
284configure:7712: $? = 0
285Test compile: gnupro alpha ev6 char spilling
286configure:7786: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
287configure:7789: $? = 0
288configure:7794: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
289configure:7797: $? = 0
290Test compile: __builtin_alloca availability
291configure:7837: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
292conftest.c:1:43: warning: control reaches end of non-void function [-Wreturn-type]
293int k; int foo () { __builtin_alloca (k); }
294                                          ^
2951 warning generated.
296Undefined symbols for architecture x86_64:
297  "_main", referenced from:
298     implicit entry/start for main executable
299ld: symbol(s) not found for architecture x86_64
300clang: error: linker command failed with exit code 1 (use -v to see invocation)
301configure:7840: $? = 1
302failed program was:
303int k; int foo () { __builtin_alloca (k); }
304Test compile: abs int -> double conversion
305configure:7961: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
306configure:7964: $? = 0
307configure:7969: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
308configure:7972: $? = 0
309Test compile: long long reliability test 1
310configure:8026: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
311conftest.c:12:83: warning: too many arguments in call to 'g'
312for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
313                                               ~                                  ^
3141 warning generated.
315configure:8029: $? = 0
316configure:8034: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
317configure:8037: $? = 0
318Test compile: long long reliability test 2
319configure:8087: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
320configure:8090: $? = 0
321configure:8095: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
322configure:8098: $? = 0
323Test compile: freebsd hacked gcc
324configure:8148: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
325configure:8151: $? = 0
326configure:8156: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
327configure:8159: $? = 0
328Test compile: mpn_lshift_com optimization
329configure:8247: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
330configure:8250: $? = 0
331configure:8255: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
332configure:8258: $? = 0
333Test compile: mpn_lshift_com optimization 2
334configure:8355: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -I/opt/local/include -march=sandybridge conftest.c >&5
335configure:8358: $? = 0
336configure:8363: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
337configure:8366: $? = 0
338configure:8512: result: yes
339configure:8665: checking for gcc
340configure:8692: result: /usr/bin/clang
341configure:8921: checking for C compiler version
342configure:8930: /usr/bin/clang --version >&5
343Apple LLVM version 8.0.0 (clang-800.0.38)
344Target: x86_64-apple-darwin16.0.0
345Thread model: posix
346InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
347configure:8941: $? = 0
348configure:8930: /usr/bin/clang -v >&5
349Apple LLVM version 8.0.0 (clang-800.0.38)
350Target: x86_64-apple-darwin16.0.0
351Thread model: posix
352InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
353configure:8941: $? = 0
354configure:8930: /usr/bin/clang -V >&5
355clang: error: argument to '-V' is missing (expected 1 value)
356clang: error: no input files
357configure:8941: $? = 1
358configure:8930: /usr/bin/clang -qversion >&5
359clang: error: unknown argument: '-qversion'
360clang: error: no input files
361configure:8941: $? = 1
362configure:8961: checking whether the C compiler works
363configure:8983: /usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names conftest.c  >&5
364configure:8987: $? = 0
365configure:9035: result: yes
366configure:9038: checking for C compiler default output file name
367configure:9040: result: a.out
368configure:9046: checking for suffix of executables
369configure:9053: /usr/bin/clang -o conftest -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names conftest.c  >&5
370configure:9057: $? = 0
371configure:9079: result:
372configure:9101: checking whether we are cross compiling
373configure:9109: /usr/bin/clang -o conftest -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names conftest.c  >&5
374configure:9113: $? = 0
375configure:9120: ./conftest
376configure:9124: $? = 0
377configure:9139: result: no
378configure:9144: checking for suffix of object files
379configure:9166: /usr/bin/clang -c -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge -I/opt/local/include conftest.c >&5
380configure:9170: $? = 0
381configure:9191: result: o
382configure:9195: checking whether we are using the GNU C compiler
383configure:9214: /usr/bin/clang -c -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge -I/opt/local/include conftest.c >&5
384configure:9214: $? = 0
385configure:9223: result: yes
386configure:9232: checking whether /usr/bin/clang accepts -g
387configure:9252: /usr/bin/clang -c -g -I/opt/local/include conftest.c >&5
388configure:9252: $? = 0
389configure:9293: result: yes
390configure:9310: checking for /usr/bin/clang option to accept ISO C89
391configure:9373: /usr/bin/clang  -c -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge -I/opt/local/include conftest.c >&5
392configure:9373: $? = 0
393configure:9386: result: none needed
394configure:9411: checking whether /usr/bin/clang understands -c and -o together
395configure:9433: /usr/bin/clang -c conftest.c -o conftest2.o
396configure:9436: $? = 0
397configure:9433: /usr/bin/clang -c conftest.c -o conftest2.o
398configure:9436: $? = 0
399configure:9448: result: yes
400configure:9469: checking for /usr/bin/clang option to accept ISO C99
401configure:9618: /usr/bin/clang  -c -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge -I/opt/local/include conftest.c >&5
402configure:9618: $? = 0
403configure:9631: result: none needed
404configure:9739: checking for /usr/bin/clang option to accept ISO Standard C
405configure:9750: result: none needed
406configure:9762: checking how to run the C preprocessor
407configure:9793: /usr/bin/clang -E -I/opt/local/include conftest.c
408configure:9793: $? = 0
409configure:9807: /usr/bin/clang -E -I/opt/local/include conftest.c
410conftest.c:15:10: fatal error: 'ac_nonexistent.h' file not found
411#include <ac_nonexistent.h>
412         ^
4131 error generated.
414configure:9807: $? = 1
415configure: failed program was:
416| /* confdefs.h */
417| #define PACKAGE_NAME "GNU MP"
418| #define PACKAGE_TARNAME "gmp"
419| #define PACKAGE_VERSION "6.1.1"
420| #define PACKAGE_STRING "GNU MP 6.1.1"
421| #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
422| #define PACKAGE_URL "http://www.gnu.org/software/gmp/"
423| #define PACKAGE "gmp"
424| #define VERSION "6.1.1"
425| #define WANT_FFT 1
426| #define HAVE_HOST_CPU_ivybridge 1
427| #define HAVE_SPEED_CYCLECOUNTER 2
428| #define HAVE_CALLING_CONVENTIONS 1
429| /* end confdefs.h.  */
430| #include <ac_nonexistent.h>
431configure:9832: result: /usr/bin/clang -E
432configure:9852: /usr/bin/clang -E -I/opt/local/include conftest.c
433configure:9852: $? = 0
434configure:9866: /usr/bin/clang -E -I/opt/local/include conftest.c
435conftest.c:15:10: fatal error: 'ac_nonexistent.h' file not found
436#include <ac_nonexistent.h>
437         ^
4381 error generated.
439configure:9866: $? = 1
440configure: failed program was:
441| /* confdefs.h */
442| #define PACKAGE_NAME "GNU MP"
443| #define PACKAGE_TARNAME "gmp"
444| #define PACKAGE_VERSION "6.1.1"
445| #define PACKAGE_STRING "GNU MP 6.1.1"
446| #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
447| #define PACKAGE_URL "http://www.gnu.org/software/gmp/"
448| #define PACKAGE "gmp"
449| #define VERSION "6.1.1"
450| #define WANT_FFT 1
451| #define HAVE_HOST_CPU_ivybridge 1
452| #define HAVE_SPEED_CYCLECOUNTER 2
453| #define HAVE_CALLING_CONVENTIONS 1
454| /* end confdefs.h.  */
455| #include <ac_nonexistent.h>
456configure:9964: checking build system compiler /usr/bin/clang
457configure:9977: /usr/bin/clang conftest.c
458configure:9980: $? = 0
459configure:9987: result: yes
460configure:10006: checking for build system preprocessor
461configure:10017: /usr/bin/clang -E conftest.c
462# 1 "conftest.c"
463# 1 "<built-in>" 1
464# 1 "<built-in>" 3
465# 330 "<built-in>" 3
466# 1 "<command line>" 1
467# 1 "<built-in>" 2
468# 1 "conftest.c" 2
469
470configure:10020: $? = 0
471configure:10035: result: /usr/bin/clang -E
472configure:10042: checking for build system executable suffix
473configure:10056: /usr/bin/clang conftest.c -o conftest.exe
474configure:10059: $? = 0
475./configure: line 10061: ./conftest: No such file or directory
476configure:10056: /usr/bin/clang conftest.c -o conftest,ff8
477configure:10059: $? = 0
478./configure: line 10061: ./conftest: No such file or directory
479configure:10056: /usr/bin/clang conftest.c -o conftest
480configure:10059: $? = 0
481configure:10073: result:
482configure:10079: checking whether build system compiler is ANSI
483configure:10092: /usr/bin/clang conftest.c
484configure:10095: $? = 0
485configure:10104: result: yes
486configure:10114: checking for build system compiler math library
487configure:10134: /usr/bin/clang conftest.c -lm
488configure:10137: $? = 0
489configure:10146: result: -lm
490configure:10281: checking for C++ compiler version
491configure:10290: /usr/bin/clang++ -stdlib=libc++ --version >&5
492Apple LLVM version 8.0.0 (clang-800.0.38)
493Target: x86_64-apple-darwin16.0.0
494Thread model: posix
495InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
496configure:10301: $? = 0
497configure:10290: /usr/bin/clang++ -stdlib=libc++ -v >&5
498Apple LLVM version 8.0.0 (clang-800.0.38)
499Target: x86_64-apple-darwin16.0.0
500Thread model: posix
501InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
502clang: warning: argument unused during compilation: '-stdlib=libc++'
503configure:10301: $? = 0
504configure:10290: /usr/bin/clang++ -stdlib=libc++ -V >&5
505clang: error: argument to '-V' is missing (expected 1 value)
506clang: error: no input files
507configure:10301: $? = 1
508configure:10290: /usr/bin/clang++ -stdlib=libc++ -qversion >&5
509clang: error: unknown argument: '-qversion'
510clang: error: no input files
511configure:10301: $? = 1
512configure:10305: checking whether we are using the GNU C++ compiler
513configure:10324: /usr/bin/clang++ -stdlib=libc++ -c  -I/opt/local/include conftest.cpp >&5
514configure:10324: $? = 0
515configure:10333: result: yes
516configure:10342: checking whether /usr/bin/clang++ -stdlib=libc++ accepts -g
517configure:10362: /usr/bin/clang++ -stdlib=libc++ -c -g -I/opt/local/include conftest.cpp >&5
518configure:10362: $? = 0
519configure:10403: result: yes
520CXXFLAGS chosen by autoconf: -g -O2
521configure:10453: checking C++ compiler /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge
522Test compile:
523configure:10467: /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge conftest.cc >&5
524configure:10470: $? = 0
525configure:10474: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
526configure:10477: $? = 0
527Test compile: namespace
528configure:10507: /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge conftest.cc >&5
529configure:10510: $? = 0
530configure:10514: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
531configure:10517: $? = 0
532Test compile: std iostream
533configure:10553: /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge conftest.cc >&5
534In file included from conftest.cc:3:
535In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iostream:38:
536In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:216:
537In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__locale:18:
538In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/mutex:176:
539In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__mutex_base:17:
540/usr/include/pthread.h:423:1: error: C++ requires a type specifier for all declarations
541__SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead")
542^
543/usr/include/pthread.h:423:66: error: expected ';' after top level declarator
544__SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead")
545                                                                 ^
5462 errors generated.
547configure:10556: $? = 1
548failed program was:
549/* This test rejects g++ 2.7.2 which doesn't have <iostream>, only a
550    pre-standard iostream.h. */
551#include <iostream>
552
553/* This test rejects OSF 5.1 Compaq C++ in its default pre-standard iostream
554   mode, since that mode puts cout in the global namespace, not "std".  */
555void someoutput (void) { std::cout << 123; }
556
557int main (void) { return 0; }
558configure:10582: result: no, std iostream
559configure:10453: checking C++ compiler /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -g -O2
560Test compile:
561configure:10467: /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -g -O2 conftest.cc >&5
562configure:10470: $? = 0
563configure:10474: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
564configure:10477: $? = 0
565Test compile: namespace
566configure:10507: /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -g -O2 conftest.cc >&5
567configure:10510: $? = 0
568configure:10514: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
569configure:10517: $? = 0
570Test compile: std iostream
571configure:10553: /usr/bin/clang++ -stdlib=libc++ -I/opt/local/include -g -O2 conftest.cc >&5
572In file included from conftest.cc:3:
573In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iostream:38:
574In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:216:
575In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__locale:18:
576In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/mutex:176:
577In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__mutex_base:17:
578/usr/include/pthread.h:423:1: error: C++ requires a type specifier for all declarations
579__SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead")
580^
581/usr/include/pthread.h:423:66: error: expected ';' after top level declarator
582__SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead")
583                                                                 ^
5842 errors generated.
585configure:10556: $? = 1
586failed program was:
587/* This test rejects g++ 2.7.2 which doesn't have <iostream>, only a
588    pre-standard iostream.h. */
589#include <iostream>
590
591/* This test rejects OSF 5.1 Compaq C++ in its default pre-standard iostream
592   mode, since that mode puts cout in the global namespace, not "std".  */
593void someoutput (void) { std::cout << 123; }
594
595int main (void) { return 0; }
596configure:10582: result: no, std iostream
597configure:10598: error: C++ compiler not available, see config.log for details
598
599## ---------------- ##
600## Cache variables. ##
601## ---------------- ##
602
603ac_cv_build=ivybridge-apple-darwin16.0.0
604ac_cv_c_compiler_gnu=yes
605ac_cv_cxx_compiler_gnu=yes
606ac_cv_env_ABI_set=set
607ac_cv_env_ABI_value=64
608ac_cv_env_CCC_set=
609ac_cv_env_CCC_value=
610ac_cv_env_CC_FOR_BUILD_set=
611ac_cv_env_CC_FOR_BUILD_value=
612ac_cv_env_CC_set=set
613ac_cv_env_CC_value=/usr/bin/clang
614ac_cv_env_CFLAGS_set=
615ac_cv_env_CFLAGS_value=
616ac_cv_env_CPPFLAGS_set=set
617ac_cv_env_CPPFLAGS_value=-I/opt/local/include
618ac_cv_env_CPP_FOR_BUILD_set=
619ac_cv_env_CPP_FOR_BUILD_value=
620ac_cv_env_CPP_set=
621ac_cv_env_CPP_value=
622ac_cv_env_CXXCPP_set=
623ac_cv_env_CXXCPP_value=
624ac_cv_env_CXXFLAGS_set=
625ac_cv_env_CXXFLAGS_value=
626ac_cv_env_CXX_set=set
627ac_cv_env_CXX_value='/usr/bin/clang++ -stdlib=libc++'
628ac_cv_env_LDFLAGS_set=set
629ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names'
630ac_cv_env_LIBS_set=
631ac_cv_env_LIBS_value=
632ac_cv_env_LT_SYS_LIBRARY_PATH_set=
633ac_cv_env_LT_SYS_LIBRARY_PATH_value=
634ac_cv_env_M4_set=
635ac_cv_env_M4_value=
636ac_cv_env_YACC_set=
637ac_cv_env_YACC_value=
638ac_cv_env_YFLAGS_set=
639ac_cv_env_YFLAGS_value=
640ac_cv_env_build_alias_set=
641ac_cv_env_build_alias_value=
642ac_cv_env_host_alias_set=
643ac_cv_env_host_alias_value=
644ac_cv_env_target_alias_set=
645ac_cv_env_target_alias_value=
646ac_cv_host=ivybridge-apple-darwin16.0.0
647ac_cv_objext=o
648ac_cv_prog_AWK=/usr/bin/awk
649ac_cv_prog_CPP='/usr/bin/clang -E'
650ac_cv_prog_ac_ct_CC=/usr/bin/clang
651ac_cv_prog_cc_c89=
652ac_cv_prog_cc_c99=
653ac_cv_prog_cc_g=yes
654ac_cv_prog_cc_stdc=
655ac_cv_prog_cxx_g=yes
656ac_cv_prog_make_make_set=yes
657am_cv_make_support_nested_variables=yes
658am_cv_prog_cc_c_o=yes
659gmp_cv_c_for_build_ansi=yes
660gmp_cv_check_libm_for_build=-lm
661gmp_cv_prog_cpp_for_build='/usr/bin/clang -E'
662gmp_cv_prog_exeext_for_build=
663
664## ----------------- ##
665## Output variables. ##
666## ----------------- ##
667
668ABI='64'
669ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.1-x86_64/missing aclocal-1.15'
670AMTAR='$${TAR-tar}'
671AM_BACKSLASH='\'
672AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
673AM_DEFAULT_VERBOSITY='1'
674AM_V='$(V)'
675AR=''
676AS=''
677ASMFLAGS=''
678AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.1-x86_64/missing autoconf'
679AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.1-x86_64/missing autoheader'
680AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.1-x86_64/missing automake-1.15'
681AWK='/usr/bin/awk'
682CALLING_CONVENTIONS_OBJS='amd64call.lo amd64check$U.lo'
683CC='/usr/bin/clang'
684CCAS='/usr/bin/clang -c'
685CC_FOR_BUILD='/usr/bin/clang'
686CFLAGS='-O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge'
687CPP='/usr/bin/clang -E'
688CPPFLAGS='-I/opt/local/include'
689CPP_FOR_BUILD='/usr/bin/clang -E'
690CXX='/usr/bin/clang++ -stdlib=libc++'
691CXXCPP=''
692CXXFLAGS='-g -O2'
693CYGPATH_W='echo'
694DEFN_LONG_LONG_LIMB='/* #undef _LONG_LONG_LIMB */'
695DEFS=''
696DLLTOOL=''
697DSYMUTIL=''
698DUMPBIN=''
699ECHO_C='\c'
700ECHO_N=''
701ECHO_T=''
702EGREP=''
703ENABLE_STATIC_FALSE=''
704ENABLE_STATIC_TRUE=''
705EXEEXT=''
706EXEEXT_FOR_BUILD=''
707FGREP=''
708GMP_LDFLAGS=''
709GMP_LIMB_BITS=''
710GMP_NAIL_BITS='0'
711GREP=''
712HAVE_CLOCK_01=''
713HAVE_CPUTIME_01=''
714HAVE_GETRUSAGE_01=''
715HAVE_GETTIMEOFDAY_01=''
716HAVE_HOST_CPU_FAMILY_power='0'
717HAVE_HOST_CPU_FAMILY_powerpc='0'
718HAVE_SIGACTION_01=''
719HAVE_SIGALTSTACK_01=''
720HAVE_SIGSTACK_01=''
721HAVE_STACK_T_01=''
722HAVE_SYS_RESOURCE_H_01=''
723INSTALL_DATA='${INSTALL} -m 644'
724INSTALL_PROGRAM='${INSTALL}'
725INSTALL_SCRIPT='${INSTALL}'
726INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
727LD=''
728LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names'
729LEX=''
730LEXLIB=''
731LEX_OUTPUT_ROOT=''
732LIBCURSES=''
733LIBGMPXX_LDFLAGS=''
734LIBGMP_DLL=''
735LIBGMP_LDFLAGS=''
736LIBM=''
737LIBM_FOR_BUILD='-lm'
738LIBOBJS=''
739LIBREADLINE=''
740LIBS=''
741LIBTOOL=''
742LIPO=''
743LN_S=''
744LTLIBOBJS=''
745LT_SYS_LIBRARY_PATH=''
746M4=''
747MAINT='#'
748MAINTAINER_MODE_FALSE=''
749MAINTAINER_MODE_TRUE='#'
750MAKEINFO='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.1-x86_64/missing makeinfo'
751MANIFEST_TOOL=''
752MKDIR_P='./install-sh -c -d'
753NM='/usr/bin/nm'
754NMEDIT=''
755OBJDUMP=''
756OBJEXT='o'
757OTOOL64=''
758OTOOL=''
759PACKAGE='gmp'
760PACKAGE_BUGREPORT='gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html'
761PACKAGE_NAME='GNU MP'
762PACKAGE_STRING='GNU MP 6.1.1'
763PACKAGE_TARNAME='gmp'
764PACKAGE_URL='http://www.gnu.org/software/gmp/'
765PACKAGE_VERSION='6.1.1'
766PATH_SEPARATOR=':'
767RANLIB=''
768SED=''
769SET_MAKE=''
770SHELL='/bin/sh'
771SPEED_CYCLECOUNTER_OBJ='x86_64.lo'
772STRIP=''
773TAL_OBJECT=''
774TUNE_LIBS=''
775TUNE_SQR_OBJ=''
776U_FOR_BUILD=''
777VERSION='6.1.1'
778WANT_CXX_FALSE=''
779WANT_CXX_TRUE=''
780WITH_READLINE_01=''
781YACC=''
782YFLAGS=''
783ac_ct_AR=''
784ac_ct_CC='/usr/bin/clang'
785ac_ct_CXX=''
786ac_ct_DUMPBIN=''
787am__EXEEXT_FALSE=''
788am__EXEEXT_TRUE=''
789am__isrc=''
790am__leading_dot='.'
791am__tar='$${TAR-tar} chof - "$$tardir"'
792am__untar='$${TAR-tar} xf -'
793bindir='${exec_prefix}/bin'
794build='ivybridge-apple-darwin16.0.0'
795build_alias=''
796build_cpu='ivybridge'
797build_os='darwin16.0.0'
798build_vendor='apple'
799datadir='${datarootdir}'
800datarootdir='${prefix}/share'
801docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802dvidir='${docdir}'
803exec_prefix='NONE'
804gmp_srclinks=''
805host='ivybridge-apple-darwin16.0.0'
806host_alias=''
807host_cpu='ivybridge'
808host_os='darwin16.0.0'
809host_vendor='apple'
810htmldir='${docdir}'
811includedir='${prefix}/include'
812infodir='${datarootdir}/info'
813install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.1-x86_64/install-sh'
814libdir='${exec_prefix}/lib'
815libexecdir='${exec_prefix}/libexec'
816localedir='${datarootdir}/locale'
817localstatedir='${prefix}/var'
818mandir='${datarootdir}/man'
819mkdir_p='$(MKDIR_P)'
820mpn_objects=''
821mpn_objs_in_libgmp=''
822oldincludedir='/usr/include'
823pdfdir='${docdir}'
824prefix='/opt/local'
825program_transform_name='s,x,x,'
826psdir='${docdir}'
827sbindir='${exec_prefix}/sbin'
828sharedstatedir='${prefix}/com'
829sysconfdir='${prefix}/etc'
830target_alias=''
831
832## ----------- ##
833## confdefs.h. ##
834## ----------- ##
835
836/* confdefs.h */
837#define PACKAGE_NAME "GNU MP"
838#define PACKAGE_TARNAME "gmp"
839#define PACKAGE_VERSION "6.1.1"
840#define PACKAGE_STRING "GNU MP 6.1.1"
841#define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
842#define PACKAGE_URL "http://www.gnu.org/software/gmp/"
843#define PACKAGE "gmp"
844#define VERSION "6.1.1"
845#define WANT_FFT 1
846#define HAVE_HOST_CPU_ivybridge 1
847#define HAVE_SPEED_CYCLECOUNTER 2
848#define HAVE_CALLING_CONVENTIONS 1
849
850configure: exit 1