have_func: checking for rb_enc_interned_str() in ruby.h… ——————– yes
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -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 -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,–no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -lruby -lm -lpthread -lc” checked program was: /* begin */ 1: include “ruby.h” 2: 3: int main(int argc, char **argv) 4: { 5: return !!argv; 6: } /* end */
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -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 -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,–no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -lruby -lm -lpthread -lc” conftest.c: In function ‘t’: conftest.c:16:57: error: ‘rb_enc_interned_str’ undeclared (first use in this function); did you mean ‘rb_interned_str’?
16 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_interned_str; return !p; } | ^~~~~~~~~~~~~~~~~~~ | rb_interned_str
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics 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; 15: } 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_interned_str; return !p; } /* end */
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -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 -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,–no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -lruby -lm -lpthread -lc” 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; 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… ——————– yes
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -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 -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,–no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -lruby -lm -lpthread -lc” 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; 15: } 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_new_capa; return !p; } /* end */
have_func: checking for rb_hash_bulk_insert() in ruby.h… ——————– yes
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -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 -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,–no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -lruby -lm -lpthread -lc” 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; 15: } 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_bulk_insert; return !p; } /* end */
have_func: checking for strnlen() in string.h… ——————– yes
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -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 -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,–no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -lruby -lm -lpthread -lc” checked program was: /* begin */
1: #include "ruby.h" 2: 3: #include <string.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; 15: } 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))strnlen; return !p; } /* end */
append_cflags: checking for whether -std=c99 is accepted as CFLAGS… ——————– yes
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -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 -Wmisleading-indentation -Wundef -fPIC -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; 6: } /* end */