have_header: checking for unistd.h... -------------------- yes "clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: } /* end */ "clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_func: checking for rb_thread_blocking_region()... -------------------- no "clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'rb_thread_blocking_region' int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return !p; } /* end */ "clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc " Undefined symbols for architecture x86_64: "_rb_thread_blocking_region", referenced from: _t in conftest-703f3d.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void rb_thread_blocking_region(); 14: int t(void) { rb_thread_blocking_region(); return 0; } /* end */ -------------------- have_func: checking for rb_thread_call_without_gvl()... -------------------- yes "clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc " conftest.c:13:57: error: use of undeclared identifier 'rb_thread_call_without_gvl' int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return !p; } ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return !p; } /* end */ "clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void rb_thread_call_without_gvl(); 14: int t(void) { rb_thread_call_without_gvl(); return 0; } /* end */ -------------------- have_header: checking for sys/select.h... -------------------- yes "clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for poll.h... -------------------- yes "clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for sys/epoll.h... -------------------- no "clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" conftest.c:3:10: fatal error: 'sys/epoll.h' file not found #include ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for sys/event.h... -------------------- yes "clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for sys/queue.h... -------------------- yes "clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for port.h... -------------------- no "clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" conftest.c:3:10: fatal error: 'port.h' file not found #include ^ 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for sys/resource.h... -------------------- yes "clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ --------------------