have_macro: checking for CLOCK_MONOTONIC in time.h... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lpthread -lgmp -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: } /* end */ "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: /*top*/ 5: #ifndef CLOCK_MONOTONIC 6: # error 7: |:/ === CLOCK_MONOTONIC undefined === /:| 8: #endif /* end */ -------------------- have_type: checking for clockid_t in time.h... -------------------- yes "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: typedef clockid_t conftest_type; 7: int conftestval[sizeof(conftest_type)?1:-1]; /* end */ -------------------- have_library: checking for clock_gettime() in -lrt... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))clock_gettime; return !p; } /* end */ -------------------- have_library: checking for t_open() in -lnsl... -------------------- no "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lnsl -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘t_open’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))t_open; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*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 ((*)()))t_open; return !p; } /* end */ "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lnsl -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" /tmp/ccnwZchr.o: In function `t': /home/piousbox/projects/microsites/ish_lib_manager/test/dummy/vendor/bundle/ruby/2.3.0/gems/kgio-2.10.0/ext/kgio/conftest.c:14: undefined reference to `t_open' collect2: error: ld returned 1 exit status 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 t_open(); 14: int t(void) { t_open(); return 0; } /* end */ -------------------- have_library: checking for socket() in -lsocket... -------------------- no "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lsocket -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘socket’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))socket; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*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 ((*)()))socket; return !p; } /* end */ "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lsocket -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status 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 socket(); 14: int t(void) { socket(); return 0; } /* end */ -------------------- have_func: checking for poll() in poll.h... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))poll; return !p; } /* end */ -------------------- have_func: checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: #include 6: 7: /*top*/ 8: extern int t(void); 9: int main(int argc, char **argv) 10: { 11: if (argc > 1000000) { 12: printf("%p", &t); 13: } 14: 15: return 0; 16: } 17: int t(void) { void ((*volatile p)()); p = (void ((*)()))getaddrinfo; return !p; } /* end */ -------------------- have_func: checking for getnameinfo() in sys/types.h,sys/socket.h,netdb.h... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: #include 6: 7: /*top*/ 8: extern int t(void); 9: int main(int argc, char **argv) 10: { 11: if (argc > 1000000) { 12: printf("%p", &t); 13: } 14: 15: return 0; 16: } 17: int t(void) { void ((*volatile p)()); p = (void ((*)()))getnameinfo; return !p; } /* end */ -------------------- have_type: checking for struct sockaddr_storage in sys/types.h,sys/socket.h... -------------------- yes "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: 6: /*top*/ 7: typedef struct sockaddr_storage conftest_type; 8: int conftestval[sizeof(conftest_type)?1:-1]; /* end */ -------------------- have_func: checking for accept4() in sys/socket.h... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))accept4; return !p; } /* end */ -------------------- have_header: checking for sys/select.h... -------------------- yes "gcc -E -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_func: checking for writev() in sys/uio.h... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))writev; return !p; } /* end */ -------------------- have_header: checking for ruby/io.h... -------------------- yes "gcc -E -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_struct_member: checking for rb_io_t.fd in ruby.h,ruby/io.h... -------------------- yes "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: 6: /*top*/ 7: int s = (char *)&((rb_io_t*)0)->fd - (char *)0; 8: int main(int argc, char **argv) 9: { 10: return 0; 11: } /* end */ -------------------- have_struct_member: checking for rb_io_t.mode in ruby.h,ruby/io.h... -------------------- yes "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: 6: /*top*/ 7: int s = (char *)&((rb_io_t*)0)->mode - (char *)0; 8: int main(int argc, char **argv) 9: { 10: return 0; 11: } /* end */ -------------------- have_struct_member: checking for rb_io_t.pathv in ruby.h,ruby/io.h... -------------------- yes "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: 6: /*top*/ 7: int s = (char *)&((rb_io_t*)0)->pathv - (char *)0; 8: int main(int argc, char **argv) 9: { 10: return 0; 11: } /* end */ -------------------- have_type: checking for struct RFile in ruby.h,ruby/io.h... -------------------- yes "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: 6: /*top*/ 7: typedef struct RFile conftest_type; 8: int conftestval[sizeof(conftest_type)?1:-1]; /* end */ -------------------- check_sizeof: checking size of struct RFile in ruby.h,ruby/io.h... -------------------- 24 "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" conftest.c:9:5: error: size of array ‘conftest_const’ is negative int conftest_const[(sizeof((*rbcv_ptr_)) < 0) ? 1 : -1]; ^ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: typedef struct RFile rbcv_typedef_; 6: rbcv_typedef_ *rbcv_ptr_; 7: 8: /*top*/ 9: int conftest_const[(sizeof((*rbcv_ptr_)) < 0) ? 1 : -1]; /* end */ "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lpthread -lgmp -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: typedef struct RFile rbcv_typedef_; 6: rbcv_typedef_ *rbcv_ptr_; 7: 8: #include 9: /*top*/ 10: typedef unsigned 11: #ifdef PRI_LL_PREFIX 12: #define PRI_CONFTEST_PREFIX PRI_LL_PREFIX 13: LONG_LONG 14: #else 15: #define PRI_CONFTEST_PREFIX "l" 16: long 17: #endif 18: conftest_type; 19: conftest_type conftest_const = (conftest_type)(sizeof((*rbcv_ptr_))); 20: int main() {printf("%"PRI_CONFTEST_PREFIX"u\n", conftest_const); return 0;} /* end */ ./conftest | -------------------- have_type: checking for struct RObject... -------------------- yes "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: typedef struct RObject conftest_type; 5: int conftestval[sizeof(conftest_type)?1:-1]; /* end */ -------------------- check_sizeof: checking size of struct RObject... -------------------- 40 "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" conftest.c:7:5: error: size of array ‘conftest_const’ is negative int conftest_const[(sizeof((*rbcv_ptr_)) < 0) ? 1 : -1]; ^ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: typedef struct RObject rbcv_typedef_; 4: rbcv_typedef_ *rbcv_ptr_; 5: 6: /*top*/ 7: int conftest_const[(sizeof((*rbcv_ptr_)) < 0) ? 1 : -1]; /* end */ "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lpthread -lgmp -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: typedef struct RObject rbcv_typedef_; 4: rbcv_typedef_ *rbcv_ptr_; 5: 6: #include 7: /*top*/ 8: typedef unsigned 9: #ifdef PRI_LL_PREFIX 10: #define PRI_CONFTEST_PREFIX PRI_LL_PREFIX 11: LONG_LONG 12: #else 13: #define PRI_CONFTEST_PREFIX "l" 14: long 15: #endif 16: conftest_type; 17: conftest_type conftest_const = (conftest_type)(sizeof((*rbcv_ptr_))); 18: int main() {printf("%"PRI_CONFTEST_PREFIX"u\n", conftest_const); return 0;} /* end */ ./conftest | -------------------- check_sizeof: checking size of int... -------------------- 4 "gcc -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -c conftest.c" conftest.c:7:5: error: size of array ‘conftest_const’ is negative int conftest_const[(sizeof((*rbcv_ptr_)) < 0) ? 1 : -1]; ^ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: typedef int rbcv_typedef_; 4: rbcv_typedef_ *rbcv_ptr_; 5: 6: /*top*/ 7: int conftest_const[(sizeof((*rbcv_ptr_)) < 0) ? 1 : -1]; /* end */ "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lpthread -lgmp -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: typedef int rbcv_typedef_; 4: rbcv_typedef_ *rbcv_ptr_; 5: 6: #include 7: /*top*/ 8: typedef unsigned 9: #ifdef PRI_LL_PREFIX 10: #define PRI_CONFTEST_PREFIX PRI_LL_PREFIX 11: LONG_LONG 12: #else 13: #define PRI_CONFTEST_PREFIX "l" 14: long 15: #endif 16: conftest_type; 17: conftest_type conftest_const = (conftest_type)(sizeof((*rbcv_ptr_))); 18: int main() {printf("%"PRI_CONFTEST_PREFIX"u\n", conftest_const); return 0;} /* end */ ./conftest | -------------------- have_func: checking for rb_io_ascii8bit_binmode()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_io_ascii8bit_binmode; return !p; } /* end */ -------------------- have_func: checking for rb_update_max_fd()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_update_max_fd; return !p; } /* end */ -------------------- have_func: checking for rb_fd_fix_cloexec()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_fd_fix_cloexec; return !p; } /* end */ -------------------- have_func: checking for rb_cloexec_open()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_cloexec_open; return !p; } /* end */ -------------------- have_header: checking for ruby/thread.h... -------------------- yes "gcc -E -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_func: checking for rb_thread_call_without_gvl() in ruby/thread.h... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return !p; } /* end */ -------------------- have_func: checking for rb_thread_blocking_region()... -------------------- no "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘rb_thread_blocking_region’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*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 */ "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" /tmp/cc5FRTjm.o: In function `t': /home/piousbox/projects/microsites/ish_lib_manager/test/dummy/vendor/bundle/ruby/2.3.0/gems/kgio-2.10.0/ext/kgio/conftest.c:14: undefined reference to `rb_thread_blocking_region' collect2: error: ld returned 1 exit status 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_io_blocking_region()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘rb_thread_io_blocking_region’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_io_blocking_region; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*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_io_blocking_region; return !p; } /* end */ "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_io_blocking_region(); 14: int t(void) { rb_thread_io_blocking_region(); return 0; } /* end */ -------------------- have_func: checking for rb_str_set_len()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_str_set_len; return !p; } /* end */ -------------------- have_func: checking for rb_hash_clear() in ruby.h... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_clear; return !p; } /* end */ -------------------- have_func: checking for rb_time_interval()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_time_interval; return !p; } /* end */ -------------------- have_func: checking for rb_wait_for_single_fd()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘rb_wait_for_single_fd’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_wait_for_single_fd; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*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_wait_for_single_fd; return !p; } /* end */ "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_wait_for_single_fd(); 14: int t(void) { rb_wait_for_single_fd(); return 0; } /* end */ -------------------- have_func: checking for rb_str_subseq()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_str_subseq; return !p; } /* end */ -------------------- have_func: checking for rb_ary_subseq()... -------------------- yes "gcc -o conftest -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/piousbox/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/piousbox/.rbenv/versions/2.3.1/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L. -L/home/piousbox/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lrt -Wl,-R/home/piousbox/.rbenv/versions/2.3.1/lib -L/home/piousbox/.rbenv/versions/2.3.1/lib -lruby-static -lrt -lpthread -lgmp -ldl -lcrypt -lm -lc" 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_ary_subseq; return !p; } /* end */ --------------------