yakg 0.0.11 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,426 @@
1
+ package configuration for libffi is not found
2
+ have_header: checking for ffi.h... -------------------- no
3
+
4
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc "
5
+ checked program was:
6
+ /* begin */
7
+ 1: #include "ruby.h"
8
+ 2:
9
+ 3: int main(int argc, char **argv)
10
+ 4: {
11
+ 5: return 0;
12
+ 6: }
13
+ /* end */
14
+
15
+ "xcrun cc -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -arch x86_64 -arch i386 -c conftest.c"
16
+ conftest.c:3:10: fatal error: 'ffi.h' file not found
17
+ #include <ffi.h>
18
+ ^
19
+ 1 error generated.
20
+ checked program was:
21
+ /* begin */
22
+ 1: #include "ruby.h"
23
+ 2:
24
+ 3: #include <ffi.h>
25
+ /* end */
26
+
27
+ --------------------
28
+
29
+ find_header: checking for ffi.h in /usr/local/include,/usr/include/ffi... -------------------- yes
30
+
31
+ "xcrun cc -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -arch x86_64 -arch i386 -c conftest.c"
32
+ conftest.c:3:10: fatal error: 'ffi.h' file not found
33
+ #include <ffi.h>
34
+ ^
35
+ 1 error generated.
36
+ checked program was:
37
+ /* begin */
38
+ 1: #include "ruby.h"
39
+ 2:
40
+ 3: #include <ffi.h>
41
+ /* end */
42
+
43
+ "xcrun cc -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -arch x86_64 -arch i386 -I/usr/local/include -c conftest.c"
44
+ conftest.c:3:10: fatal error: 'ffi.h' file not found
45
+ #include <ffi.h>
46
+ ^
47
+ 1 error generated.
48
+ checked program was:
49
+ /* begin */
50
+ 1: #include "ruby.h"
51
+ 2:
52
+ 3: #include <ffi.h>
53
+ /* end */
54
+
55
+ "xcrun cc -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -arch x86_64 -arch i386 -I/usr/include/ffi -c conftest.c"
56
+ checked program was:
57
+ /* begin */
58
+ 1: #include "ruby.h"
59
+ 2:
60
+ 3: #include <ffi.h>
61
+ /* end */
62
+
63
+ --------------------
64
+
65
+ have_library: checking for ffi_call() in -lffi... -------------------- yes
66
+
67
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
68
+ checked program was:
69
+ /* begin */
70
+ 1: #include "ruby.h"
71
+ 2:
72
+ 3: #include <ffi.h>
73
+ 4:
74
+ 5: /*top*/
75
+ 6: extern int t(void);
76
+ 7: int main(int argc, char **argv)
77
+ 8: {
78
+ 9: if (argc > 1000000) {
79
+ 10: printf("%p", &t);
80
+ 11: }
81
+ 12:
82
+ 13: return 0;
83
+ 14: }
84
+ 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_call; return 0; }
85
+ /* end */
86
+
87
+ --------------------
88
+
89
+ have_func: checking for ffi_prep_closure()... -------------------- yes
90
+
91
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
92
+ conftest.c:13:57: error: use of undeclared identifier 'ffi_prep_closure'
93
+ int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_closure; return 0; }
94
+ ^
95
+ 1 error generated.
96
+ checked program was:
97
+ /* begin */
98
+ 1: #include "ruby.h"
99
+ 2:
100
+ 3: /*top*/
101
+ 4: extern int t(void);
102
+ 5: int main(int argc, char **argv)
103
+ 6: {
104
+ 7: if (argc > 1000000) {
105
+ 8: printf("%p", &t);
106
+ 9: }
107
+ 10:
108
+ 11: return 0;
109
+ 12: }
110
+ 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_closure; return 0; }
111
+ /* end */
112
+
113
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
114
+ conftest.c:13:15: warning: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Wimplicit-function-declaration]
115
+ int t(void) { ffi_prep_closure(); return 0; }
116
+ ^
117
+ 1 warning generated.
118
+ conftest.c:13:15: warning: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Wimplicit-function-declaration]
119
+ int t(void) { ffi_prep_closure(); return 0; }
120
+ ^
121
+ 1 warning generated.
122
+ checked program was:
123
+ /* begin */
124
+ 1: #include "ruby.h"
125
+ 2:
126
+ 3: /*top*/
127
+ 4: extern int t(void);
128
+ 5: int main(int argc, char **argv)
129
+ 6: {
130
+ 7: if (argc > 1000000) {
131
+ 8: printf("%p", &t);
132
+ 9: }
133
+ 10:
134
+ 11: return 0;
135
+ 12: }
136
+ 13: int t(void) { ffi_prep_closure(); return 0; }
137
+ /* end */
138
+
139
+ --------------------
140
+
141
+ have_func: checking for ffi_raw_call()... -------------------- no
142
+
143
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
144
+ conftest.c:13:57: error: use of undeclared identifier 'ffi_raw_call'
145
+ int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_raw_call; return 0; }
146
+ ^
147
+ 1 error generated.
148
+ checked program was:
149
+ /* begin */
150
+ 1: #include "ruby.h"
151
+ 2:
152
+ 3: /*top*/
153
+ 4: extern int t(void);
154
+ 5: int main(int argc, char **argv)
155
+ 6: {
156
+ 7: if (argc > 1000000) {
157
+ 8: printf("%p", &t);
158
+ 9: }
159
+ 10:
160
+ 11: return 0;
161
+ 12: }
162
+ 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_raw_call; return 0; }
163
+ /* end */
164
+
165
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
166
+ conftest.c:13:15: warning: implicit declaration of function 'ffi_raw_call' is invalid in C99 [-Wimplicit-function-declaration]
167
+ int t(void) { ffi_raw_call(); return 0; }
168
+ ^
169
+ 1 warning generated.
170
+ Undefined symbols for architecture x86_64:
171
+ "_ffi_raw_call", referenced from:
172
+ _t in conftest-27cd37.o
173
+ ld: symbol(s) not found for architecture x86_64
174
+ conftest.c:13:15: warning: implicit declaration of function 'ffi_raw_call' is invalid in C99 [-Wimplicit-function-declaration]
175
+ int t(void) { ffi_raw_call(); return 0; }
176
+ ^
177
+ 1 warning generated.
178
+ clang: error: linker command failed with exit code 1 (use -v to see invocation)
179
+ checked program was:
180
+ /* begin */
181
+ 1: #include "ruby.h"
182
+ 2:
183
+ 3: /*top*/
184
+ 4: extern int t(void);
185
+ 5: int main(int argc, char **argv)
186
+ 6: {
187
+ 7: if (argc > 1000000) {
188
+ 8: printf("%p", &t);
189
+ 9: }
190
+ 10:
191
+ 11: return 0;
192
+ 12: }
193
+ 13: int t(void) { ffi_raw_call(); return 0; }
194
+ /* end */
195
+
196
+ --------------------
197
+
198
+ have_func: checking for rb_thread_blocking_region()... -------------------- no
199
+
200
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
201
+ conftest.c:13:57: error: use of undeclared identifier 'rb_thread_blocking_region'
202
+ int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
203
+ ^
204
+ 1 error generated.
205
+ checked program was:
206
+ /* begin */
207
+ 1: #include "ruby.h"
208
+ 2:
209
+ 3: /*top*/
210
+ 4: extern int t(void);
211
+ 5: int main(int argc, char **argv)
212
+ 6: {
213
+ 7: if (argc > 1000000) {
214
+ 8: printf("%p", &t);
215
+ 9: }
216
+ 10:
217
+ 11: return 0;
218
+ 12: }
219
+ 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
220
+ /* end */
221
+
222
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
223
+ conftest.c:13:15: warning: implicit declaration of function 'rb_thread_blocking_region' is invalid in C99 [-Wimplicit-function-declaration]
224
+ int t(void) { rb_thread_blocking_region(); return 0; }
225
+ ^
226
+ 1 warning generated.
227
+ Undefined symbols for architecture x86_64:
228
+ "_rb_thread_blocking_region", referenced from:
229
+ _t in conftest-655e14.o
230
+ ld: symbol(s) not found for architecture x86_64
231
+ conftest.c:13:15: warning: implicit declaration of function 'rb_thread_blocking_region' is invalid in C99 [-Wimplicit-function-declaration]
232
+ int t(void) { rb_thread_blocking_region(); return 0; }
233
+ ^
234
+ 1 warning generated.
235
+ clang: error: linker command failed with exit code 1 (use -v to see invocation)
236
+ checked program was:
237
+ /* begin */
238
+ 1: #include "ruby.h"
239
+ 2:
240
+ 3: /*top*/
241
+ 4: extern int t(void);
242
+ 5: int main(int argc, char **argv)
243
+ 6: {
244
+ 7: if (argc > 1000000) {
245
+ 8: printf("%p", &t);
246
+ 9: }
247
+ 10:
248
+ 11: return 0;
249
+ 12: }
250
+ 13: int t(void) { rb_thread_blocking_region(); return 0; }
251
+ /* end */
252
+
253
+ --------------------
254
+
255
+ have_func: checking for rb_thread_call_with_gvl()... -------------------- yes
256
+
257
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
258
+ conftest.c:13:57: error: use of undeclared identifier 'rb_thread_call_with_gvl'
259
+ int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return 0; }
260
+ ^
261
+ 1 error generated.
262
+ checked program was:
263
+ /* begin */
264
+ 1: #include "ruby.h"
265
+ 2:
266
+ 3: /*top*/
267
+ 4: extern int t(void);
268
+ 5: int main(int argc, char **argv)
269
+ 6: {
270
+ 7: if (argc > 1000000) {
271
+ 8: printf("%p", &t);
272
+ 9: }
273
+ 10:
274
+ 11: return 0;
275
+ 12: }
276
+ 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return 0; }
277
+ /* end */
278
+
279
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
280
+ conftest.c:13:15: warning: implicit declaration of function 'rb_thread_call_with_gvl' is invalid in C99 [-Wimplicit-function-declaration]
281
+ int t(void) { rb_thread_call_with_gvl(); return 0; }
282
+ ^
283
+ 1 warning generated.
284
+ conftest.c:13:15: warning: implicit declaration of function 'rb_thread_call_with_gvl' is invalid in C99 [-Wimplicit-function-declaration]
285
+ int t(void) { rb_thread_call_with_gvl(); return 0; }
286
+ ^
287
+ 1 warning generated.
288
+ checked program was:
289
+ /* begin */
290
+ 1: #include "ruby.h"
291
+ 2:
292
+ 3: /*top*/
293
+ 4: extern int t(void);
294
+ 5: int main(int argc, char **argv)
295
+ 6: {
296
+ 7: if (argc > 1000000) {
297
+ 8: printf("%p", &t);
298
+ 9: }
299
+ 10:
300
+ 11: return 0;
301
+ 12: }
302
+ 13: int t(void) { rb_thread_call_with_gvl(); return 0; }
303
+ /* end */
304
+
305
+ --------------------
306
+
307
+ have_func: checking for rb_thread_call_without_gvl()... -------------------- yes
308
+
309
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
310
+ conftest.c:13:57: error: use of undeclared identifier 'rb_thread_call_without_gvl'
311
+ int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return 0; }
312
+ ^
313
+ 1 error generated.
314
+ checked program was:
315
+ /* begin */
316
+ 1: #include "ruby.h"
317
+ 2:
318
+ 3: /*top*/
319
+ 4: extern int t(void);
320
+ 5: int main(int argc, char **argv)
321
+ 6: {
322
+ 7: if (argc > 1000000) {
323
+ 8: printf("%p", &t);
324
+ 9: }
325
+ 10:
326
+ 11: return 0;
327
+ 12: }
328
+ 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return 0; }
329
+ /* end */
330
+
331
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
332
+ conftest.c:13:15: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 [-Wimplicit-function-declaration]
333
+ int t(void) { rb_thread_call_without_gvl(); return 0; }
334
+ ^
335
+ 1 warning generated.
336
+ conftest.c:13:15: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 [-Wimplicit-function-declaration]
337
+ int t(void) { rb_thread_call_without_gvl(); return 0; }
338
+ ^
339
+ 1 warning generated.
340
+ checked program was:
341
+ /* begin */
342
+ 1: #include "ruby.h"
343
+ 2:
344
+ 3: /*top*/
345
+ 4: extern int t(void);
346
+ 5: int main(int argc, char **argv)
347
+ 6: {
348
+ 7: if (argc > 1000000) {
349
+ 8: printf("%p", &t);
350
+ 9: }
351
+ 10:
352
+ 11: return 0;
353
+ 12: }
354
+ 13: int t(void) { rb_thread_call_without_gvl(); return 0; }
355
+ /* end */
356
+
357
+ --------------------
358
+
359
+ have_func: checking for ffi_prep_cif_var()... -------------------- no
360
+
361
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
362
+ conftest.c:13:57: error: use of undeclared identifier 'ffi_prep_cif_var'
363
+ int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_cif_var; return 0; }
364
+ ^
365
+ 1 error generated.
366
+ checked program was:
367
+ /* begin */
368
+ 1: #include "ruby.h"
369
+ 2:
370
+ 3: /*top*/
371
+ 4: extern int t(void);
372
+ 5: int main(int argc, char **argv)
373
+ 6: {
374
+ 7: if (argc > 1000000) {
375
+ 8: printf("%p", &t);
376
+ 9: }
377
+ 10:
378
+ 11: return 0;
379
+ 12: }
380
+ 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_cif_var; return 0; }
381
+ /* end */
382
+
383
+ "xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/universal-darwin15 -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.2.3/include/ruby-2.2.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.2.3/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -L. -L/Users/tmaher/.rbenv/versions/2.2.3/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
384
+ conftest.c:13:15: warning: implicit declaration of function 'ffi_prep_cif_var' is invalid in C99 [-Wimplicit-function-declaration]
385
+ int t(void) { ffi_prep_cif_var(); return 0; }
386
+ ^
387
+ 1 warning generated.
388
+ Undefined symbols for architecture x86_64:
389
+ "_ffi_prep_cif_var", referenced from:
390
+ _t in conftest-cec60f.o
391
+ ld: symbol(s) not found for architecture x86_64
392
+ conftest.c:13:15: warning: implicit declaration of function 'ffi_prep_cif_var' is invalid in C99 [-Wimplicit-function-declaration]
393
+ int t(void) { ffi_prep_cif_var(); return 0; }
394
+ ^
395
+ 1 warning generated.
396
+ clang: error: linker command failed with exit code 1 (use -v to see invocation)
397
+ checked program was:
398
+ /* begin */
399
+ 1: #include "ruby.h"
400
+ 2:
401
+ 3: /*top*/
402
+ 4: extern int t(void);
403
+ 5: int main(int argc, char **argv)
404
+ 6: {
405
+ 7: if (argc > 1000000) {
406
+ 8: printf("%p", &t);
407
+ 9: }
408
+ 10:
409
+ 11: return 0;
410
+ 12: }
411
+ 13: int t(void) { ffi_prep_cif_var(); return 0; }
412
+ /* end */
413
+
414
+ --------------------
415
+
416
+ extconf.h is:
417
+ /* begin */
418
+ 1: #ifndef EXTCONF_H
419
+ 2: #define EXTCONF_H
420
+ 3: #define HAVE_FFI_PREP_CLOSURE 1
421
+ 4: #define HAVE_RB_THREAD_CALL_WITH_GVL 1
422
+ 5: #define HAVE_RB_THREAD_CALL_WITHOUT_GVL 1
423
+ 6: #define RUBY_1_9 1
424
+ 7: #endif
425
+ /* end */
426
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yakg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Maher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-15 00:00:00.000000000 Z
11
+ date: 2015-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: woof_util
@@ -334,6 +334,10 @@ files:
334
334
  - vendor/gems/ruby/2.0.0/gems/ffi-1.9.10/libtest/VariadicTest.c
