“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -lssl -lcrypto -m64 -lruby -lpthread -lrt -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 -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -lssl -lcrypto -m64 -lruby -lpthread -lrt -ldl -lcrypt -lm -lc” checked program was: /* begin */ 1: include “ruby.h” 2: 3: int main() {return 0;} /* end */
package configuration for openssl cflags: ldflags: libs: -lssl -lcrypto
have_var: checking for rb_trap_immediate in ruby.h,rubysig.h… ——————– no
“gcc -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC -m64 -c conftest.c” In file included from conftest.c:4: /usr/include/ruby/ruby-2.1.0/ruby/backward/rubysig.h:14:2: warning: warning rubysig.h is obsolete conftest.c: In function 't': conftest.c:16: error: 'rb_trap_immediate' undeclared (first use in this function) conftest.c:16: error: (Each undeclared identifier is reported only once conftest.c:16: error: for each function it appears in.) checked program was: /* begin */
1: #include "ruby.h"
2:
3: #include <ruby.h>
4: #include <rubysig.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) { 11: printf(“%p”, &t); 12: } 13: 14: return 0; 15: } 16: int t(void) { const volatile void *volatile p; p = &(&rb_trap_immediate); return 0; } /* end */
have_func: checking for rb_thread_blocking_region()… ——————– yes
“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:13: warning: 'rb_thread_blocking_region' is deprecated (declared at /usr/include/ruby/ruby-2.1.0/ruby/intern.h:870) 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 */
have_func: checking for inotify_init() in sys/inotify.h… ——————– yes
“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc” checked program was: /* begin */
1: #include "ruby.h"
2:
3: #include <sys/inotify.h>
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 ((*)()))inotify_init; return 0; } /* end */
have_func: checking for writev() in sys/uio.h… ——————– yes
“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc” checked program was: /* begin */
1: #include "ruby.h"
2:
3: #include <sys/uio.h>
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 0; } /* end */
have_func: checking for rb_wait_for_single_fd()… ——————– yes
“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:13: error: 'rb_wait_for_single_fd' undeclared (first use in this function) conftest.c:13: error: (Each undeclared identifier is reported only once conftest.c:13: error: 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/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:13: warning: implicit declaration of function 'rb_wait_for_single_fd' 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_enable_interrupt()… ——————– no
“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:13: error: 'rb_enable_interrupt' undeclared (first use in this function) conftest.c:13: error: (Each undeclared identifier is reported only once conftest.c:13: error: 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_enable_interrupt; return 0; } /* end */
“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:13: warning: implicit declaration of function 'rb_enable_interrupt' /tmp/cc93WK4n.o: In function `t': /builddir/build/BUILD/ruby21-rubygem-eventmachine-1.0.3/usr/lib64/ruby/gems/2.1.0/gems/eventmachine-1.0.3/ext/conftest.c:13: undefined reference to `rb_enable_interrupt' collect2: 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_enable_interrupt(); return 0; } /* end */
have_func: checking for rb_time_new()… ——————– yes
“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -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_new; return 0; } /* end */
have_header: checking for sys/event.h… ——————– no
“gcc -E -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -o conftest.i” conftest.c:3:23: error: sys/event.h: No such file or directory checked program was: /* begin */ 1: include “ruby.h” 2: 3: include <sys/event.h> /* end */
have_func: checking for epoll_create() in sys/epoll.h… ——————– yes
“gcc -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc” checked program was: /* begin */
1: #include "ruby.h"
2:
3: #include <sys/epoll.h>
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 ((*)()))epoll_create; return 0; } /* end */
“g++ -o conftest -I/usr/include/ruby/ruby-2.1.0/x86_64-linux-gnu -I/usr/include/ruby/ruby-2.1.0/ruby/backward -I/usr/include/ruby/ruby-2.1.0 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -Wall -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lssl -lcrypto -lruby -lstdc++ -lpthread -lrt -ldl -lcrypt -lm -lc” checked program was: /* begin */ 1: include “ruby.h” 2: 3: include <utility> 4: using namespace std; 5: int main(){ pair<int,int> tuple = make_pair(1,2); } /* end */