Revision 643733373262 () - Diff

Link to this snippet: https://friendpaste.com/5cQjk1A6w1BW9kn50awfhx
Embed:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:759: checking host system type
configure:780: checking target system type
configure:798: checking build system type
configure:859: checking for mawk
configure:983: checking for perl5
configure:983: checking for perl
configure:2139: checking for gcc
configure:2252: checking whether the C compiler (cc -g -O2 -Wall -lstdc++) works
configure:2268: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c 1>&5
configure:2265: warning: return type defaults to 'int'
configure:2294: checking whether the C compiler (cc -g -O2 -Wall -lstdc++) is a cross-compiler
configure:2299: checking whether we are using GNU C
configure:2308: cc -E conftest.c
configure:2327: checking whether cc accepts -g
configure:2363: checking for c++
configure:2395: checking whether the C++ compiler (c++ -lstdc++) works
configure:2411: c++ -o conftest -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.C 1>&5
configure:2437: checking whether the C++ compiler (c++ -lstdc++) is a cross-compiler
configure:2442: checking whether we are using GNU C++
configure:2451: c++ -E conftest.C
configure:2470: checking whether c++ accepts -g
configure:2504: checking for ranlib
configure:2536: checking for as
configure:2590: checking for ar
configure:2625: checking for ld
configure:2660: checking for strip
configure:2695: checking for windres
configure:3468: checking whether cc understands -c and -o together
configure:3480: cc -c conftest.c -o conftest.o 1>&5
configure:3481: cc -c conftest.c -o conftest.o 1>&5
configure:3525: checking how to run the C preprocessor
configure:3546: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:3605: checking how to run the C++ preprocessor
configure:3623: c++ -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C >/dev/null 2>conftest.out
configure:3713: checking for sb-conf
configure:3713: checking for ve
configure:3780: checking for a BSD compatible install
configure:3833: checking whether ln -s works
configure:3856: checking for minimum required perl version >= 5.006
configure:3867: checking for full perl installation
configure:3882: checking for python2.7
configure:3882: checking for python2.6
configure:3942: checking for doxygen
configure:3991: checking for autoconf
configure:4040: checking for unzip
configure:4091: checking for zip
configure:4145: checking for makedepend
configure:4193: checking for xargs
configure:4566: checking for gmake
configure:4566: checking for make
configure:4629: checking for X
configure:4696: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:4772: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -lXt 1>&5
configure: In function 'main':
configure:4768: warning: implicit declaration of function 'XtMalloc'
configure:4943: checking for dnet_ntoa in -ldnet
configure:4962: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -ldnet 1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 4951 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4984: checking for dnet_ntoa in -ldnet_stub
configure:5003: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -ldnet_stub 1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 4992 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:5032: checking for gethostbyname
configure:5060: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c 1>&5
configure:5130: checking for connect
configure:5158: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c 1>&5
configure:5222: checking for remove
configure:5250: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c 1>&5
configure:5314: checking for shmat
configure:5342: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c 1>&5
configure:5415: checking for IceConnectionNumber in -lICE
configure:5434: cc -o conftest -g -O2 -Wall -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -lICE 1>&5
configure:5917: checking whether the compiler supports -Wno-invalid-offsetof
configure:5940: c++ -c -fno-strict-aliasing -Wno-invalid-offsetof -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:5967: checking whether the compiler supports -Wno-variadic-macros
configure:5990: c++ -c -fno-strict-aliasing -Wno-variadic-macros -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:6017: checking whether the compiler supports -Werror=return-type
configure:6040: c++ -c -fno-strict-aliasing -Werror=return-type -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:6076: checking whether ld has archive extraction flags
configure:6100: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -Wl,--whole-archive conftest.c -Wl,--no-whole-archive 1>&5
configure:6133: checking that static assertion macros used in autoconf tests work
configure:6154: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure:6171: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:6172: error: size of array 'static_assert_line_6171' is negative
configure: failed program was:
#line 6164 "configure"
#include "confdefs.h"

#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]

