Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package configuration for libffi is not found
- have_header: checking for ffi.h... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.1 -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 -E -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -o conftest.i"
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: #include <ffi.h>
- /* end */
- --------------------
- have_library: checking for ffi_call() in -lffi... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.1 -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc"
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: #include <ffi.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 ((*)()))ffi_call; return 0; }
- /* end */
- --------------------
- have_func: checking for ffi_prep_closure()... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc"
- conftest.c: In function ‘t’:
- conftest.c:13:57: error: ‘ffi_prep_closure’ undeclared (first use in this function)
- int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_closure; 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 ((*)()))ffi_prep_closure; return 0; }
- /* end */
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -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) { ffi_prep_closure(); return 0; }
- /* end */
- --------------------
- have_func: checking for ffi_raw_call()... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc"
- conftest.c: In function ‘t’:
- conftest.c:13:57: error: ‘ffi_raw_call’ undeclared (first use in this function)
- int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_raw_call; 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 ((*)()))ffi_raw_call; return 0; }
- /* end */
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -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) { ffi_raw_call(); return 0; }
- /* end */
- --------------------
- have_func: checking for ffi_prep_raw_closure()... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc"
- conftest.c: In function ‘t’:
- conftest.c:13:57: error: ‘ffi_prep_raw_closure’ undeclared (first use in this function)
- int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_raw_closure; 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 ((*)()))ffi_prep_raw_closure; return 0; }
- /* end */
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -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) { ffi_prep_raw_closure(); return 0; }
- /* end */
- --------------------
- have_func: checking for rb_thread_blocking_region()... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc"
- conftest.c: In function ‘t’:
- conftest.c:13:1: warning: ‘rb_thread_blocking_region’ is deprecated (declared at /usr/include/ruby-2.1.0/ruby/intern.h:870) [-Wdeprecated-declarations]
- int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
- ^
- 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 rb_thread_call_with_gvl()... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc"
- conftest.c: In function ‘t’:
- conftest.c:13:57: error: ‘rb_thread_call_with_gvl’ undeclared (first use in this function)
- int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; 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_call_with_gvl; return 0; }
- /* end */
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -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) { rb_thread_call_with_gvl(); return 0; }
- /* end */
- --------------------
- have_func: checking for rb_thread_call_without_gvl()... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc"
- conftest.c: In function ‘t’:
- conftest.c:13:57: error: ‘rb_thread_call_without_gvl’ undeclared (first use in this function)
- int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; 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_call_without_gvl; return 0; }
- /* end */
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -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) { rb_thread_call_without_gvl(); return 0; }
- /* end */
- --------------------
- have_func: checking for ffi_prep_cif_var()... -------------------- yes
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc"
- conftest.c: In function ‘t’:
- conftest.c:13:57: error: ‘ffi_prep_cif_var’ undeclared (first use in this function)
- int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_cif_var; 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 ((*)()))ffi_prep_cif_var; return 0; }
- /* end */
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -L/build/ruby2.1-bDDI0O/ruby2.1-2.1.5/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lffi -lruby-2.1 -lffi -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) { ffi_prep_cif_var(); return 0; }
- /* end */
- --------------------
- extconf.h is:
- /* begin */
- 1: #ifndef EXTCONF_H
- 2: #define EXTCONF_H
- 3: #define HAVE_FFI_H 1
- 4: #define HAVE_FFI_PREP_CLOSURE 1
- 5: #define HAVE_FFI_RAW_CALL 1
- 6: #define HAVE_FFI_PREP_RAW_CLOSURE 1
- 7: #define HAVE_RAW_API 1
- 8: #define HAVE_RB_THREAD_BLOCKING_REGION 1
- 9: #define HAVE_RB_THREAD_CALL_WITH_GVL 1
- 10: #define HAVE_RB_THREAD_CALL_WITHOUT_GVL 1
- 11: #define HAVE_FFI_PREP_CIF_VAR 1
- 12: #define RUBY_1_9 1
- 13: #endif
- /* end */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement