have_func: checking for rb_category_warn()… ——————– 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” 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; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_category_warn; return !p; } /* end */


have_var: checking for timezone in time.h with -Werror… ——————– 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 -Werror -c conftest.c” checked program was: /* begin */

1: #include "ruby.h"
2: 
3: #include <time.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) { const volatile void *volatile p; p = &(&timezone); return !p; } /* end */


have_var: checking for altzone in time.h with -Werror… ——————– no

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 -Werror -c conftest.c” conftest.c: In function ‘t’: conftest.c:16:55: error: ‘altzone’ undeclared (first use in this function)

16 | int t(void) { const volatile void *volatile p; p = &(&altzone)[0]; return !p; }
   |                                                       ^~~~~~~

conftest.c:16:55: 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 <time.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) { const volatile void *volatile p; p = &(&altzone); return !p; } /* end */