have_header: checking for ruby/thread.h... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -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 -E -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g 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/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -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 0; } /* end */ -------------------- have_func: checking for rb_thread_blocking_region()... -------------------- no "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -lgmp -ldl -lcrypt -lm -lc" /tmp/ccyFqDee.o: In function `t': /home/jhawthorn/src/solidus/backend/vendor/bundle/gems/mysql2-0.3.18/ext/mysql2/conftest.c:13: 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: int t(void) { rb_thread_blocking_region(); return 0; } /* end */ -------------------- have_func: checking for rb_wait_for_single_fd()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -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) { rb_wait_for_single_fd(); return 0; } /* end */ -------------------- have_func: checking for rb_hash_dup()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -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_hash_dup; return 0; } /* end */ -------------------- have_func: checking for rb_intern3()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘rb_intern3’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_intern3; return 0; } ^ 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_intern3; return 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -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) { rb_intern3(); return 0; } /* end */ -------------------- have_header: checking for mysql.h... -------------------- yes "gcc -E -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -I/usr/include/mysql -O3 -march=native -g conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for errmsg.h... -------------------- yes "gcc -E -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -I/usr/include/mysql -O3 -march=native -g conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for mysqld_error.h... -------------------- yes "gcc -E -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -I/usr/include/mysql -O3 -march=native -g conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -I/usr/include/mysql -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -ldl -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -Wall -funroll-loops -lpthread -ljemalloc -lgmp -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main() {return 0;} /* end */