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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -Wl,-rpath=/opt/puppetlabs/puppet/lib,-z,relro,-z,now -fstack-protector-strong -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed     -Wl,-rpath,/opt/puppetlabs/puppet/lib -L/opt/puppetlabs/puppet/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread   -lm -lpthread  -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <float.h>
/* end */

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

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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <math.h>
/* end */

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

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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdbool.h>
/* end */

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

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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdlib.h>
/* end */

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

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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
conftest.c:3:10: fatal error: x86intrin.h: No such file or directory
    3 | #include <x86intrin.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <x86intrin.h>
/* end */

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

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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -c conftest.c"
conftest.c:3:10: fatal error: intrin.h: No such file or directory
    3 | #include <intrin.h>
      |          ^~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <intrin.h>
/* end */

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

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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -Wl,-rpath=/opt/puppetlabs/puppet/lib,-z,relro,-z,now -fstack-protector-strong -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed     -Wl,-rpath,/opt/puppetlabs/puppet/lib -L/opt/puppetlabs/puppet/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread   -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[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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -Wl,-rpath=/opt/puppetlabs/puppet/lib,-z,relro,-z,now -fstack-protector-strong -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed     -Wl,-rpath,/opt/puppetlabs/puppet/lib -L/opt/puppetlabs/puppet/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread   -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[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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -Wl,-rpath=/opt/puppetlabs/puppet/lib,-z,relro,-z,now -fstack-protector-strong -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed     -Wl,-rpath,/opt/puppetlabs/puppet/lib -L/opt/puppetlabs/puppet/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread   -lm -lpthread  -lc"
conftest.c: In function 't':
conftest.c:16:57: error: 'rb_opts_exception_p' undeclared (first use in this function); did you mean 'rb_make_exception'?
   16 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_opts_exception_p; return !p; }
      |                                                         ^~~~~~~~~~~~~~~~~~~
      |                                                         rb_make_exception
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
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 */

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -Wl,-rpath=/opt/puppetlabs/puppet/lib,-z,relro,-z,now -fstack-protector-strong -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed     -Wl,-rpath,/opt/puppetlabs/puppet/lib -L/opt/puppetlabs/puppet/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread   -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[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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -Wl,-rpath=/opt/puppetlabs/puppet/lib,-z,relro,-z,now -fstack-protector-strong -L/opt/puppetlabs/puppet/lib -Wl,-rpath,/opt/puppetlabs/puppet/lib -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed     -Wl,-rpath,/opt/puppetlabs/puppet/lib -L/opt/puppetlabs/puppet/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread   -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[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

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "gcc -I../../../../../.ext/include/aarch64-linux -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -I/opt/puppetlabs/puppet/include -D_FORTIFY_SOURCE=2   -fstack-protector-strong -fno-plt -O2 -Wno-error=implicit-function-declaration  -fPIC   -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_RUBY_ATOMIC_H 1
11: #define HAVE_RUBY_INTERNAL_HAS_BUILTIN_H 1
12: #define HAVE_RUBY_INTERNAL_STATIC_ASSERT_H 1
13: #define HAVE_RB_COMPLEX_REAL 1
14: #define HAVE_RB_COMPLEX_IMAG 1
15: #define HAVE_RB_OPTS_EXCEPTION_P 1
16: #define HAVE_RB_CATEGORY_WARN 1
17: #define HAVE_CONST_RB_WARN_CATEGORY_DEPRECATED 1
18: #endif
/* end */

