diff options
| author | Ben Sanders <ben@sanders.life> | 2026-08-02 09:49:25 -0400 |
|---|---|---|
| committer | Ben Sanders <ben@sanders.life> | 2026-08-02 09:49:25 -0400 |
| commit | b41479c91e6685511c1f8ba8586106b322073b62 (patch) | |
| tree | c9f1345999d754ae0a533849966427e792d9e68d /vendor/bundle/ruby/3.4.0/extensions/arm64-darwin-24/3.4.0-static/json-2.21.1/mkmf.log | |
| parent | cfaceeb9a6d1295f5754be211858155cd309acc2 (diff) | |
added statscounter code
Diffstat (limited to 'vendor/bundle/ruby/3.4.0/extensions/arm64-darwin-24/3.4.0-static/json-2.21.1/mkmf.log')
| -rw-r--r-- | vendor/bundle/ruby/3.4.0/extensions/arm64-darwin-24/3.4.0-static/json-2.21.1/mkmf.log | 625 |
1 files changed, 625 insertions, 0 deletions
diff --git a/vendor/bundle/ruby/3.4.0/extensions/arm64-darwin-24/3.4.0-static/json-2.21.1/mkmf.log b/vendor/bundle/ruby/3.4.0/extensions/arm64-darwin-24/3.4.0-static/json-2.21.1/mkmf.log new file mode 100644 index 0000000..ecd4b89 --- /dev/null +++ b/vendor/bundle/ruby/3.4.0/extensions/arm64-darwin-24/3.4.0-static/json-2.21.1/mkmf.log @@ -0,0 +1,625 @@ +have_func: checking for rb_enc_interned_str() in ruby/encoding.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 " +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +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 -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 " +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +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 <ruby/encoding.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_enc_interned_str; return !p; } +/* end */ + +-------------------- + +have_func: checking for rb_str_to_interned_str() 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 " +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +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 <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_str_to_interned_str; return !p; } +/* end */ + +-------------------- + +have_func: checking for rb_hash_new_capa() 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 " +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +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 <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_hash_new_capa; return !p; } +/* end */ + +-------------------- + +have_func: checking for rb_hash_bulk_insert() 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 " +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +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 <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_hash_bulk_insert; return !p; } +/* end */ + +-------------------- + +have_func: checking for ruby_xfree_sized() in ruby.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 " +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +conftest.c:16:57: error: use of undeclared identifier 'ruby_xfree_sized' + 16 | int t(void) { void ((*volatile p)()); p = (void ((*)()))ruby_xfree_sized; return !p; } + | ^~~~~~~~~~~~~~~~ +1 warning and 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 ((*)()))ruby_xfree_sized; 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 " +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +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 +Undefined symbols for architecture arm64: + "_ruby_xfree_sized", referenced from: + _t in conftest-6356ff.o +ld: symbol(s) not found for architecture arm64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) +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 ruby_xfree_sized(); +17: int t(void) { ruby_xfree_sized(); return 0; } +/* 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:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +In file included from conftest.c:3: +In file included from /Library/Developer/CommandLineTools/usr/lib/clang/21/include/x86intrin.h:15: +/Library/Developer/CommandLineTools/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 /Library/Developer/CommandLineTools/usr/lib/clang/21/include/x86intrin.h:15: +In file included from /Library/Developer/CommandLineTools/usr/lib/clang/21/include/immintrin.h:17: +In file included from /Library/Developer/CommandLineTools/usr/lib/clang/21/include/x86gprintrin.h:13: +/Library/Developer/CommandLineTools/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 /Library/Developer/CommandLineTools/usr/lib/clang/21/include/x86intrin.h:15: +In file included from /Library/Developer/CommandLineTools/usr/lib/clang/21/include/immintrin.h:19: +/Library/Developer/CommandLineTools/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" + | ^ +/Library/Developer/CommandLineTools/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){})); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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){})); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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){})); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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)); + | ~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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)); + | ~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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)); + | ~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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)); + | ~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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)); + | ~~~~~~~~~ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64' + 59 | (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0) + | ^~~~~~~~~~~ +/Library/Developer/CommandLineTools/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))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Library/Developer/CommandLineTools/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=] +1 warning and 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=.:/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:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +In file included from conftest.c:3: +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/intrin.h:12:15: fatal error: 'intrin.h' file not found + 12 | #include_next <intrin.h> + | ^~~~~~~~~~ +1 warning and 1 error generated. +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: #include <intrin.h> +/* end */ + +-------------------- + +have_const: checking for RUBY_TYPED_EMBEDDABLE 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" +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +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)RUBY_TYPED_EMBEDDABLE; +/* end */ + +-------------------- + +append_cflags: checking for whether -std=c99 is accepted as CFLAGS... -------------------- 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 -std=c99 -Werror -c conftest.c" +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: error: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Werror,-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 error generated. +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: int main(int argc, char **argv) +4: { +5: return !!argv[argc]; +6: } +/* end */ + +-------------------- + +have_header: checking for arm_neon.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" +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: #include <arm_neon.h> +/* 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 -Werror=implicit-function-declaration -c conftest.c" +In file included from conftest.c:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +1 warning generated. +checked program was: +/* begin */ + 1: #include "ruby.h" + 2: + 3: #include <arm_neon.h> + 4: + 5: int main(int argc, char **argv) { + 6: uint8x16_t test = vdupq_n_u8(32); + 7: + 8: if (argc > 100000) printf("%p", &test); + 9: return 0; +10: } +/* end */ + +have_header: checking for cpuid.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:1: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby.h:38: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/ruby.h:28: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic.h:24: +In file included from /Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29: +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] + 398 | struct RString retval; + | ^ +/Users/ben/.rubies/ruby-3.4.1/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here + 86 | const VALUE klass; + | ^ +In file included from conftest.c:3: +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:14:2: error: this header is for x86 only + 14 | #error this header is for x86 only + | ^ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:312:5: error: invalid output constraint '=a' in asm + 312 | __cpuid(__leaf, __eax, __ebx, __ecx, __edx); + | ^ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:274:11: note: expanded from macro '__cpuid' + 274 | : "=a"(__eax), "=r"(__ebx), "=c"(__ecx), "=d"(__edx) \ + | ^ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:327:5: error: invalid output constraint '=a' in asm + 327 | __cpuid(__leaf, *__eax, *__ebx, *__ecx, *__edx); + | ^ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:274:11: note: expanded from macro '__cpuid' + 274 | : "=a"(__eax), "=r"(__ebx), "=c"(__ecx), "=d"(__edx) \ + | ^ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:341:5: error: invalid output constraint '=a' in asm + 341 | __cpuid_count(__leaf, __subleaf, *__eax, *__ebx, *__ecx, *__edx); + | ^ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:281:11: note: expanded from macro '__cpuid_count' + 281 | : "=a"(__eax), "=r"(__ebx), "=c"(__ecx), "=d"(__edx) \ + | ^ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:349:3: error: invalid output constraint '=a' in asm + 349 | __cpuid_count(__leaf, __subleaf, __cpu_info[0], __cpu_info[1], __cpu_info[2], + | ^ +/Library/Developer/CommandLineTools/usr/lib/clang/21/include/cpuid.h:281:11: note: expanded from macro '__cpuid_count' + 281 | : "=a"(__eax), "=r"(__ebx), "=c"(__ecx), "=d"(__edx) \ + | ^ +1 warning and 5 errors generated. +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: #include <cpuid.h> +/* end */ + +-------------------- + |
