have_func: checking for rb_ary_subseq()... -------------------- yes "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.0.0/x64/include/ruby-3.0.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.0.0/x64/include/ruby-3.0.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.0.0/x64/include/ruby-3.0.0 -I. -I/opt/hostedtoolcache/Ruby/3.0.0/x64/include -DENABLE_PATH_CHECK=0 -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -L. -L/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -L/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -lruby -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return !!argv[argc]; 6: } /* end */ "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.0.0/x64/include/ruby-3.0.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.0.0/x64/include/ruby-3.0.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.0.0/x64/include/ruby-3.0.0 -I. -I/opt/hostedtoolcache/Ruby/3.0.0/x64/include -DENABLE_PATH_CHECK=0 -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -L. -L/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -L/opt/hostedtoolcache/Ruby/3.0.0/x64/lib -lruby -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return !!argv[argc]; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_ary_subseq; return !p; } /* end */ --------------------