yakg 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/vendor/gems/ruby/2.1.0/extensions/x86_64-darwin-15/2.1.0-static/ffi-1.9.10/ffi_c.bundle +0 -0
- data/vendor/gems/ruby/2.1.0/extensions/x86_64-darwin-15/2.1.0-static/ffi-1.9.10/gem.build_complete +0 -0
- data/vendor/gems/ruby/2.1.0/extensions/x86_64-darwin-15/2.1.0-static/ffi-1.9.10/gem_make.out +68 -0
- data/vendor/gems/ruby/2.1.0/extensions/x86_64-darwin-15/2.1.0-static/ffi-1.9.10/mkmf.log +412 -0
- data/vendor/gems/ruby/2.2.0/extensions/x86_64-darwin-15/2.1.0-static/ffi-1.9.10/mkmf.log +412 -0
- data/vendor/gems/ruby/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/ffi-1.9.10/ffi_c.bundle +0 -0
- data/vendor/gems/ruby/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/ffi-1.9.10/gem.build_complete +0 -0
- data/vendor/gems/ruby/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/ffi-1.9.10/gem_make.out +67 -0
- data/vendor/gems/ruby/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/ffi-1.9.10/mkmf.log +426 -0
- metadata +10 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2703a7a9cc8870a10ce32b026637d5524302779a
|
4
|
+
data.tar.gz: cfaa889a06a620aa50515872355234ec1a573331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d78186016c3ef41bea0b3e974864858b98bcb94f51a6e4170c127a24b26d4c6483cef51cb51e33af89c7770e8a03f3115c83e0e451eb0a4be9de08464ec9bac
|
7
|
+
data.tar.gz: 9065469e96cfee0f15d4f5753668e628c79b6aa45c29b843f62b3f6915ba251c880036be7c656a46471038e4117b5bab4886c78fc8b857daad79e512729c327b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
Binary file
|
data/vendor/gems/ruby/2.1.0/extensions/x86_64-darwin-15/2.1.0-static/ffi-1.9.10/gem.build_complete
ADDED
File without changes
|
@@ -0,0 +1,68 @@
|
|
1
|
+
/Users/tmaher/.rbenv/versions/2.1.7/bin/ruby extconf.rb
|
2
|
+
checking for ffi.h... no
|
3
|
+
checking for ffi.h in /usr/local/include,/usr/include/ffi... yes
|
4
|
+
checking for ffi_call() in -lffi... yes
|
5
|
+
checking for ffi_prep_closure()... yes
|
6
|
+
checking for ffi_raw_call()... no
|
7
|
+
checking for rb_thread_blocking_region()... yes
|
8
|
+
checking for rb_thread_call_with_gvl()... yes
|
9
|
+
checking for rb_thread_call_without_gvl()... yes
|
10
|
+
checking for ffi_prep_cif_var()... no
|
11
|
+
creating extconf.h
|
12
|
+
creating Makefile
|
13
|
+
|
14
|
+
make "DESTDIR=" clean
|
15
|
+
|
16
|
+
make "DESTDIR="
|
17
|
+
compiling AbstractMemory.c
|
18
|
+
compiling ArrayType.c
|
19
|
+
compiling Buffer.c
|
20
|
+
compiling Call.c
|
21
|
+
Call.c:368:5: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 [-Wimplicit-function-declaration]
|
22
|
+
rbffi_thread_blocking_region(call_blocking_function, data, (void *) -1, NULL);
|
23
|
+
^
|
24
|
+
./Thread.h:78:39: note: expanded from macro 'rbffi_thread_blocking_region'
|
25
|
+
# define rbffi_thread_blocking_region rb_thread_call_without_gvl
|
26
|
+
^
|
27
|
+
1 warning generated.
|
28
|
+
Call.c:368:5: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 [-Wimplicit-function-declaration]
|
29
|
+
rbffi_thread_blocking_region(call_blocking_function, data, (void *) -1, NULL);
|
30
|
+
^
|
31
|
+
./Thread.h:78:39: note: expanded from macro 'rbffi_thread_blocking_region'
|
32
|
+
# define rbffi_thread_blocking_region rb_thread_call_without_gvl
|
33
|
+
^
|
34
|
+
1 warning generated.
|
35
|
+
compiling ClosurePool.c
|
36
|
+
compiling DataConverter.c
|
37
|
+
compiling DynamicLibrary.c
|
38
|
+
compiling ffi.c
|
39
|
+
compiling Function.c
|
40
|
+
Function.c:563:9: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 [-Wimplicit-function-declaration]
|
41
|
+
rb_thread_call_without_gvl(async_cb_wait, &w, async_cb_stop, &w);
|
42
|
+
^
|
43
|
+
1 warning generated.
|
44
|
+
Function.c:563:9: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 [-Wimplicit-function-declaration]
|
45
|
+
rb_thread_call_without_gvl(async_cb_wait, &w, async_cb_stop, &w);
|
46
|
+
^
|
47
|
+
1 warning generated.
|
48
|
+
compiling FunctionInfo.c
|
49
|
+
compiling LastError.c
|
50
|
+
compiling LongDouble.c
|
51
|
+
compiling MappedType.c
|
52
|
+
compiling MemoryPointer.c
|
53
|
+
compiling MethodHandle.c
|
54
|
+
compiling Platform.c
|
55
|
+
compiling Pointer.c
|
56
|
+
compiling Struct.c
|
57
|
+
compiling StructByReference.c
|
58
|
+
compiling StructByValue.c
|
59
|
+
compiling StructLayout.c
|
60
|
+
compiling Thread.c
|
61
|
+
compiling Type.c
|
62
|
+
compiling Types.c
|
63
|
+
compiling Variadic.c
|
64
|
+
linking shared-object ffi_c.bundle
|
65
|
+
|
66
|
+
make "DESTDIR=" install
|
67
|
+
/usr/bin/install -c -m 0755 ffi_c.bundle ./.gem.20151015-95701-15ky7x4
|
68
|
+
installing default ffi_c libraries
|
@@ -0,0 +1,412 @@
|
|
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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/Users/tmaher/.rbenv/versions/2.1.7/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 -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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/Users/tmaher/.rbenv/versions/2.1.7/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 -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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/Users/tmaher/.rbenv/versions/2.1.7/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 -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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/Users/tmaher/.rbenv/versions/2.1.7/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 -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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/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.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/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-9cdf57.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()... -------------------- yes
|
199
|
+
|
200
|
+
"xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
|
201
|
+
conftest.c:13:57: warning: 'rb_thread_blocking_region' is deprecated [-Wdeprecated-declarations]
|
202
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
|
203
|
+
^
|
204
|
+
/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/intern.h:870:18: note: 'rb_thread_blocking_region' has been explicitly marked deprecated here
|
205
|
+
DEPRECATED(VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
|
206
|
+
^
|
207
|
+
/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
|
208
|
+
#define DEPRECATED(x) __attribute__ ((deprecated)) x
|
209
|
+
^
|
210
|
+
1 warning generated.
|
211
|
+
conftest.c:13:57: warning: 'rb_thread_blocking_region' is deprecated [-Wdeprecated-declarations]
|
212
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
|
213
|
+
^
|
214
|
+
/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/intern.h:870:18: note: 'rb_thread_blocking_region' has been explicitly marked deprecated here
|
215
|
+
DEPRECATED(VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
|
216
|
+
^
|
217
|
+
/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
|
218
|
+
#define DEPRECATED(x) __attribute__ ((deprecated)) x
|
219
|
+
^
|
220
|
+
1 warning generated.
|
221
|
+
checked program was:
|
222
|
+
/* begin */
|
223
|
+
1: #include "ruby.h"
|
224
|
+
2:
|
225
|
+
3: /*top*/
|
226
|
+
4: extern int t(void);
|
227
|
+
5: int main(int argc, char **argv)
|
228
|
+
6: {
|
229
|
+
7: if (argc > 1000000) {
|
230
|
+
8: printf("%p", &t);
|
231
|
+
9: }
|
232
|
+
10:
|
233
|
+
11: return 0;
|
234
|
+
12: }
|
235
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
|
236
|
+
/* end */
|
237
|
+
|
238
|
+
--------------------
|
239
|
+
|
240
|
+
have_func: checking for rb_thread_call_with_gvl()... -------------------- yes
|
241
|
+
|
242
|
+
"xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
|
243
|
+
conftest.c:13:57: error: use of undeclared identifier 'rb_thread_call_with_gvl'
|
244
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return 0; }
|
245
|
+
^
|
246
|
+
1 error generated.
|
247
|
+
checked program was:
|
248
|
+
/* begin */
|
249
|
+
1: #include "ruby.h"
|
250
|
+
2:
|
251
|
+
3: /*top*/
|
252
|
+
4: extern int t(void);
|
253
|
+
5: int main(int argc, char **argv)
|
254
|
+
6: {
|
255
|
+
7: if (argc > 1000000) {
|
256
|
+
8: printf("%p", &t);
|
257
|
+
9: }
|
258
|
+
10:
|
259
|
+
11: return 0;
|
260
|
+
12: }
|
261
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return 0; }
|
262
|
+
/* end */
|
263
|
+
|
264
|
+
"xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
|
265
|
+
conftest.c:13:15: warning: implicit declaration of function 'rb_thread_call_with_gvl' is invalid in C99 [-Wimplicit-function-declaration]
|
266
|
+
int t(void) { rb_thread_call_with_gvl(); return 0; }
|
267
|
+
^
|
268
|
+
1 warning generated.
|
269
|
+
conftest.c:13:15: warning: implicit declaration of function 'rb_thread_call_with_gvl' is invalid in C99 [-Wimplicit-function-declaration]
|
270
|
+
int t(void) { rb_thread_call_with_gvl(); return 0; }
|
271
|
+
^
|
272
|
+
1 warning generated.
|
273
|
+
checked program was:
|
274
|
+
/* begin */
|
275
|
+
1: #include "ruby.h"
|
276
|
+
2:
|
277
|
+
3: /*top*/
|
278
|
+
4: extern int t(void);
|
279
|
+
5: int main(int argc, char **argv)
|
280
|
+
6: {
|
281
|
+
7: if (argc > 1000000) {
|
282
|
+
8: printf("%p", &t);
|
283
|
+
9: }
|
284
|
+
10:
|
285
|
+
11: return 0;
|
286
|
+
12: }
|
287
|
+
13: int t(void) { rb_thread_call_with_gvl(); return 0; }
|
288
|
+
/* end */
|
289
|
+
|
290
|
+
--------------------
|
291
|
+
|
292
|
+
have_func: checking for rb_thread_call_without_gvl()... -------------------- yes
|
293
|
+
|
294
|
+
"xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
|
295
|
+
conftest.c:13:57: error: use of undeclared identifier 'rb_thread_call_without_gvl'
|
296
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return 0; }
|
297
|
+
^
|
298
|
+
1 error generated.
|
299
|
+
checked program was:
|
300
|
+
/* begin */
|
301
|
+
1: #include "ruby.h"
|
302
|
+
2:
|
303
|
+
3: /*top*/
|
304
|
+
4: extern int t(void);
|
305
|
+
5: int main(int argc, char **argv)
|
306
|
+
6: {
|
307
|
+
7: if (argc > 1000000) {
|
308
|
+
8: printf("%p", &t);
|
309
|
+
9: }
|
310
|
+
10:
|
311
|
+
11: return 0;
|
312
|
+
12: }
|
313
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return 0; }
|
314
|
+
/* end */
|
315
|
+
|
316
|
+
"xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
|
317
|
+
conftest.c:13:15: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 [-Wimplicit-function-declaration]
|
318
|
+
int t(void) { rb_thread_call_without_gvl(); return 0; }
|
319
|
+
^
|
320
|
+
1 warning generated.
|
321
|
+
conftest.c:13:15: warning: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 [-Wimplicit-function-declaration]
|
322
|
+
int t(void) { rb_thread_call_without_gvl(); return 0; }
|
323
|
+
^
|
324
|
+
1 warning generated.
|
325
|
+
checked program was:
|
326
|
+
/* begin */
|
327
|
+
1: #include "ruby.h"
|
328
|
+
2:
|
329
|
+
3: /*top*/
|
330
|
+
4: extern int t(void);
|
331
|
+
5: int main(int argc, char **argv)
|
332
|
+
6: {
|
333
|
+
7: if (argc > 1000000) {
|
334
|
+
8: printf("%p", &t);
|
335
|
+
9: }
|
336
|
+
10:
|
337
|
+
11: return 0;
|
338
|
+
12: }
|
339
|
+
13: int t(void) { rb_thread_call_without_gvl(); return 0; }
|
340
|
+
/* end */
|
341
|
+
|
342
|
+
--------------------
|
343
|
+
|
344
|
+
have_func: checking for ffi_prep_cif_var()... -------------------- no
|
345
|
+
|
346
|
+
"xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
|
347
|
+
conftest.c:13:57: error: use of undeclared identifier 'ffi_prep_cif_var'
|
348
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_cif_var; return 0; }
|
349
|
+
^
|
350
|
+
1 error generated.
|
351
|
+
checked program was:
|
352
|
+
/* begin */
|
353
|
+
1: #include "ruby.h"
|
354
|
+
2:
|
355
|
+
3: /*top*/
|
356
|
+
4: extern int t(void);
|
357
|
+
5: int main(int argc, char **argv)
|
358
|
+
6: {
|
359
|
+
7: if (argc > 1000000) {
|
360
|
+
8: printf("%p", &t);
|
361
|
+
9: }
|
362
|
+
10:
|
363
|
+
11: return 0;
|
364
|
+
12: }
|
365
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_cif_var; return 0; }
|
366
|
+
/* end */
|
367
|
+
|
368
|
+
"xcrun cc -o conftest -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/universal-darwin15.0 -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0/ruby/backward -I/Users/tmaher/.rbenv/versions/2.1.7/include/ruby-2.1.0 -I. -I/usr/include/ffi -I/Users/tmaher/.rbenv/versions/2.1.7/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 -Wextra-tokens -pipe conftest.c -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -L. -L/Users/tmaher/.rbenv/versions/2.1.7/lib -fstack-protector -arch x86_64 -arch i386 -lffi -lruby-static -framework CoreFoundation -lffi -lpthread -ldl -lobjc "
|
369
|
+
conftest.c:13:15: warning: implicit declaration of function 'ffi_prep_cif_var' is invalid in C99 [-Wimplicit-function-declaration]
|
370
|
+
int t(void) { ffi_prep_cif_var(); return 0; }
|
371
|
+
^
|
372
|
+
1 warning generated.
|
373
|
+
Undefined symbols for architecture x86_64:
|
374
|
+
"_ffi_prep_cif_var", referenced from:
|
375
|
+
_t in conftest-24f21e.o
|
376
|
+
ld: symbol(s) not found for architecture x86_64
|
377
|
+
conftest.c:13:15: warning: implicit declaration of function 'ffi_prep_cif_var' is invalid in C99 [-Wimplicit-function-declaration]
|
378
|
+
int t(void) { ffi_prep_cif_var(); return 0; }
|
379
|
+
^
|
380
|
+
1 warning generated.
|
381
|
+
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
382
|
+
checked program was:
|
383
|
+
/* begin */
|
384
|
+
1: #include "ruby.h"
|
385
|
+
2:
|
386
|
+
3: /*top*/
|
387
|
+
4: extern int t(void);
|
388
|
+
5: int main(int argc, char **argv)
|
389
|
+
6: {
|
390
|
+
7: if (argc > 1000000) {
|
391
|
+
8: printf("%p", &t);
|
392
|
+
9: }
|
393
|
+
10:
|
394
|
+
11: return 0;
|
395
|
+
12: }
|
396
|
+
13: int t(void) { ffi_prep_cif_var(); return 0; }
|
397
|
+
/* end */
|
398
|
+
|
399
|
+
--------------------
|
400
|
+
|
401
|
+
extconf.h is:
|
402
|
+
/* begin */
|
403
|
+
1: #ifndef EXTCONF_H
|
404
|
+
2: #define EXTCONF_H
|
405
|
+
3: #define HAVE_FFI_PREP_CLOSURE 1
|
406
|
+
4: #define HAVE_RB_THREAD_BLOCKING_REGION 1
|
407
|
+
5: #define HAVE_RB_THREAD_CALL_WITH_GVL 1
|
408
|
+
6: #define HAVE_RB_THREAD_CALL_WITHOUT_GVL 1
|
409
|
+
7: #define RUBY_1_9 1
|
410
|
+
8: #endif
|
411
|
+
/* end */
|
412
|
+
|