Project

General

Profile

Bug #12071 » fiddle.mkmf.log

Panyamin (Benjamin Gueroult), 02/15/2016 09:15 PM

 
1
package configuration for libffi is not found
2
have_header: checking for ffi.h... -------------------- yes
3

    
4
"gcc -E -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  conftest.c -o conftest.i"
5
checked program was:
6
/* begin */
7
1: #include "ruby.h"
8
2: 
9
3: #include <ffi.h>
10
/* end */
11

    
12
--------------------
13

    
14
have_library: checking for main() in -lffi... -------------------- yes
15

    
16
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector     -lruby230-static -lffi  -lpthread -ldl  "
17
checked program was:
18
/* begin */
19
 1: #include "ruby.h"
20
 2: 
21
 3: /*top*/
22
 4: extern int t(void);
23
 5: int main(int argc, char **argv)
24
 6: {
25
 7:   if (argc > 1000000) {
26
 8:     printf("%p", &t);
27
 9:   }
28
10: 
29
11:   return 0;
30
12: }
31
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return !p; }
32
/* end */
33

    
34
--------------------
35

    
36
have_header: checking for sys/mman.h... -------------------- yes
37

    
38
"gcc -E -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  conftest.c -o conftest.i"
39
checked program was:
40
/* begin */
41
1: #include "ruby.h"
42
2: 
43
3: #include <sys/mman.h>
44
/* end */
45

    
46
--------------------
47

    
48
have_header: checking for dlfcn.h... -------------------- yes
49

    
50
"gcc -E -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  conftest.c -o conftest.i"
51
checked program was:
52
/* begin */
53
1: #include "ruby.h"
54
2: 
55
3: #include <dlfcn.h>
56
/* end */
57

    
58
--------------------
59

    
60
have_library: checking for main() in -ldl... -------------------- yes
61

    
62
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
63
checked program was:
64
/* begin */
65
 1: #include "ruby.h"
66
 2: 
67
 3: /*top*/
68
 4: extern int t(void);
69
 5: int main(int argc, char **argv)
70
 6: {
71
 7:   if (argc > 1000000) {
72
 8:     printf("%p", &t);
73
 9:   }
74
10: 
75
11:   return 0;
76
12: }
77
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return !p; }
78
/* end */
79

    
80
--------------------
81

    
82
have_func: checking for dlopen()... -------------------- yes
83

    
84
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -ldl -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
85
conftest.c: In function t:
86
conftest.c:13:57: erreur: dlopen undeclared (first use in this function)
87
 int t(void) { void ((*volatile p)()); p = (void ((*)()))dlopen; return !p; }
88
                                                         ^
89
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
90
checked program was:
91
/* begin */
92
 1: #include "ruby.h"
93
 2: 
94
 3: /*top*/
95
 4: extern int t(void);
96
 5: int main(int argc, char **argv)
97
 6: {
98
 7:   if (argc > 1000000) {
99
 8:     printf("%p", &t);
100
 9:   }
101
10: 
102
11:   return 0;
103
12: }
104
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))dlopen; return !p; }
105
/* end */
106

    
107
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -ldl -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
108
checked program was:
109
/* begin */
110
 1: #include "ruby.h"
111
 2: 
112
 3: /*top*/
113
 4: extern int t(void);
114
 5: int main(int argc, char **argv)
115
 6: {
116
 7:   if (argc > 1000000) {
117
 8:     printf("%p", &t);
118
 9:   }
119
10: 
120
11:   return 0;
121
12: }
122
13: extern void dlopen();
123
14: int t(void) { dlopen(); return 0; }
124
/* end */
125

    
126
--------------------
127

    
128
have_func: checking for dlclose()... -------------------- yes
129

    
130
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -ldl -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
131
conftest.c: In function t:
132
conftest.c:13:57: erreur: dlclose undeclared (first use in this function)
133
 int t(void) { void ((*volatile p)()); p = (void ((*)()))dlclose; return !p; }
134
                                                         ^
135
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
136
checked program was:
137
/* begin */
138
 1: #include "ruby.h"
139
 2: 
140
 3: /*top*/
141
 4: extern int t(void);
142
 5: int main(int argc, char **argv)
143
 6: {
144
 7:   if (argc > 1000000) {
145
 8:     printf("%p", &t);
146
 9:   }
147
10: 
148
11:   return 0;
149
12: }
150
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))dlclose; return !p; }
151
/* end */
152

    
153
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -ldl -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
154
checked program was:
155
/* begin */
156
 1: #include "ruby.h"
157
 2: 
158
 3: /*top*/
159
 4: extern int t(void);
160
 5: int main(int argc, char **argv)
161
 6: {
162
 7:   if (argc > 1000000) {
163
 8:     printf("%p", &t);
164
 9:   }
165
10: 
166
11:   return 0;
167
12: }
168
13: extern void dlclose();
169
14: int t(void) { dlclose(); return 0; }
170
/* end */
171

    
172
--------------------
173

    
174
have_func: checking for dlsym()... -------------------- yes
175

    
176
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -ldl -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
177
conftest.c: In function t:
178
conftest.c:13:57: erreur: dlsym undeclared (first use in this function)
179
 int t(void) { void ((*volatile p)()); p = (void ((*)()))dlsym; return !p; }