335
335
  - vendor/gems/ruby/2.0.0/specifications/corefoundation-0.2.0.gemspec
336
336
  - vendor/gems/ruby/2.0.0/specifications/ffi-1.9.10.gemspec
337
+ - vendor/gems/ruby/2.1.0/extensions/universal-darwin-15/2.1.0-static/ffi-1.9.10/ffi_c.bundle
338
+ - vendor/gems/ruby/2.1.0/extensions/universal-darwin-15/2.1.0-static/ffi-1.9.10/gem.build_complete
339
+ - vendor/gems/ruby/2.1.0/extensions/universal-darwin-15/2.1.0-static/ffi-1.9.10/gem_make.out
340
+ - vendor/gems/ruby/2.1.0/extensions/universal-darwin-15/2.1.0-static/ffi-1.9.10/mkmf.log
337
341
  - vendor/gems/ruby/2.1.0/gems/corefoundation-0.2.0/CHANGELOG
338
342
  - vendor/gems/ruby/2.1.0/gems/corefoundation-0.2.0/LICENSE
339
343
  - vendor/gems/ruby/2.1.0/gems/corefoundation-0.2.0/README.md
@@ -411,7 +415,6 @@ files:
411
415
  - vendor/gems/ruby/2.1.0/gems/ffi-1.9.10/lib/ffi/union.rb