int main() {
CONFIGURE_STATIC_ASSERT(0)
; return 0; }
configure:6194: c++ -c -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:6211: c++ -c -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure: In function 'int main()':
configure:6211: error: size of array 'static_assert_line_6211' is negative
configure: failed program was:
#line 6204 "configure"
#include "confdefs.h"

#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]

int main() {
CONFIGURE_STATIC_ASSERT(0)
; return 0; }
configure:6245: checking for 64-bit OS
configure:6254: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:6255: error: size of array 'static_assert_line_6254' is negative
configure: failed program was:
#line 6247 "configure"
#include "confdefs.h"

#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]

int main() {
CONFIGURE_STATIC_ASSERT(sizeof(void*) == 8)
; return 0; }
configure:6393: checking for Python version >= 2.5 but not 3.x
configure:8126: checking for ANSI C header files
configure:8139: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:8206: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c 1>&5
configure: In function 'main':
configure:8201: warning: implicit declaration of function 'exit'
configure:8201: warning: incompatible implicit declaration of built-in function 'exit'
configure:8230: checking for working const
configure:8284: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8258: warning: unused variable 's'
configure:8278: warning: unused variable 'foo'
configure:8246: warning: unused variable 'zero'
configure:8240: warning: unused variable 'x'
configure:8260: warning: 't' is used uninitialized in this function
configure:8275: warning: 'b' is used uninitialized in this function
configure:8305: checking for mode_t
configure:8338: checking for off_t
configure:8371: checking for pid_t
configure:8404: checking for size_t
configure:8444: checking for __stdcall
configure:8458: c++ -c -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:8452: error: '__stdcall' was not declared in this scope
configure:8452: error: template argument 1 is invalid
configure: failed program was:
#line 8449 "configure"
#include "confdefs.h"
template <typename Method> struct foo;
template <> struct foo<void (*)()> {};
template <> struct foo<void (__stdcall*)()> {};
int main() {

; return 0; }
configure:8487: checking for ssize_t
configure:8500: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8496: warning: unused variable 'foo'
configure:8522: checking for st_blksize in struct stat
configure:8535: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8531: warning: statement with no effect
configure:8556: checking for siginfo_t
configure:8569: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8565: warning: unused variable 'info'
configure:8594: checking for stdint.h
configure:8604: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:8840: checking for the size of void*
configure:8858: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8852: warning: unused variable 'a'
configure:8895: checking for the alignment of void*
configure:8916: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8910: error: size of array 'a' is negative
configure:8910: warning: unused variable 'a'
configure: failed program was:
#line 8903 "configure"
#include "confdefs.h"

#include <stddef.h>
struct aligner { char c; void* a; };
int main() {

int a[offsetof(struct aligner, a) == 2 ? 1 : -1];
return 0;
; return 0; }
configure:8916: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8910: warning: unused variable 'a'
configure:8939: checking for the size of double
configure:8957: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8951: error: size of array 'a' is negative
configure:8951: warning: unused variable 'a'
configure: failed program was:
#line 8947 "configure"
#include "confdefs.h"

