have_builtin_func: checking for __builtin_clz()... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
conftest.c:4:14: warning: ignoring return value of function declared with const attribute [-Wunused-value]
int main() { __builtin_clz(0); return 0; }
             ^~~~~~~~~~~~~ ~
1 warning generated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int foo;
4: int main() { __builtin_clz(0); return 0; }
/* end */

--------------------

have_builtin_func: checking for __builtin_clzl()... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
conftest.c:4:14: warning: ignoring return value of function declared with const attribute [-Wunused-value]
int main() { __builtin_clzl(0); return 0; }
             ^~~~~~~~~~~~~~ ~
1 warning generated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int foo;
4: int main() { __builtin_clzl(0); return 0; }
/* end */

--------------------

have_builtin_func: checking for __builtin_clzll()... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
conftest.c:4:14: warning: ignoring return value of function declared with const attribute [-Wunused-value]
int main() { __builtin_clzll(0); return 0; }
             ^~~~~~~~~~~~~~~ ~
1 warning generated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int foo;
4: int main() { __builtin_clzll(0); return 0; }
/* end */

--------------------

have_header: checking for float.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <float.h>
/* end */

--------------------

have_header: checking for math.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <math.h>
/* end */

--------------------

have_header: checking for stdbool.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdbool.h>
/* end */

--------------------

have_header: checking for stdlib.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdlib.h>
/* end */

--------------------

have_header: checking for x86intrin.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <x86intrin.h>
/* end */

--------------------

have_func: checking for _lzcnt_u32() in x86intrin.h... -------------------- no

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
conftest.c:16:57: error: use of undeclared identifier '_lzcnt_u32'
int t(void) { void ((*volatile p)()); p = (void ((*)()))_lzcnt_u32; return !p; }
                                                        ^
1 error generated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <x86intrin.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))_lzcnt_u32; return !p; }
/* end */

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
Undefined symbols for architecture x86_64:
  "__lzcnt_u32", referenced from:
      _t in conftest-aa4118.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <x86intrin.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void _lzcnt_u32();
17: int t(void) { _lzcnt_u32(); return 0; }
/* end */

--------------------

have_func: checking for _lzcnt_u64() in x86intrin.h... -------------------- no

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
conftest.c:16:57: error: use of undeclared identifier '_lzcnt_u64'
int t(void) { void ((*volatile p)()); p = (void ((*)()))_lzcnt_u64; return !p; }
                                                        ^
1 error generated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <x86intrin.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))_lzcnt_u64; return !p; }
/* end */

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
Undefined symbols for architecture x86_64:
  "__lzcnt_u64", referenced from:
      _t in conftest-8d503b.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <x86intrin.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void _lzcnt_u64();
17: int t(void) { _lzcnt_u64(); return 0; }
/* end */

--------------------

have_header: checking for intrin.h... -------------------- no

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
conftest.c:3:10: fatal error: 'intrin.h' file not found
#include <intrin.h>
         ^
1 error generated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <intrin.h>
/* end */

--------------------

have_header: checking for ruby/atomic.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby/atomic.h>
/* end */

--------------------

have_header: checking for ruby/internal/has/builtin.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby/internal/has/builtin.h>
/* end */

--------------------

have_header: checking for ruby/internal/static_assert.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby/internal/static_assert.h>
/* end */

--------------------

have_func: checking for rb_complex_real() in ruby.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_complex_real; return !p; }
/* end */

--------------------

have_func: checking for rb_complex_imag() in ruby.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_complex_imag; return !p; }
/* end */

--------------------

have_func: checking for rb_opts_exception_p() in ruby.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
conftest.c:16:57: error: use of undeclared identifier 'rb_opts_exception_p'
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_opts_exception_p; return !p; }
                                                        ^
1 error generated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_opts_exception_p; return !p; }
/* end */

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void rb_opts_exception_p();
17: int t(void) { rb_opts_exception_p(); return 0; }
/* end */

--------------------

have_func: checking for rb_category_warn() in ruby.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -o conftest -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common conftest.c -L. -L../../../../.. -L/opt/local/lib -L. -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -fstack-protector -L/opt/local/lib   -arch x86_64   -lruby.4.0-static -framework Security -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_category_warn; return !p; }
/* end */

--------------------

have_const: checking for RB_WARN_CATEGORY_DEPRECATED in ruby.h... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "/usr/bin/clang -std=gnu11 -I../../../../../.ext/include/x86_64-darwin13 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl3/include -Os -fno-common  -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby.h>
4: 
5: /*top*/
6: typedef int conftest_type;
7: conftest_type conftestval = (int)RB_WARN_CATEGORY_DEPRECATED;
/* end */

--------------------

extconf.h is:
/* begin */
 1: #ifndef EXTCONF_H
 2: #define EXTCONF_H
 3: #define HAVE_BUILTIN___BUILTIN_CLZ 1
 4: #define HAVE_BUILTIN___BUILTIN_CLZL 1
 5: #define HAVE_BUILTIN___BUILTIN_CLZLL 1
 6: #define HAVE_FLOAT_H 1
 7: #define HAVE_MATH_H 1
 8: #define HAVE_STDBOOL_H 1
 9: #define HAVE_STDLIB_H 1
10: #define HAVE_X86INTRIN_H 1
11: #define HAVE_RUBY_ATOMIC_H 1
12: #define HAVE_RUBY_INTERNAL_HAS_BUILTIN_H 1
13: #define HAVE_RUBY_INTERNAL_STATIC_ASSERT_H 1
14: #define HAVE_RB_COMPLEX_REAL 1
15: #define HAVE_RB_COMPLEX_IMAG 1
16: #define HAVE_RB_OPTS_EXCEPTION_P 1
17: #define HAVE_RB_CATEGORY_WARN 1
18: #define HAVE_CONST_RB_WARN_CATEGORY_DEPRECATED 1
19: #endif
/* end */