412
416
  - vendor/gems/ruby/2.1.0/gems/ffi-1.9.10/lib/ffi/variadic.rb
413
417
  - vendor/gems/ruby/2.1.0/gems/ffi-1.9.10/lib/ffi/version.rb
414
- - vendor/gems/ruby/2.1.0/gems/ffi-1.9.10/lib/ffi_c.bundle
415
418
  - vendor/gems/ruby/2.1.0/gems/ffi-1.9.10/libtest/Benchmark.c
416
419
  - vendor/gems/ruby/2.1.0/gems/ffi-1.9.10/libtest/BoolTest.c
417
420
  - vendor/gems/ruby/2.1.0/gems/ffi-1.9.10/libtest/BufferTest.c
@@ -430,6 +433,11 @@ files:
430
433
  - vendor/gems/ruby/2.1.0/gems/ffi-1.9.10/libtest/VariadicTest.c
431
434
  - vendor/gems/ruby/2.1.0/specifications/corefoundation-0.2.0.gemspec
432
435
  - vendor/gems/ruby/2.1.0/specifications/ffi-1.9.10.gemspec
436
+ - vendor/gems/ruby/2.2.0/extensions/universal-darwin-15/2.1.0-static/ffi-1.9.10/mkmf.log
437
+ - vendor/gems/ruby/2.2.0/extensions/universal-darwin-15/2.2.0-static/ffi-1.9.10/ffi_c.bundle
438
+ - vendor/gems/ruby/2.2.0/extensions/universal-darwin-15/2.2.0-static/ffi-1.9.10/gem.build_complete
439
+ - vendor/gems/ruby/2.2.0/extensions/universal-darwin-15/2.2.0-static/ffi-1.9.10/gem_make.out
440
+ - vendor/gems/ruby/2.2.0/extensions/universal-darwin-15/2.2.0-static/ffi-1.9.10/mkmf.log
433
441
  - vendor/gems/ruby/2.2.0/gems/corefoundation-0.2.0/CHANGELOG
434
442
  - vendor/gems/ruby/2.2.0/gems/corefoundation-0.2.0/LICENSE
435
443
  - vendor/gems/ruby/2.2.0/gems/corefoundation-0.2.0/README.md
@@ -507,7 +515,6 @@ files:
507
515
  - vendor/gems/ruby/2.2.0/gems/ffi-1.9.10/lib/ffi/union.rb
508
516
  - vendor/gems/ruby/2.2.0/gems/ffi-1.9.10/lib/ffi/variadic.rb
509
517
  - vendor/gems/ruby/2.2.0/gems/ffi-1.9.10/lib/ffi/version.rb
510
- - vendor/gems/ruby/2.2.0/gems/ffi-1.9.10/lib/ffi_c.bundle
511
518
  - vendor/gems/ruby/2.2.0/gems/ffi-1.9.10/libtest/Benchmark.c
512
519
  - vendor/gems/ruby/2.2.0/gems/ffi-1.9.10/libtest/BoolTest.c
513
520
  - vendor/gems/ruby/2.2.0/gems/ffi-1.9.10/libtest/BufferTest.c