int main() {

int a[sizeof (double) == 6 ? 1 : -1];
return 0;
; return 0; }
configure:8957: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8951: warning: unused variable 'a'
configure:8980: checking for int16_t
configure:8993: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:8989: warning: unused variable 'foo'
configure:9015: checking for int32_t
configure:9028: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:9024: warning: unused variable 'foo'
configure:9050: checking for int64_t
configure:9063: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:9059: warning: unused variable 'foo'
configure:9085: checking for int64
configure:9098: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:9094: error: 'int64' undeclared (first use in this function)
configure:9094: error: (Each undeclared identifier is reported only once
configure:9094: error: for each function it appears in.)
configure:9094: error: expected ';' before 'foo'
configure: failed program was:
#line 9090 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
int main() {
int64 foo = 0;
; return 0; }
configure:9120: checking for uint
configure:9133: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:9129: warning: unused variable 'foo'
configure:9155: checking for uint_t
configure:9168: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:9164: error: 'uint_t' undeclared (first use in this function)
configure:9164: error: (Each undeclared identifier is reported only once
configure:9164: error: for each function it appears in.)
configure:9164: error: expected ';' before 'foo'
configure: failed program was:
#line 9160 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
int main() {
uint_t foo = 0;
; return 0; }
configure:9190: checking for uint16_t
configure:9203: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:9199: error: 'uint16_t' undeclared (first use in this function)
configure:9199: error: (Each undeclared identifier is reported only once
configure:9199: error: for each function it appears in.)
configure:9199: error: expected ';' before 'foo'
configure: failed program was:
#line 9195 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
int main() {
uint16_t foo = 0;
; return 0; }
configure:9234: checking for uname.domainname
configure:9247: c++ -c -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:9271: checking for uname.__domainname
configure:9284: c++ -c -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure: In function 'int main()':
configure:9280: error: 'struct utsname' has no member named '__domainname'
configure: failed program was:
#line 9276 "configure"
#include "confdefs.h"
#include <sys/utsname.h>
int main() {
struct utsname *res; char *domain;
(void)uname(res); if (res != 0) { domain = res->__domainname; }
; return 0; }
configure:9317: checking for visibility(hidden) attribute
configure:9342: checking for visibility(default) attribute
configure:9367: checking for visibility pragma support
configure:9392: checking For gcc visibility bug with class-level attributes (GCC bug 26905)
configure:9420: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)
configure:9474: checking for __force_align_arg_pointer__ attribute
configure:9486: cc -c -g -O2 -Wall -fno-strict-aliasing -Werror -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
cc1: warnings being treated as errors
configure:9480: error: '__force_align_arg_pointer__' attribute directive ignored
configure: failed program was:
#line 9479 "configure"
#include "confdefs.h"
__attribute__ ((__force_align_arg_pointer__)) void test() {}
int main() {

; return 0; }
configure:9513: checking for dirent.h that defines DIR
configure:9526: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:9522: warning: unused variable 'dirp'
configure:9551: checking for opendir in -ldir
configure:9570: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -ldir 1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 9559 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir();

int main() {
opendir()
; return 0; }
configure:9643: checking for sys/byteorder.h
configure:9653: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9649:27: error: sys/byteorder.h: No such file or directory
configure: failed program was:
#line 9648 "configure"
#include "confdefs.h"
#include <sys/byteorder.h>
configure:9643: checking for compat.h
configure:9653: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9649:20: error: compat.h: No such file or directory
configure: failed program was:
#line 9648 "configure"
#include "confdefs.h"
#include <compat.h>
configure:9643: checking for getopt.h
configure:9653: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9683: checking for sys/bitypes.h
configure:9693: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9683: checking for memory.h
configure:9693: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9683: checking for unistd.h
configure:9693: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9723: checking for gnu/libc-version.h
configure:9733: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9723: checking for nl_types.h
configure:9733: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9763: checking for malloc.h
configure:9773: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9803: checking for X11/XKBlib.h
configure:9813: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9843: checking for io.h
configure:9853: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9849:16: error: io.h: No such file or directory
configure: failed program was:
#line 9848 "configure"
#include "confdefs.h"
#include <io.h>
configure:9884: checking for sys/statvfs.h
configure:9894: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9884: checking for sys/statfs.h
configure:9894: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9884: checking for sys/vfs.h
configure:9894: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9884: checking for sys/mount.h
configure:9894: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9925: checking for sys/quota.h
configure:9935: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:9965: checking for linux/quota.h
configure:9975: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:10006: checking for mmintrin.h
configure:10016: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:10053: checking for new
configure:10063: c++ -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C >/dev/null 2>conftest.out
configure:10155: checking for sys/cdefs.h
configure:10165: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:10196: checking for linux/perf_event.h
configure:10206: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:10234: checking for gethostbyname_r in -lc_r
configure:10253: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -lc_r 1>&5
/usr/bin/ld: cannot find -lc_r
collect2: ld returned 1 exit status
configure: failed program was:
#line 10242 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gethostbyname_r();

