1 | have_func: checking for labs() in stdlib.h... -------------------- yes |
---|
2 | |
---|
3 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
4 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
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 !!argv[argc]; |
---|
12 | 6: } |
---|
13 | /* end */ |
---|
14 | |
---|
15 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
16 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
17 | checked program was: |
---|
18 | /* begin */ |
---|
19 | 1: #include "ruby.h" |
---|
20 | 2: |
---|
21 | 3: #include <stdlib.h> |
---|
22 | 4: |
---|
23 | 5: /*top*/ |
---|
24 | 6: extern int t(void); |
---|
25 | 7: int main(int argc, char **argv) |
---|
26 | 8: { |
---|
27 | 9: if (argc > 1000000) { |
---|
28 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
29 | 11: printf("%d", (*tp)()); |
---|
30 | 12: } |
---|
31 | 13: |
---|
32 | 14: return !!argv[argc]; |
---|
33 | 15: } |
---|
34 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))labs; return !p; } |
---|
35 | /* end */ |
---|
36 | |
---|
37 | -------------------- |
---|
38 | |
---|
39 | have_func: checking for llabs() in stdlib.h... -------------------- yes |
---|
40 | |
---|
41 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
42 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
43 | checked program was: |
---|
44 | /* begin */ |
---|
45 | 1: #include "ruby.h" |
---|
46 | 2: |
---|
47 | 3: #include <stdlib.h> |
---|
48 | 4: |
---|
49 | 5: /*top*/ |
---|
50 | 6: extern int t(void); |
---|
51 | 7: int main(int argc, char **argv) |
---|
52 | 8: { |
---|
53 | 9: if (argc > 1000000) { |
---|
54 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
55 | 11: printf("%d", (*tp)()); |
---|
56 | 12: } |
---|
57 | 13: |
---|
58 | 14: return !!argv[argc]; |
---|
59 | 15: } |
---|
60 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))llabs; return !p; } |
---|
61 | /* end */ |
---|
62 | |
---|
63 | -------------------- |
---|
64 | |
---|
65 | have_func: checking for finite() in math.h... -------------------- yes |
---|
66 | |
---|
67 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
68 | conftest.c:16:57: warning: 'finite' is deprecated: first deprecated in macOS 10.9 - Use `isfinite((double)x)` instead. [-Wdeprecated-declarations] |
---|
69 | int t(void) { void ((*volatile p)()); p = (void ((*)()))finite; return !p; } |
---|
70 | ^ |
---|
71 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:752:12: note: 'finite' has been explicitly marked deprecated here |
---|
72 | extern int finite(double) |
---|
73 | ^ |
---|
74 | 1 warning generated. |
---|
75 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
76 | checked program was: |
---|
77 | /* begin */ |
---|
78 | 1: #include "ruby.h" |
---|
79 | 2: |
---|
80 | 3: #include <math.h> |
---|
81 | 4: |
---|
82 | 5: /*top*/ |
---|
83 | 6: extern int t(void); |
---|
84 | 7: int main(int argc, char **argv) |
---|
85 | 8: { |
---|
86 | 9: if (argc > 1000000) { |
---|
87 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
88 | 11: printf("%d", (*tp)()); |
---|
89 | 12: } |
---|
90 | 13: |
---|
91 | 14: return !!argv[argc]; |
---|
92 | 15: } |
---|
93 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))finite; return !p; } |
---|
94 | /* end */ |
---|
95 | |
---|
96 | -------------------- |
---|
97 | |
---|
98 | have_func: checking for isfinite() in math.h... -------------------- no |
---|
99 | |
---|
100 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
101 | conftest.c:16:57: error: use of undeclared identifier 'isfinite' |
---|
102 | int t(void) { void ((*volatile p)()); p = (void ((*)()))isfinite; return !p; } |
---|
103 | ^ |
---|
104 | 1 error generated. |
---|
105 | checked program was: |
---|
106 | /* begin */ |
---|
107 | 1: #include "ruby.h" |
---|
108 | 2: |
---|
109 | 3: #include <math.h> |
---|
110 | 4: |
---|
111 | 5: /*top*/ |
---|
112 | 6: extern int t(void); |
---|
113 | 7: int main(int argc, char **argv) |
---|
114 | 8: { |
---|
115 | 9: if (argc > 1000000) { |
---|
116 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
117 | 11: printf("%d", (*tp)()); |
---|
118 | 12: } |
---|
119 | 13: |
---|
120 | 14: return !!argv[argc]; |
---|
121 | 15: } |
---|
122 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))isfinite; return !p; } |
---|
123 | /* end */ |
---|
124 | |
---|
125 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
126 | conftest.c:16:13: error: expected identifier or '(' |
---|
127 | extern void isfinite(); |
---|
128 | ^ |
---|
129 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:155:7: note: expanded from macro 'isfinite' |
---|
130 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ |
---|
131 | ^ |
---|
132 | conftest.c:16:13: error: expected ')' |
---|
133 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:155:7: note: expanded from macro 'isfinite' |
---|
134 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ |
---|
135 | ^ |
---|
136 | conftest.c:16:13: note: to match this '(' |
---|
137 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:155:5: note: expanded from macro 'isfinite' |
---|
138 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ |
---|
139 | ^ |
---|
140 | conftest.c:17:15: error: expected expression |
---|
141 | int t(void) { isfinite(); return 0; } |
---|
142 | ^ |
---|
143 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:155:15: note: expanded from macro 'isfinite' |
---|
144 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ |
---|
145 | ^ |
---|
146 | conftest.c:17:15: error: expected expression |
---|
147 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:155:65: note: expanded from macro 'isfinite' |
---|
148 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ |
---|
149 | ^ |
---|
150 | conftest.c:17:15: error: expected expression |
---|
151 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:156:15: note: expanded from macro 'isfinite' |
---|
152 | : sizeof(x) == sizeof(double) ? __inline_isfinited((double)(x)) \ |
---|
153 | ^ |
---|
154 | conftest.c:17:15: error: expected expression |
---|
155 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:156:66: note: expanded from macro 'isfinite' |
---|
156 | : sizeof(x) == sizeof(double) ? __inline_isfinited((double)(x)) \ |
---|
157 | ^ |
---|
158 | conftest.c:17:15: error: expected expression |
---|
159 | /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:157:71: note: expanded from macro 'isfinite' |
---|
160 | : __inline_isfinitel((long double)(x))) |
---|
161 | ^ |
---|
162 | 7 errors generated. |
---|
163 | checked program was: |
---|
164 | /* begin */ |
---|
165 | 1: #include "ruby.h" |
---|
166 | 2: |
---|
167 | 3: #include <math.h> |
---|
168 | 4: |
---|
169 | 5: /*top*/ |
---|
170 | 6: extern int t(void); |
---|
171 | 7: int main(int argc, char **argv) |
---|
172 | 8: { |
---|
173 | 9: if (argc > 1000000) { |
---|
174 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
175 | 11: printf("%d", (*tp)()); |
---|
176 | 12: } |
---|
177 | 13: |
---|
178 | 14: return !!argv[argc]; |
---|
179 | 15: } |
---|
180 | 16: extern void isfinite(); |
---|
181 | 17: int t(void) { isfinite(); return 0; } |
---|
182 | /* end */ |
---|
183 | |
---|
184 | -------------------- |
---|
185 | |
---|
186 | have_type: checking for struct RRational in ruby.h... -------------------- no |
---|
187 | |
---|
188 | "/usr/bin/clang -fdeclspec -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common -arch x86_64 -c conftest.c" |
---|
189 | conftest.c:7:17: error: invalid application of 'sizeof' to an incomplete type 'conftest_type' (aka 'struct RRational') |
---|
190 | int conftestval[sizeof(conftest_type)?1:-1]; |
---|
191 | ^ ~~~~~~~~~~~~~~~ |
---|
192 | conftest.c:6:16: note: forward declaration of 'struct RRational' |
---|
193 | typedef struct RRational conftest_type; |
---|
194 | ^ |
---|
195 | 1 error generated. |
---|
196 | checked program was: |
---|
197 | /* begin */ |
---|
198 | 1: #include "ruby.h" |
---|
199 | 2: |
---|
200 | 3: #include <ruby.h> |
---|
201 | 4: |
---|
202 | 5: /*top*/ |
---|
203 | 6: typedef struct RRational conftest_type; |
---|
204 | 7: int conftestval[sizeof(conftest_type)?1:-1]; |
---|
205 | /* end */ |
---|
206 | |
---|
207 | -------------------- |
---|
208 | |
---|
209 | have_func: checking for rb_rational_num() in ruby.h... -------------------- no |
---|
210 | |
---|
211 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
212 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
213 | Undefined symbols for architecture x86_64: |
---|
214 | "_rb_rational_num", referenced from: |
---|
215 | _t in conftest-db4e79.o |
---|
216 | ld: symbol(s) not found for architecture x86_64 |
---|
217 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
218 | checked program was: |
---|
219 | /* begin */ |
---|
220 | 1: #include "ruby.h" |
---|
221 | 2: |
---|
222 | 3: #include <ruby.h> |
---|
223 | 4: |
---|
224 | 5: /*top*/ |
---|
225 | 6: extern int t(void); |
---|
226 | 7: int main(int argc, char **argv) |
---|
227 | 8: { |
---|
228 | 9: if (argc > 1000000) { |
---|
229 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
230 | 11: printf("%d", (*tp)()); |
---|
231 | 12: } |
---|
232 | 13: |
---|
233 | 14: return !!argv[argc]; |
---|
234 | 15: } |
---|
235 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_rational_num; return !p; } |
---|
236 | /* end */ |
---|
237 | |
---|
238 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
239 | conftest.c:16:13: error: conflicting types for 'rb_rational_num' |
---|
240 | extern void rb_rational_num(); |
---|
241 | ^ |
---|
242 | ../.././include/ruby/internal/intern/rational.h:39:7: note: previous declaration is here |
---|
243 | VALUE rb_rational_num(VALUE rat); |
---|
244 | ^ |
---|
245 | conftest.c:17:31: error: too few arguments to function call, single argument 'rat' was not specified |
---|
246 | int t(void) { rb_rational_num(); return 0; } |
---|
247 | ~~~~~~~~~~~~~~~ ^ |
---|
248 | ../.././include/ruby/internal/intern/rational.h:39:1: note: 'rb_rational_num' declared here |
---|
249 | VALUE rb_rational_num(VALUE rat); |
---|
250 | ^ |
---|
251 | 2 errors generated. |
---|
252 | checked program was: |
---|
253 | /* begin */ |
---|
254 | 1: #include "ruby.h" |
---|
255 | 2: |
---|
256 | 3: #include <ruby.h> |
---|
257 | 4: |
---|
258 | 5: /*top*/ |
---|
259 | 6: extern int t(void); |
---|
260 | 7: int main(int argc, char **argv) |
---|
261 | 8: { |
---|
262 | 9: if (argc > 1000000) { |
---|
263 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
264 | 11: printf("%d", (*tp)()); |
---|
265 | 12: } |
---|
266 | 13: |
---|
267 | 14: return !!argv[argc]; |
---|
268 | 15: } |
---|
269 | 16: extern void rb_rational_num(); |
---|
270 | 17: int t(void) { rb_rational_num(); return 0; } |
---|
271 | /* end */ |
---|
272 | |
---|
273 | -------------------- |
---|
274 | |
---|
275 | have_func: checking for rb_rational_den() in ruby.h... -------------------- no |
---|
276 | |
---|
277 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
278 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
279 | Undefined symbols for architecture x86_64: |
---|
280 | "_rb_rational_den", referenced from: |
---|
281 | _t in conftest-08fe43.o |
---|
282 | ld: symbol(s) not found for architecture x86_64 |
---|
283 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
284 | checked program was: |
---|
285 | /* begin */ |
---|
286 | 1: #include "ruby.h" |
---|
287 | 2: |
---|
288 | 3: #include <ruby.h> |
---|
289 | 4: |
---|
290 | 5: /*top*/ |
---|
291 | 6: extern int t(void); |
---|
292 | 7: int main(int argc, char **argv) |
---|
293 | 8: { |
---|
294 | 9: if (argc > 1000000) { |
---|
295 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
296 | 11: printf("%d", (*tp)()); |
---|
297 | 12: } |
---|
298 | 13: |
---|
299 | 14: return !!argv[argc]; |
---|
300 | 15: } |
---|
301 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_rational_den; return !p; } |
---|
302 | /* end */ |
---|
303 | |
---|
304 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
305 | conftest.c:16:13: error: conflicting types for 'rb_rational_den' |
---|
306 | extern void rb_rational_den(); |
---|
307 | ^ |
---|
308 | ../.././include/ruby/internal/intern/rational.h:40:7: note: previous declaration is here |
---|
309 | VALUE rb_rational_den(VALUE rat); |
---|
310 | ^ |
---|
311 | conftest.c:17:31: error: too few arguments to function call, single argument 'rat' was not specified |
---|
312 | int t(void) { rb_rational_den(); return 0; } |
---|
313 | ~~~~~~~~~~~~~~~ ^ |
---|
314 | ../.././include/ruby/internal/intern/rational.h:40:1: note: 'rb_rational_den' declared here |
---|
315 | VALUE rb_rational_den(VALUE rat); |
---|
316 | ^ |
---|
317 | 2 errors generated. |
---|
318 | checked program was: |
---|
319 | /* begin */ |
---|
320 | 1: #include "ruby.h" |
---|
321 | 2: |
---|
322 | 3: #include <ruby.h> |
---|
323 | 4: |
---|
324 | 5: /*top*/ |
---|
325 | 6: extern int t(void); |
---|
326 | 7: int main(int argc, char **argv) |
---|
327 | 8: { |
---|
328 | 9: if (argc > 1000000) { |
---|
329 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
330 | 11: printf("%d", (*tp)()); |
---|
331 | 12: } |
---|
332 | 13: |
---|
333 | 14: return !!argv[argc]; |
---|
334 | 15: } |
---|
335 | 16: extern void rb_rational_den(); |
---|
336 | 17: int t(void) { rb_rational_den(); return 0; } |
---|
337 | /* end */ |
---|
338 | |
---|
339 | -------------------- |
---|
340 | |
---|
341 | have_type: checking for struct RComplex in ruby.h... -------------------- no |
---|
342 | |
---|
343 | "/usr/bin/clang -fdeclspec -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common -arch x86_64 -c conftest.c" |
---|
344 | conftest.c:7:17: error: invalid application of 'sizeof' to an incomplete type 'conftest_type' (aka 'struct RComplex') |
---|
345 | int conftestval[sizeof(conftest_type)?1:-1]; |
---|
346 | ^ ~~~~~~~~~~~~~~~ |
---|
347 | conftest.c:6:16: note: forward declaration of 'struct RComplex' |
---|
348 | typedef struct RComplex conftest_type; |
---|
349 | ^ |
---|
350 | 1 error generated. |
---|
351 | checked program was: |
---|
352 | /* begin */ |
---|
353 | 1: #include "ruby.h" |
---|
354 | 2: |
---|
355 | 3: #include <ruby.h> |
---|
356 | 4: |
---|
357 | 5: /*top*/ |
---|
358 | 6: typedef struct RComplex conftest_type; |
---|
359 | 7: int conftestval[sizeof(conftest_type)?1:-1]; |
---|
360 | /* end */ |
---|
361 | |
---|
362 | -------------------- |
---|
363 | |
---|
364 | have_func: checking for rb_complex_real() in ruby.h... -------------------- no |
---|
365 | |
---|
366 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
367 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
368 | Undefined symbols for architecture x86_64: |
---|
369 | "_rb_complex_real", referenced from: |
---|
370 | _t in conftest-d4a4a4.o |
---|
371 | ld: symbol(s) not found for architecture x86_64 |
---|
372 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
373 | checked program was: |
---|
374 | /* begin */ |
---|
375 | 1: #include "ruby.h" |
---|
376 | 2: |
---|
377 | 3: #include <ruby.h> |
---|
378 | 4: |
---|
379 | 5: /*top*/ |
---|
380 | 6: extern int t(void); |
---|
381 | 7: int main(int argc, char **argv) |
---|
382 | 8: { |
---|
383 | 9: if (argc > 1000000) { |
---|
384 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
385 | 11: printf("%d", (*tp)()); |
---|
386 | 12: } |
---|
387 | 13: |
---|
388 | 14: return !!argv[argc]; |
---|
389 | 15: } |
---|
390 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_complex_real; return !p; } |
---|
391 | /* end */ |
---|
392 | |
---|
393 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
394 | conftest.c:16:13: error: conflicting types for 'rb_complex_real' |
---|
395 | extern void rb_complex_real(); |
---|
396 | ^ |
---|
397 | ../.././include/ruby/internal/intern/complex.h:38:7: note: previous declaration is here |
---|
398 | VALUE rb_complex_real(VALUE z); |
---|
399 | ^ |
---|
400 | conftest.c:17:31: error: too few arguments to function call, single argument 'z' was not specified |
---|
401 | int t(void) { rb_complex_real(); return 0; } |
---|
402 | ~~~~~~~~~~~~~~~ ^ |
---|
403 | ../.././include/ruby/internal/intern/complex.h:38:1: note: 'rb_complex_real' declared here |
---|
404 | VALUE rb_complex_real(VALUE z); |
---|
405 | ^ |
---|
406 | 2 errors generated. |
---|
407 | checked program was: |
---|
408 | /* begin */ |
---|
409 | 1: #include "ruby.h" |
---|
410 | 2: |
---|
411 | 3: #include <ruby.h> |
---|
412 | 4: |
---|
413 | 5: /*top*/ |
---|
414 | 6: extern int t(void); |
---|
415 | 7: int main(int argc, char **argv) |
---|
416 | 8: { |
---|
417 | 9: if (argc > 1000000) { |
---|
418 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
419 | 11: printf("%d", (*tp)()); |
---|
420 | 12: } |
---|
421 | 13: |
---|
422 | 14: return !!argv[argc]; |
---|
423 | 15: } |
---|
424 | 16: extern void rb_complex_real(); |
---|
425 | 17: int t(void) { rb_complex_real(); return 0; } |
---|
426 | /* end */ |
---|
427 | |
---|
428 | -------------------- |
---|
429 | |
---|
430 | have_func: checking for rb_complex_imag() in ruby.h... -------------------- no |
---|
431 | |
---|
432 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
433 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
434 | Undefined symbols for architecture x86_64: |
---|
435 | "_rb_complex_imag", referenced from: |
---|
436 | _t in conftest-98d8d6.o |
---|
437 | ld: symbol(s) not found for architecture x86_64 |
---|
438 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
439 | checked program was: |
---|
440 | /* begin */ |
---|
441 | 1: #include "ruby.h" |
---|
442 | 2: |
---|
443 | 3: #include <ruby.h> |
---|
444 | 4: |
---|
445 | 5: /*top*/ |
---|
446 | 6: extern int t(void); |
---|
447 | 7: int main(int argc, char **argv) |
---|
448 | 8: { |
---|
449 | 9: if (argc > 1000000) { |
---|
450 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
451 | 11: printf("%d", (*tp)()); |
---|
452 | 12: } |
---|
453 | 13: |
---|
454 | 14: return !!argv[argc]; |
---|
455 | 15: } |
---|
456 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_complex_imag; return !p; } |
---|
457 | /* end */ |
---|
458 | |
---|
459 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
460 | conftest.c:16:13: error: conflicting types for 'rb_complex_imag' |
---|
461 | extern void rb_complex_imag(); |
---|
462 | ^ |
---|
463 | ../.././include/ruby/internal/intern/complex.h:39:7: note: previous declaration is here |
---|
464 | VALUE rb_complex_imag(VALUE z); |
---|
465 | ^ |
---|
466 | conftest.c:17:31: error: too few arguments to function call, single argument 'z' was not specified |
---|
467 | int t(void) { rb_complex_imag(); return 0; } |
---|
468 | ~~~~~~~~~~~~~~~ ^ |
---|
469 | ../.././include/ruby/internal/intern/complex.h:39:1: note: 'rb_complex_imag' declared here |
---|
470 | VALUE rb_complex_imag(VALUE z); |
---|
471 | ^ |
---|
472 | 2 errors generated. |
---|
473 | checked program was: |
---|
474 | /* begin */ |
---|
475 | 1: #include "ruby.h" |
---|
476 | 2: |
---|
477 | 3: #include <ruby.h> |
---|
478 | 4: |
---|
479 | 5: /*top*/ |
---|
480 | 6: extern int t(void); |
---|
481 | 7: int main(int argc, char **argv) |
---|
482 | 8: { |
---|
483 | 9: if (argc > 1000000) { |
---|
484 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
485 | 11: printf("%d", (*tp)()); |
---|
486 | 12: } |
---|
487 | 13: |
---|
488 | 14: return !!argv[argc]; |
---|
489 | 15: } |
---|
490 | 16: extern void rb_complex_imag(); |
---|
491 | 17: int t(void) { rb_complex_imag(); return 0; } |
---|
492 | /* end */ |
---|
493 | |
---|
494 | -------------------- |
---|
495 | |
---|
496 | have_func: checking for rb_array_const_ptr() in ruby.h... -------------------- no |
---|
497 | |
---|
498 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
499 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
500 | Undefined symbols for architecture x86_64: |
---|
501 | "_rb_ary_detransient", referenced from: |
---|
502 | _rb_array_const_ptr in conftest-5887ba.o |
---|
503 | ld: symbol(s) not found for architecture x86_64 |
---|
504 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
505 | checked program was: |
---|
506 | /* begin */ |
---|
507 | 1: #include "ruby.h" |
---|
508 | 2: |
---|
509 | 3: #include <ruby.h> |
---|
510 | 4: |
---|
511 | 5: /*top*/ |
---|
512 | 6: extern int t(void); |
---|
513 | 7: int main(int argc, char **argv) |
---|
514 | 8: { |
---|
515 | 9: if (argc > 1000000) { |
---|
516 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
517 | 11: printf("%d", (*tp)()); |
---|
518 | 12: } |
---|
519 | 13: |
---|
520 | 14: return !!argv[argc]; |
---|
521 | 15: } |
---|
522 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_array_const_ptr; return !p; } |
---|
523 | /* end */ |
---|
524 | |
---|
525 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
526 | conftest.c:16:13: error: conflicting types for 'rb_array_const_ptr' |
---|
527 | extern void rb_array_const_ptr(); |
---|
528 | ^ |
---|
529 | ../.././include/ruby/internal/core/rarray.h:184:1: note: previous definition is here |
---|
530 | rb_array_const_ptr(VALUE a) |
---|
531 | ^ |
---|
532 | conftest.c:17:34: error: too few arguments to function call, single argument 'a' was not specified |
---|
533 | int t(void) { rb_array_const_ptr(); return 0; } |
---|
534 | ~~~~~~~~~~~~~~~~~~ ^ |
---|
535 | ../.././include/ruby/internal/core/rarray.h:183:1: note: 'rb_array_const_ptr' declared here |
---|
536 | static inline const VALUE * |
---|
537 | ^ |
---|
538 | 2 errors generated. |
---|
539 | checked program was: |
---|
540 | /* begin */ |
---|
541 | 1: #include "ruby.h" |
---|
542 | 2: |
---|
543 | 3: #include <ruby.h> |
---|
544 | 4: |
---|
545 | 5: /*top*/ |
---|
546 | 6: extern int t(void); |
---|
547 | 7: int main(int argc, char **argv) |
---|
548 | 8: { |
---|
549 | 9: if (argc > 1000000) { |
---|
550 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
551 | 11: printf("%d", (*tp)()); |
---|
552 | 12: } |
---|
553 | 13: |
---|
554 | 14: return !!argv[argc]; |
---|
555 | 15: } |
---|
556 | 16: extern void rb_array_const_ptr(); |
---|
557 | 17: int t(void) { rb_array_const_ptr(); return 0; } |
---|
558 | /* end */ |
---|
559 | |
---|
560 | -------------------- |
---|
561 | |
---|
562 | have_func: checking for rb_sym2str() in ruby.h... -------------------- no |
---|
563 | |
---|
564 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
565 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
566 | Undefined symbols for architecture x86_64: |
---|
567 | "_rb_sym2str", referenced from: |
---|
568 | _t in conftest-010082.o |
---|
569 | ld: symbol(s) not found for architecture x86_64 |
---|
570 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
571 | checked program was: |
---|
572 | /* begin */ |
---|
573 | 1: #include "ruby.h" |
---|
574 | 2: |
---|
575 | 3: #include <ruby.h> |
---|
576 | 4: |
---|
577 | 5: /*top*/ |
---|
578 | 6: extern int t(void); |
---|
579 | 7: int main(int argc, char **argv) |
---|
580 | 8: { |
---|
581 | 9: if (argc > 1000000) { |
---|
582 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
583 | 11: printf("%d", (*tp)()); |
---|
584 | 12: } |
---|
585 | 13: |
---|
586 | 14: return !!argv[argc]; |
---|
587 | 15: } |
---|
588 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_sym2str; return !p; } |
---|
589 | /* end */ |
---|
590 | |
---|
591 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
592 | conftest.c:16:13: error: conflicting types for 'rb_sym2str' |
---|
593 | extern void rb_sym2str(); |
---|
594 | ^ |
---|
595 | ../.././include/ruby/internal/symbol.h:63:7: note: previous declaration is here |
---|
596 | VALUE rb_sym2str(VALUE); |
---|
597 | ^ |
---|
598 | conftest.c:17:26: error: too few arguments to function call, expected 1, have 0 |
---|
599 | int t(void) { rb_sym2str(); return 0; } |
---|
600 | ~~~~~~~~~~ ^ |
---|
601 | ../.././include/ruby/internal/symbol.h:63:1: note: 'rb_sym2str' declared here |
---|
602 | VALUE rb_sym2str(VALUE); |
---|
603 | ^ |
---|
604 | 2 errors generated. |
---|
605 | checked program was: |
---|
606 | /* begin */ |
---|
607 | 1: #include "ruby.h" |
---|
608 | 2: |
---|
609 | 3: #include <ruby.h> |
---|
610 | 4: |
---|
611 | 5: /*top*/ |
---|
612 | 6: extern int t(void); |
---|
613 | 7: int main(int argc, char **argv) |
---|
614 | 8: { |
---|
615 | 9: if (argc > 1000000) { |
---|
616 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
617 | 11: printf("%d", (*tp)()); |
---|
618 | 12: } |
---|
619 | 13: |
---|
620 | 14: return !!argv[argc]; |
---|
621 | 15: } |
---|
622 | 16: extern void rb_sym2str(); |
---|
623 | 17: int t(void) { rb_sym2str(); return 0; } |
---|
624 | /* end */ |
---|
625 | |
---|
626 | -------------------- |
---|
627 | |
---|
628 | have_func: checking for rb_opts_exception_p() in ruby.h... -------------------- no |
---|
629 | |
---|
630 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
631 | conftest.c:16:57: error: use of undeclared identifier 'rb_opts_exception_p' |
---|
632 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_opts_exception_p; return !p; } |
---|
633 | ^ |
---|
634 | 1 error generated. |
---|
635 | checked program was: |
---|
636 | /* begin */ |
---|
637 | 1: #include "ruby.h" |
---|
638 | 2: |
---|
639 | 3: #include <ruby.h> |
---|
640 | 4: |
---|
641 | 5: /*top*/ |
---|
642 | 6: extern int t(void); |
---|
643 | 7: int main(int argc, char **argv) |
---|
644 | 8: { |
---|
645 | 9: if (argc > 1000000) { |
---|
646 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
647 | 11: printf("%d", (*tp)()); |
---|
648 | 12: } |
---|
649 | 13: |
---|
650 | 14: return !!argv[argc]; |
---|
651 | 15: } |
---|
652 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_opts_exception_p; return !p; } |
---|
653 | /* end */ |
---|
654 | |
---|
655 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
656 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
657 | Undefined symbols for architecture x86_64: |
---|
658 | "_rb_opts_exception_p", referenced from: |
---|
659 | _t in conftest-170e22.o |
---|
660 | ld: symbol(s) not found for architecture x86_64 |
---|
661 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
662 | checked program was: |
---|
663 | /* begin */ |
---|
664 | 1: #include "ruby.h" |
---|
665 | 2: |
---|
666 | 3: #include <ruby.h> |
---|
667 | 4: |
---|
668 | 5: /*top*/ |
---|
669 | 6: extern int t(void); |
---|
670 | 7: int main(int argc, char **argv) |
---|
671 | 8: { |
---|
672 | 9: if (argc > 1000000) { |
---|
673 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
674 | 11: printf("%d", (*tp)()); |
---|
675 | 12: } |
---|
676 | 13: |
---|
677 | 14: return !!argv[argc]; |
---|
678 | 15: } |
---|
679 | 16: extern void rb_opts_exception_p(); |
---|
680 | 17: int t(void) { rb_opts_exception_p(); return 0; } |
---|
681 | /* end */ |
---|
682 | |
---|
683 | -------------------- |
---|
684 | |
---|
685 | have_func: checking for rb_category_warn() in ruby.h... -------------------- no |
---|
686 | |
---|
687 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
688 | ld: warning: ignoring file ../../libruby.3.0-static.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64 |
---|
689 | Undefined symbols for architecture x86_64: |
---|
690 | "_rb_category_warn", referenced from: |
---|
691 | _t in conftest-4c201e.o |
---|
692 | ld: symbol(s) not found for architecture x86_64 |
---|
693 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
694 | checked program was: |
---|
695 | /* begin */ |
---|
696 | 1: #include "ruby.h" |
---|
697 | 2: |
---|
698 | 3: #include <ruby.h> |
---|
699 | 4: |
---|
700 | 5: /*top*/ |
---|
701 | 6: extern int t(void); |
---|
702 | 7: int main(int argc, char **argv) |
---|
703 | 8: { |
---|
704 | 9: if (argc > 1000000) { |
---|
705 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
706 | 11: printf("%d", (*tp)()); |
---|
707 | 12: } |
---|
708 | 13: |
---|
709 | 14: return !!argv[argc]; |
---|
710 | 15: } |
---|
711 | 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_category_warn; return !p; } |
---|
712 | /* end */ |
---|
713 | |
---|
714 | "/usr/bin/clang -fdeclspec -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common conftest.c -L. -L../.. -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector-strong -L/opt/local/lib -arch x86_64 -lruby.3.0-static -framework Security -framework Foundation -lpthread -ldl -lobjc " |
---|
715 | conftest.c:16:13: error: conflicting types for 'rb_category_warn' |
---|
716 | extern void rb_category_warn(); |
---|
717 | ^ |
---|
718 | ../.././include/ruby/internal/error.h:79:27: note: previous declaration is here |
---|
719 | COLDFUNC PRINTF_ARGS(void rb_category_warn(rb_warning_category_t, const char*, ...), 2, 3); |
---|
720 | ^ |
---|
721 | conftest.c:17:32: error: too few arguments to function call, expected at least 2, have 0 |
---|
722 | int t(void) { rb_category_warn(); return 0; } |
---|
723 | ~~~~~~~~~~~~~~~~ ^ |
---|
724 | ../.././include/ruby/internal/error.h:79:1: note: 'rb_category_warn' declared here |
---|
725 | COLDFUNC PRINTF_ARGS(void rb_category_warn(rb_warning_category_t, const char*, ...), 2, 3); |
---|
726 | ^ |
---|
727 | ../.././include/ruby/backward/2/attributes.h:110:18: note: expanded from macro 'COLDFUNC' |
---|
728 | #define COLDFUNC RBIMPL_ATTR_COLD() |
---|
729 | ^ |
---|
730 | ../.././include/ruby/internal/attr/cold.h:32:29: note: expanded from macro 'RBIMPL_ATTR_COLD' |
---|
731 | # define RBIMPL_ATTR_COLD() __attribute__((__cold__)) |
---|
732 | ^ |
---|
733 | 2 errors generated. |
---|
734 | checked program was: |
---|
735 | /* begin */ |
---|
736 | 1: #include "ruby.h" |
---|
737 | 2: |
---|
738 | 3: #include <ruby.h> |
---|
739 | 4: |
---|
740 | 5: /*top*/ |
---|
741 | 6: extern int t(void); |
---|
742 | 7: int main(int argc, char **argv) |
---|
743 | 8: { |
---|
744 | 9: if (argc > 1000000) { |
---|
745 | 10: int (* volatile tp)(void)=(int (*)(void))&t; |
---|
746 | 11: printf("%d", (*tp)()); |
---|
747 | 12: } |
---|
748 | 13: |
---|
749 | 14: return !!argv[argc]; |
---|
750 | 15: } |
---|
751 | 16: extern void rb_category_warn(); |
---|
752 | 17: int t(void) { rb_category_warn(); return 0; } |
---|
753 | /* end */ |
---|
754 | |
---|
755 | -------------------- |
---|
756 | |
---|
757 | have_const: checking for RB_WARN_CATEGORY_DEPRECATED in ruby.h... -------------------- yes |
---|
758 | |
---|
759 | "/usr/bin/clang -fdeclspec -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/bigdecimal -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common -arch x86_64 -c conftest.c" |
---|
760 | checked program was: |
---|
761 | /* begin */ |
---|
762 | 1: #include "ruby.h" |
---|
763 | 2: |
---|
764 | 3: #include <ruby.h> |
---|
765 | 4: |
---|
766 | 5: /*top*/ |
---|
767 | 6: typedef int conftest_type; |
---|
768 | 7: conftest_type conftestval = (int)RB_WARN_CATEGORY_DEPRECATED; |
---|
769 | /* end */ |
---|
770 | |
---|
771 | -------------------- |
---|
772 | |
---|
773 | extconf.h is: |
---|
774 | /* begin */ |
---|
775 | 1: #ifndef EXTCONF_H |
---|
776 | 2: #define EXTCONF_H |
---|
777 | 3: #define RUBY_BIGDECIMAL_VERSION "3.0.0" |
---|
778 | 4: #define HAVE_LABS 1 |
---|
779 | 5: #define HAVE_LLABS 1 |
---|
780 | 6: #define HAVE_FINITE 1 |
---|
781 | 7: #define HAVE_CONST_RB_WARN_CATEGORY_DEPRECATED 1 |
---|
782 | 8: #endif |
---|
783 | /* end */ |
---|
784 | |
---|