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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -o conftest -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -fstack-protector-strong -L/opt/puppetlabs/puppet/lib  -arch arm64   -lruby.4.0-static -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
ld: warning: ignoring duplicate libraries: '-lpthread'
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <float.h>
/* end */

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

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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <math.h>
/* end */

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

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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdbool.h>
/* end */

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

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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdlib.h>
/* end */

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

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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -c conftest.c"
In file included from conftest.c:3:
In file included from /Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/x86intrin.h:15:
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
   14 | #error "This header is only meant to be used on x86 and x64 architecture"
      |  ^
In file included from conftest.c:3:
In file included from /Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/x86intrin.h:15:
In file included from /Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/immintrin.h:17:
In file included from /Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/x86gprintrin.h:13:
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
   42 |   __asm__ ("hreset $0" :: "a"(__eax));
      |                           ^
In file included from conftest.c:3:
In file included from /Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/x86intrin.h:15:
In file included from /Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/immintrin.h:19:
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
   14 | #error "This header is only meant to be used on x86 and x64 architecture"
      |  ^
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:165:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  165 |     return __trunc64(__builtin_ia32_packsswb128(
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166 |         (__v8hi)__builtin_shufflevector(__m1, __m2, 0, 1), (__v8hi){}));
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:191:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  191 |     return __trunc64(__builtin_ia32_packssdw128(
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  192 |         (__v4si)__builtin_shufflevector(__m1, __m2, 0, 1), (__v4si){}));
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:217:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  217 |     return __trunc64(__builtin_ia32_packuswb128(
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  218 |         (__v8hi)__builtin_shufflevector(__m1, __m2, 0, 1), (__v8hi){}));
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:707:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  707 |     return __trunc64(__builtin_ia32_pmaddwd128((__v8hi)__anyext128(__m1),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  708 |                                                (__v8hi)__anyext128(__m2)));
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:729:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  729 |     return __trunc64(__builtin_ia32_pmulhw128((__v8hi)__anyext128(__m1),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  730 |                                               (__v8hi)__anyext128(__m2)));
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:774:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  774 |     return __trunc64(__builtin_ia32_psllw128((__v8hi)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  775 |                                              (__v8hi)__anyext128(__count)));
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:797:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  797 |     return __trunc64(__builtin_ia32_psllwi128((__v8hi)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  798 |                                               __count));
      |                                               ~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:821:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  821 |     return __trunc64(__builtin_ia32_pslld128((__v4si)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  822 |                                              (__v4si)__anyext128(__count)));
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:844:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  844 |     return __trunc64(__builtin_ia32_pslldi128((__v4si)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  845 |                                               __count));
      |                                               ~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:865:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  865 |     return __trunc64(__builtin_ia32_psllq128((__v2di)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  866 |                                              (__v2di)__anyext128(__count)));
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:886:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  886 |     return __trunc64(__builtin_ia32_psllqi128((__v2di)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  887 |                                               __count));
      |                                               ~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:911:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  911 |     return __trunc64(__builtin_ia32_psraw128((__v8hi)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  912 |                                              (__v8hi)__anyext128(__count)));
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:935:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  935 |     return __trunc64(__builtin_ia32_psrawi128((__v8hi)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  936 |                                               __count));
      |                                               ~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:960:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  960 |     return __trunc64(__builtin_ia32_psrad128((__v4si)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  961 |                                              (__v4si)__anyext128(__count)));
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:984:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
  984 |     return __trunc64(__builtin_ia32_psradi128((__v4si)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  985 |                                               __count));
      |                                               ~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:1008:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
 1008 |     return __trunc64(__builtin_ia32_psrlw128((__v8hi)__anyext128(__m),
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1009 |                                              (__v8hi)__anyext128(__count)));
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
   59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
      |                                   ^~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <x86intrin.h>
/* end */

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

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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -c conftest.c"
In file included from conftest.c:3:
/Applications/Xcode_26.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/intrin.h:12:15: fatal error: 'intrin.h' file not found
   12 | #include_next <intrin.h>
      |               ^~~~~~~~~~
1 error generated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <intrin.h>
/* end */

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

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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -o conftest -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -fstack-protector-strong -L/opt/puppetlabs/puppet/lib  -arch arm64   -lruby.4.0-static -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
ld: warning: ignoring duplicate libraries: '-lpthread'
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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -o conftest -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -fstack-protector-strong -L/opt/puppetlabs/puppet/lib  -arch arm64   -lruby.4.0-static -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
ld: warning: ignoring duplicate libraries: '-lpthread'
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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -o conftest -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -fstack-protector-strong -L/opt/puppetlabs/puppet/lib  -arch arm64   -lruby.4.0-static -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
conftest.c:16:57: error: use of undeclared identifier 'rb_opts_exception_p'
   16 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_opts_exception_p; return !p; }
      |                                                         ^~~~~~~~~~~~~~~~~~~
1 error generated.
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 */

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -o conftest -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -fstack-protector-strong -L/opt/puppetlabs/puppet/lib  -arch arm64   -lruby.4.0-static -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
ld: warning: ignoring duplicate libraries: '-lpthread'
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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -o conftest -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe conftest.c -L. -L../../../../.. -L/opt/puppetlabs/puppet/lib -L. -L/opt/puppetlabs/puppet/lib -fstack-protector-strong -L/opt/puppetlabs/puppet/lib  -arch arm64   -lruby.4.0-static -framework CoreFoundation -ldl -lobjc -lpthread   -lpthread  "
ld: warning: ignoring duplicate libraries: '-lpthread'
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

DYLD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin25 -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -target arm64-apple-darwin22 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -target arm64-apple-darwin22 -arch arm64 -mmacos-version-min=13.0 -I/opt/puppetlabs/puppet/include -std=gnu17 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64  -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 */

