have_builtin_func: checking for __builtin_clz()... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found 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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for math.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for stdbool.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for stdlib.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for x86intrin.h... -------------------- no DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" In file included from conftest.c:3: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/x86intrin.h:15: /Library/Developer/CommandLineTools/usr/lib/clang/17/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 /Library/Developer/CommandLineTools/usr/lib/clang/17/include/x86intrin.h:15: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/immintrin.h:17: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/x86gprintrin.h:14: /Library/Developer/CommandLineTools/usr/lib/clang/17/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 /Library/Developer/CommandLineTools/usr/lib/clang/17/include/x86intrin.h:15: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/immintrin.h:20: /Library/Developer/CommandLineTools/usr/lib/clang/17/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" | ^ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:56:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 56 | return (__m64)__builtin_ia32_vec_init_v2si(__i, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:130:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 130 | return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:155:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 155 | return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:180:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 180 | return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:207:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 207 | return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:230:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 230 | return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:251:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 251 | return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:278:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 278 | return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:301:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 301 | return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:322:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 322 | return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:343:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 343 | return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:364:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 364 | return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:385:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 385 | return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:409:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 409 | return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:433:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 433 | return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/17/include/mmintrin.h:456:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size 456 | return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for intrin.h... -------------------- no DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" In file included from conftest.c:3: /Library/Developer/CommandLineTools/usr/lib/clang/17/include/intrin.h:12:15: fatal error: 'intrin.h' file not found 12 | #include_next | ^~~~~~~~~~ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_func: checking for labs() in stdlib.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 ((*)()))labs; return !p; } /* end */ -------------------- have_func: checking for llabs() in stdlib.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 ((*)()))llabs; return !p; } /* end */ -------------------- have_func: checking for finite() in math.h... -------------------- no DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " conftest.c:16:57: error: call to undeclared library function 'finite' with type 'int (double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | int t(void) { void ((*volatile p)()); p = (void ((*)()))finite; return !p; } | ^ conftest.c:16:57: note: include the header or explicitly provide a declaration for 'finite' 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 ((*)()))finite; return !p; } /* end */ DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " conftest.c:16:13: error: expected identifier or '(' 16 | extern void finite(); | ^ /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/missing.h:165:20: note: expanded from macro 'finite' 165 | # define finite(x) isfinite(x) | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:7: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:16:13: error: expected ')' /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/missing.h:165:20: note: expanded from macro 'finite' 165 | # define finite(x) isfinite(x) | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:7: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:16:13: note: to match this '(' /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/missing.h:165:20: note: expanded from macro 'finite' 165 | # define finite(x) isfinite(x) | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:5: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:17:15: error: expected expression 17 | int t(void) { finite(); return 0; } | ^ /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/missing.h:165:20: note: expanded from macro 'finite' 165 | # define finite(x) isfinite(x) | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:15: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:17:15: error: expected expression /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/missing.h:165:20: note: expanded from macro 'finite' 165 | # define finite(x) isfinite(x) | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:65: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:17:15: error: expected expression /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/missing.h:165:20: note: expanded from macro 'finite' 165 | # define finite(x) isfinite(x) | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:171:15: note: expanded from macro 'isfinite' 171 | : sizeof(x) == sizeof(double) ? __inline_isfinited((double)(x)) \ | ^ conftest.c:17:15: error: expected expression /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/missing.h:165:20: note: expanded from macro 'finite' 165 | # define finite(x) isfinite(x) | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:171:66: note: expanded from macro 'isfinite' 171 | : sizeof(x) == sizeof(double) ? __inline_isfinited((double)(x)) \ | ^ conftest.c:17:15: error: expected expression /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/missing.h:165:20: note: expanded from macro 'finite' 165 | # define finite(x) isfinite(x) | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:172:71: note: expanded from macro 'isfinite' 172 | : __inline_isfinitel((long double)(x))) | ^ 7 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 finite(); 17: int t(void) { finite(); return 0; } /* end */ -------------------- have_func: checking for isfinite() in math.h... -------------------- no DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " conftest.c:16:57: error: use of undeclared identifier 'isfinite' 16 | int t(void) { void ((*volatile p)()); p = (void ((*)()))isfinite; return !p; } | ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 ((*)()))isfinite; return !p; } /* end */ DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " conftest.c:16:13: error: expected identifier or '(' 16 | extern void isfinite(); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:7: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:16:13: error: expected ')' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:7: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:16:13: note: to match this '(' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:5: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:17:15: error: expected expression 17 | int t(void) { isfinite(); return 0; } | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:15: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:17:15: error: expected expression /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:170:65: note: expanded from macro 'isfinite' 170 | ( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | ^ conftest.c:17:15: error: expected expression /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:171:15: note: expanded from macro 'isfinite' 171 | : sizeof(x) == sizeof(double) ? __inline_isfinited((double)(x)) \ | ^ conftest.c:17:15: error: expected expression /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:171:66: note: expanded from macro 'isfinite' 171 | : sizeof(x) == sizeof(double) ? __inline_isfinited((double)(x)) \ | ^ conftest.c:17:15: error: expected expression /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:172:71: note: expanded from macro 'isfinite' 172 | : __inline_isfinitel((long double)(x))) | ^ 7 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 isfinite(); 17: int t(void) { isfinite(); return 0; } /* end */ -------------------- have_header: checking for ruby/atomic.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for ruby/internal/has/builtin.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for ruby/internal/static_assert.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_func: checking for rb_rational_num() in ruby.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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_rational_num; return !p; } /* end */ -------------------- have_func: checking for rb_rational_den() in ruby.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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_rational_den; return !p; } /* end */ -------------------- have_func: checking for rb_complex_real() in ruby.h... -------------------- yes DYLD_LIBRARY_PATH=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-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 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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe conftest.c -L. -L/Users/ben/.rubies/ruby-3.4.1/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -L. -fstack-protector-strong -L/opt/homebrew/Cellar/readline/8.2.13/lib -L/opt/homebrew/Cellar/libyaml/0.2.5/lib -L/opt/homebrew/Cellar/gdbm/1.24/lib -arch arm64 -lruby.3.4-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread " ld: warning: ignoring duplicate libraries: '-lpthread' ld: warning: search path '/opt/homebrew/Cellar/readline/8.2.13/lib' not found ld: warning: search path '/opt/homebrew/Cellar/gdbm/1.24/lib' not found checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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=.:/Users/ben/.rubies/ruby-3.4.1/lib ASAN_OPTIONS=detect_leaks=0 "clang -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/arm64-darwin24 -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/backward -I/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0 -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -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 -pipe -arch arm64 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: typedef int conftest_type; 7: conftest_type conftestval = (int)RB_WARN_CATEGORY_DEPRECATED; /* end */ --------------------