int main() {
gethostbyname_r()
; return 0; }
configure:10293: checking for library containing dlopen
configure:10311: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c 1>&5
/tmp/ccETka6p.o: In function `main':
/home/benoitc/emonk/c_src/js-1.8.5/js/src/configure:10307: undefined reference to `dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10300 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dlopen();

int main() {
dlopen()
; return 0; }
configure:10333: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -ldl 1>&5
configure:10351: checking for dlfcn.h
configure:10361: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:10396: checking for dladdr
configure:10424: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -D_GNU_SOURCE -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -ldl 1>&5
configure:10559: checking for socket in -lsocket
configure:10578: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lstdc++ conftest.c -lsocket -ldl 1>&5
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
configure: failed program was:
#line 10567 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char socket();

int main() {
socket()
; return 0; }
configure:10608: checking for ARM SIMD support in compiler
configure:10617: cc -c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
/tmp/cc1vkT1K.s: Assembler messages:
/tmp/cc1vkT1K.s:36: Error: selected processor does not support `uqadd8 r1,r1,r2'
configure: failed program was:
#line 10610 "configure"
#include "confdefs.h"

int main() {
asm("uqadd8 r1, r1, r2");
; return 0; }
configure:10638: checking for ARM NEON support in compiler
configure:10652: cc -c -g -O2 -Wall -fno-strict-aliasing -mfpu=neon -mfloat-abi=softfp -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure:10680: checking for pthread_create in -lpthreads
cc -o dummy dummy.c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthreads -lstdc++ -ldl
dummy.c: In function 'foo':
dummy.c:4: warning: unused variable 'a'
dummy.c:4: warning: control reaches end of non-void function
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
configure:10703: checking for pthread_create in -lpthread
cc -o dummy dummy.c -g -O2 -Wall -fno-strict-aliasing -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ -ldl
dummy.c: In function 'foo':
dummy.c:4: warning: unused variable 'a'
dummy.c:4: warning: control reaches end of non-void function
configure:10808: checking whether cc accepts -pthread
configure:10926: checking whether mmap() sees write()s
configure:10969: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure: In function 'main':
configure:10990: warning: unused variable 'rc'
configure:10994: checking whether cc needs -traditional
configure:11040: checking for 8-bit clean memcmp
configure:11058: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11051: warning: return type defaults to 'int'
configure: In function 'main':
configure:11053: warning: implicit declaration of function 'exit'
configure:11053: warning: incompatible implicit declaration of built-in function 'exit'
configure:11053: warning: implicit declaration of function 'memcmp'
configure:11080: checking for fchmod
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for flockfile
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for getc_unlocked
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for _getc_nolock
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
/tmp/ccAm1Gns.o: In function `main':
/home/benoitc/emonk/c_src/js-1.8.5/js/src/configure:11102: undefined reference to `_getc_nolock'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11085 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _getc_nolock(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char _getc_nolock();

int main() {

/* 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__getc_nolock) || defined (__stub____getc_nolock)
choke me
#else
_getc_nolock();
#endif

; return 0; }
configure:11080: checking for getpagesize
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for lchown
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for localtime_r
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for lstat64
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for memmove
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11092: warning: conflicting types for built-in function 'memmove'
configure:11080: checking for random
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for rint
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11092: warning: conflicting types for built-in function 'rint'
configure:11080: checking for sbrk
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for snprintf
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11092: warning: conflicting types for built-in function 'snprintf'
configure:11080: checking for stat64
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for statvfs
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for statvfs64
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for strerror
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for strtok_r
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11080: checking for truncate64
configure:11108: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11136: checking for clock_gettime(CLOCK_MONOTONIC) and -lrt
configure:11149: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ -lrt conftest.c -ldl 1>&5
configure:11182: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11176:21: error: windows.h: No such file or directory
configure: In function 'main':
configure:11178: error: 'SYSTEMTIME' undeclared (first use in this function)
configure:11178: error: (Each undeclared identifier is reported only once
configure:11178: error: for each function it appears in.)
configure:11178: error: expected ';' before 'st'
configure:11178: error: 'FILETIME' undeclared (first use in this function)
configure:11178: error: expected ';' before 'ft'
configure:11178: warning: implicit declaration of function 'SystemTimeToFileTime'
configure:11178: error: 'st' undeclared (first use in this function)
configure:11178: error: 'ft' undeclared (first use in this function)
configure: failed program was:
#line 11175 "configure"
#include "confdefs.h"
#include <windows.h>
int main() {
SYSTEMTIME st;FILETIME ft;SystemTimeToFileTime(&st,&ft);
; return 0; }
configure:11206: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:11200:21: error: windows.h: No such file or directory
configure: In function 'main':
configure:11202: error: 'FILETIME' undeclared (first use in this function)
configure:11202: error: (Each undeclared identifier is reported only once
configure:11202: error: for each function it appears in.)
configure:11202: error: expected ';' before 'ft'
configure:11202: warning: implicit declaration of function 'GetSystemTimeAsFileTime'
configure:11202: error: 'ft' undeclared (first use in this function)
configure: failed program was:
#line 11199 "configure"
#include "confdefs.h"
#include <windows.h>
int main() {
FILETIME ft;GetSystemTimeAsFileTime(&ft);
; return 0; }
configure:11233: checking for wcrtomb
configure:11245: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:11265: checking for mbrtowc
configure:11277: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:11306: checking for res_ninit()
configure:11323: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure: In function 'main':
configure:11319: warning: unused variable 'foo'
configure:11353: checking for gnu_get_libc_version()
configure:11369: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:11398: checking for iconv in -lc
configure:11420: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -lc -ldl 1>&5
configure:11529: checking for iconv()
configure:11548: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:11572: checking for iconv() with const input
configure:11592: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure: In function 'int main()':
configure:11586: error: invalid conversion from 'const char**' to 'char**'
configure:11586: error: initializing argument 2 of 'size_t iconv(void*, char**, size_t*, char**, size_t*)'
configure: failed program was:
#line 11577 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <iconv.h>
int main() {

const char *input = "testing";
iconv_t h = iconv_open("", "");
iconv(h, &input, NULL, NULL, NULL);
iconv_close(h);
; return 0; }
configure:11628: checking for an implementation of va_copy()
configure:11652: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure: In function 'f':
configure:11646: warning: implicit declaration of function 'exit'
configure:11646: warning: incompatible implicit declaration of built-in function 'exit'
configure:11669: checking for an implementation of __va_copy()
configure:11693: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure: In function 'f':
configure:11687: warning: implicit declaration of function 'exit'
configure:11687: warning: incompatible implicit declaration of built-in function 'exit'
configure:11710: checking whether va_lists can be copied by value
configure:11734: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure: In function 'f':
configure:11728: warning: implicit declaration of function 'exit'
configure:11728: warning: incompatible implicit declaration of built-in function 'exit'
configure:11843: checking for ARM EABI
configure:11861: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:11883: checking for gcc 3.0 ABI
configure:11901: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:11925: checking for C++ "explicit" keyword
configure:11940: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:11961: checking for C++ "typename" keyword
configure:11985: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12006: checking for modern C++ template specialization syntax support
configure:12021: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12043: checking whether partial template specialization works
configure:12056: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12077: checking whether operators must be re-defined for templates derived from templates
configure:12094: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12116: checking whether we need to cast a derived template to pass as its base class
configure:12130: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12151: checking whether the compiler can resolve const ambiguities for templates
configure:12177: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12199: checking whether the C++ "using" keyword can change access
configure:12212: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12223: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure: In function 'int main()':
configure:12216: error: 'int A::foo()' is inaccessible
configure:12219: error: within this context
configure: failed program was:
#line 12215 "configure"
#include "confdefs.h"
class A { public: int foo() { return 1; } };
class B : public A { private: using A::foo; };
int main() {
B b; return b.foo();
; return 0; }
configure:12251: checking whether the C++ "using" keyword resolves ambiguity
configure:12272: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12293: checking for "std::" namespace
configure:12305: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12326: checking whether standard template operator!=() is ambiguous
configure:12341: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12363: checking for C++ reinterpret_cast
configure:12376: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12397: checking for C++ dynamic_cast to void*
configure:12424: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:12448: checking whether C++ requires implementation of unused virtual methods
configure:12460: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
/tmp/ccOGHjvq.o: In function `X::X()':
conftest.C:(.text._ZN1XC1Ev[X::X()]+0x30): undefined reference to `vtable for X'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12453 "configure"
#include "confdefs.h"
class X {private: virtual void never_called();};
int main() {
X x;
; return 0; }
configure:12483: checking for trouble comparing to zero near std::operator!=()
configure:12499: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12523: checking for __thread keyword for TLS variables
configure:12535: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ -fPIC -shared -Wl,-z,defs conftest.C -ldl 1>&5
configure:12572: checking for malloc.h
configure:12684: checking for strndup
configure:12715: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:12684: checking for posix_memalign
configure:12715: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:12684: checking for memalign
configure:12715: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:12684: checking for valloc
configure:12715: c++ -o conftest -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:12742: checking for __attribute__((always_inline))
configure:12754: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12769: checking for __attribute__((malloc))
configure:12781: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12796: checking for __attribute__((warn_unused_result))
configure:12808: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12823: checking for __attribute__((noreturn))
configure:12835: c++ -c -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:12859: checking for LC_MESSAGES
configure:12871: cc -c -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure: In function 'main':
configure:12867: warning: unused variable 'category'
configure:12894: checking for localeconv
configure:12922: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:13092: checking for nspr-config
configure:13127: checking for NSPR - version >= 4.7.0
configure:13195: cc -c -g -O2 -Wall -fno-strict-aliasing -pthread -I/home/benoitc/emonk/c_src/system/include/nspr -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure:13445: checking for valid optimization flags
configure:13456: cc -c -g -O2 -Wall -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -Os -freorder-blocks -fomit-frame-pointer -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure:14167: checking for __cxa_demangle
configure:14198: c++ -o conftest -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure:14246: checking for unwind.h
configure:14256: cc -E -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c >/dev/null 2>conftest.out
configure:14275: checking for _Unwind_Backtrace
configure:14303: cc -o conftest -g -O2 -Wall -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.c -ldl 1>&5
configure:14352: checking for gcc -pipe support
dummy-hello.c:2:21: warning: missing terminating " character
dummy-hello.c: In function 'main':
dummy-hello.c:2: error: missing terminating " character
dummy-hello.c:3:1: warning: missing terminating " character
dummy-hello.c:3: error: missing terminating " character
dummy-hello.c:3: error: expected expression at end of input
dummy-hello.c:3: error: expected declaration or statement at end of input
configure:14374: cc -c -g -O2 -Wall -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -pipe -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure:14419: checking whether C compiler supports -fprofile-generate
configure:14428: cc -c -g -O2 -Wall -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -pipe -fprofile-generate -fprofile-correction -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.c 1>&5
configure:14492: checking whether C++ compiler has -pedantic long long bug
configure:14501: c++ -c -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -pipe -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 conftest.C 1>&5
configure:14526: checking for correct temporary object destruction order
configure:14554: c++ -o conftest -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -pipe -DXP_UNIX -DJS_C_STRINGS_ARE_UTF8 -lpthread -lstdc++ conftest.C -ldl 1>&5
configure: failed program was:
#line 14531 "configure"
#include "confdefs.h"
#ifdef __cplusplus
extern "C" void exit(int);
#endif
class A {
public: A(int& x) : mValue(x) {}
~A() { mValue--; }
operator char**() { return 0; }
private: int& mValue;
};
void func(char **arg) {}
int m=2;
void test() {
func(A(m));
if (m==1) m = 0;
}
int main() {
test();
return(m);
}