180
                                                         ^
181
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
182
checked program was:
183
/* begin */
184
 1: #include "ruby.h"
185
 2: 
186
 3: /*top*/
187
 4: extern int t(void);
188
 5: int main(int argc, char **argv)
189
 6: {
190
 7:   if (argc > 1000000) {
191
 8:     printf("%p", &t);
192
 9:   }
193
10: 
194
11:   return 0;
195
12: }
196
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))dlsym; return !p; }
197
/* end */
198

    
199
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -ldl -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
200
checked program was:
201
/* begin */
202
 1: #include "ruby.h"
203
 2: 
204
 3: /*top*/
205
 4: extern int t(void);
206
 5: int main(int argc, char **argv)
207
 6: {
208
 7:   if (argc > 1000000) {
209
 8:     printf("%p", &t);
210
 9:   }
211
10: 
212
11:   return 0;
213
12: }
214
13: extern void dlsym();
215
14: int t(void) { dlsym(); return 0; }
216
/* end */
217

    
218
--------------------
219

    
220
have_func: checking for dlerror()... -------------------- yes
221

    
222
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -ldl -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
223
conftest.c: In function t:
224
conftest.c:13:57: erreur: dlerror undeclared (first use in this function)
225
 int t(void) { void ((*volatile p)()); p = (void ((*)()))dlerror; return !p; }
226
                                                         ^
227
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
228
checked program was:
229
/* begin */
230
 1: #include "ruby.h"
231
 2: 
232
 3: /*top*/
233
 4: extern int t(void);
234
 5: int main(int argc, char **argv)
235
 6: {
236
 7:   if (argc > 1000000) {
237
 8:     printf("%p", &t);
238
 9:   }
239
10: 
240
11:   return 0;
241
12: }
242
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))dlerror; return !p; }
243
/* end */
244

    
245
"gcc -o conftest.exe -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c  -L. -L../.. -L. -L/home/USER/.rbenv/versions/2.3.0/lib  -fstack-protector    -ldl -lffi  -lruby230-static -ldl -lffi  -lpthread -ldl  "
246
checked program was:
247
/* begin */
248
 1: #include "ruby.h"
249
 2: 
250
 3: /*top*/
251
 4: extern int t(void);
252
 5: int main(int argc, char **argv)
253
 6: {
254
 7:   if (argc > 1000000) {
255
 8:     printf("%p", &t);
256
 9:   }
257
10: 
258
11:   return 0;
259
12: }
260
13: extern void dlerror();
261
14: int t(void) { dlerror(); return 0; }
262
/* end */
263

    
264
--------------------
265

    
266
have_const: checking for FFI_STDCALL in ffi.h... -------------------- no
267

    
268
"gcc -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat   -c conftest.c"
269
conftest.c:7:34: erreur: FFI_STDCALL undeclared here (not in a function)
270
 conftest_type conftestval = (int)FFI_STDCALL;
271
                                  ^
272
checked program was:
273
/* begin */
274
1: #include "ruby.h"
275
2: 
276
3: #include <ffi.h>
277
4: 
278
5: /*top*/
279
6: typedef int conftest_type;
280
7: conftest_type conftestval = (int)FFI_STDCALL;
281
/* end */
282

    
283
--------------------
284

    
285
check_signedness: checking signedness of size_t... -------------------- unsigned
286

    
287
"gcc -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat   -c conftest.c"
288
conftest.c:7:39: attention : comparaison d'une expression non signée < 0 est toujours fausse [-Wtype-limits]
289
 int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
290
                                       ^
291
conftest.c:7:5: erreur: size of array ‘conftest_const’ is negative
292
 int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
293
     ^
294
checked program was:
295
/* begin */
296
1: #include "ruby.h"
297
2: 
298
3: #include <stddef.h>
299
4: typedef size_t rbcv_typedef_;
300
5: 
301
6: /*top*/
302
7: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
303
/* end */
304

    
305
"gcc -I../../.ext/include/x86_64-cygwin -I../.././include -I../.././ext/fiddle -I/home/USER/.rbenv/versions/2.3.0/include     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat   -c conftest.c"
306
checked program was:
307
/* begin */
308
1: #include "ruby.h"
309
2: 
310
3: #include <stddef.h>
311
4: typedef size_t rbcv_typedef_;
312
5: 
313
6: /*top*/
314
7: int conftest_const[((rbcv_typedef_)-1 > 0) ? 1 : -1];
315
/* end */
316

    
317
--------------------
318

    
319
extconf.h is:
320
/* begin */
321
 1: #ifndef EXTCONF_H
322
 2: #define EXTCONF_H
323
 3: #define HAVE_FFI_H 1
324
 4: #define HAVE_SYS_MMAN_H 1
325
 5: #define HAVE_DLFCN_H 1
326
 6: #define HAVE_DLOPEN 1
327
 7: #define HAVE_DLCLOSE 1
328
 8: #define HAVE_DLSYM 1
329
 9: #define HAVE_DLERROR 1
330
10: #define SIGNEDNESS_OF_SIZE_T +1
331
11: #endif
332
/* end */
333