have_func: checking for rb_enc_interned_str() in ruby.h... -------------------- yes DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -o conftest -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe conftest.c -L. -L/Users/usuryuryu/.rbenv/versions/3.1.6/lib -L. -L/usr/local/mysql-8.0.35-macos13-arm64/lib -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -L/usr/local/lib -lruby.3.1 " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return !!argv[argc]; 6: } /* end */ DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -o conftest -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe conftest.c -L. -L/Users/usuryuryu/.rbenv/versions/3.1.6/lib -L. -L/usr/local/mysql-8.0.35-macos13-arm64/lib -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -L/usr/local/lib -lruby.3.1 " conftest.c:16:57: error: use of undeclared identifier 'rb_enc_interned_str' int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_interned_str; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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_enc_interned_str; return !p; } /* end */ DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -o conftest -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe conftest.c -L. -L/Users/usuryuryu/.rbenv/versions/3.1.6/lib -L. -L/usr/local/mysql-8.0.35-macos13-arm64/lib -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -L/usr/local/lib -lruby.3.1 " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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_enc_interned_str(); 17: int t(void) { rb_enc_interned_str(); return 0; } /* end */ -------------------- have_func: checking for rb_hash_new_capa() in ruby.h... -------------------- no DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -o conftest -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe conftest.c -L. -L/Users/usuryuryu/.rbenv/versions/3.1.6/lib -L. -L/usr/local/mysql-8.0.35-macos13-arm64/lib -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -L/usr/local/lib -lruby.3.1 " conftest.c:16:57: error: use of undeclared identifier 'rb_hash_new_capa' int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_new_capa; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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_hash_new_capa; return !p; } /* end */ DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -o conftest -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe conftest.c -L. -L/Users/usuryuryu/.rbenv/versions/3.1.6/lib -L. -L/usr/local/mysql-8.0.35-macos13-arm64/lib -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -L/usr/local/lib -lruby.3.1 " Undefined symbols for architecture arm64: "_rb_hash_new_capa", referenced from: _t in conftest-10cc68.o ld: symbol(s) not found for architecture arm64 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 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_hash_new_capa(); 17: int t(void) { rb_hash_new_capa(); return 0; } /* end */ -------------------- have_func: checking for rb_hash_bulk_insert() in ruby.h... -------------------- yes DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -o conftest -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe conftest.c -L. -L/Users/usuryuryu/.rbenv/versions/3.1.6/lib -L. -L/usr/local/mysql-8.0.35-macos13-arm64/lib -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -L/usr/local/lib -lruby.3.1 " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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_hash_bulk_insert; return !p; } /* end */ -------------------- have_func: checking for rb_category_warn() in ruby.h... -------------------- yes DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -o conftest -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe conftest.c -L. -L/Users/usuryuryu/.rbenv/versions/3.1.6/lib -L. -L/usr/local/mysql-8.0.35-macos13-arm64/lib -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -L/usr/local/lib -lruby.3.1 " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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_func: checking for strnlen() in string.h... -------------------- yes DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -o conftest -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe conftest.c -L. -L/Users/usuryuryu/.rbenv/versions/3.1.6/lib -L. -L/usr/local/mysql-8.0.35-macos13-arm64/lib -fstack-protector-strong -L/opt/homebrew/opt/gmp/lib -L/usr/local/lib -lruby.3.1 " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 ((*)()))strnlen; return !p; } /* end */ -------------------- block in append_cflags: checking for whether -std=c99 is accepted as CFLAGS... -------------------- yes DYLD_FALLBACK_LIBRARY_PATH=.:/Users/usuryuryu/.rbenv/versions/3.1.6/lib "clang -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/arm64-darwin23 -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0/ruby/backward -I/Users/usuryuryu/.rbenv/versions/3.1.6/include/ruby-3.1.0 -I. -I/usr/local/mysql-8.0.35-macos13-arm64/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -pipe -std=c99 -Werror -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return !!argv[argc]; 6: } /* end */ --------------------