Advertisement
Guest User

Untitled

a guest
Apr 27th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.14 KB | None | 0 0
  1. package configuration for libffi is not found
  2. have_header: checking for ffi.h... -------------------- yes
  3.  
  4. "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"
  5. checked program was:
  6. /* begin */
  7. 1: #include "ruby.h"
  8. 2:
  9. 3: int main(int argc, char **argv)
  10. 4: {
  11. 5: return 0;
  12. 6: }
  13. /* end */
  14.  
  15. "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"
  16. checked program was:
  17. /* begin */
  18. 1: #include "ruby.h"
  19. 2:
  20. 3: #include <ffi.h>
  21. /* end */
  22.  
  23. --------------------
  24.  
  25. have_library: checking for ffi_call() in -lffi... -------------------- yes
  26.  
  27. "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"
  28. checked program was:
  29. /* begin */
  30. 1: #include "ruby.h"
  31. 2:
  32. 3: #include <ffi.h>
  33. 4:
  34. 5: /*top*/
  35. 6: extern int t(void);
  36. 7: int main(int argc, char **argv)
  37. 8: {
  38. 9: if (argc > 1000000) {
  39. 10: printf("%p", &t);
  40. 11: }
  41. 12:
  42. 13: return 0;
  43. 14: }
  44. 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_call; return 0; }
  45. /* end */
  46.  
  47. --------------------
  48.  
  49. have_func: checking for ffi_prep_closure()... -------------------- yes
  50.  
  51. "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"
  52. conftest.c: In function ‘t’:
  53. conftest.c:13:57: error: ‘ffi_prep_closure’ undeclared (first use in this function)
  54. int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_closure; return 0; }
  55. ^
  56. conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
  57. checked program was:
  58. /* begin */
  59. 1: #include "ruby.h"
  60. 2:
  61. 3: /*top*/
  62. 4: extern int t(void);
  63. 5: int main(int argc, char **argv)
  64. 6: {
  65. 7: if (argc > 1000000) {
  66. 8: printf("%p", &t);
  67. 9: }
  68. 10:
  69. 11: return 0;
  70. 12: }
  71. 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_closure; return 0; }
  72. /* end */
  73.  
  74. "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"
  75. checked program was:
  76. /* begin */
  77. 1: #include "ruby.h"
  78. 2:
  79. 3: /*top*/
  80. 4: extern int t(void);
  81. 5: int main(int argc, char **argv)
  82. 6: {
  83. 7: if (argc > 1000000) {
  84. 8: printf("%p", &t);
  85. 9: }
  86. 10:
  87. 11: return 0;
  88. 12: }
  89. 13: int t(void) { ffi_prep_closure(); return 0; }
  90. /* end */
  91.  
  92. --------------------
  93.  
  94. have_func: checking for ffi_raw_call()... -------------------- yes
  95.  
  96. "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"
  97. conftest.c: In function ‘t’:
  98. conftest.c:13:57: error: ‘ffi_raw_call’ undeclared (first use in this function)
  99. int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_raw_call; return 0; }
  100. ^
  101. conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
  102. checked program was:
  103. /* begin */
  104. 1: #include "ruby.h"
  105. 2:
  106. 3: /*top*/
  107. 4: extern int t(void);
  108. 5: int main(int argc, char **argv)
  109. 6: {
  110. 7: if (argc > 1000000) {
  111. 8: printf("%p", &t);
  112. 9: }
  113. 10:
  114. 11: return 0;
  115. 12: }
  116. 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_raw_call; return 0; }
  117. /* end */
  118.  
  119. "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"
  120. checked program was:
  121. /* begin */
  122. 1: #include "ruby.h"
  123. 2:
  124. 3: /*top*/
  125. 4: extern int t(void);
  126. 5: int main(int argc, char **argv)
  127. 6: {
  128. 7: if (argc > 1000000) {
  129. 8: printf("%p", &t);
  130. 9: }
  131. 10:
  132. 11: return 0;
  133. 12: }
  134. 13: int t(void) { ffi_raw_call(); return 0; }
  135. /* end */
  136.  
  137. --------------------
  138.  
  139. have_func: checking for ffi_prep_raw_closure()... -------------------- yes
  140.  
  141. "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"
  142. conftest.c: In function ‘t’:
  143. conftest.c:13:57: error: ‘ffi_prep_raw_closure’ undeclared (first use in this function)
  144. int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_raw_closure; return 0; }
  145. ^
  146. conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
  147. checked program was:
  148. /* begin */
  149. 1: #include "ruby.h"
  150. 2:
  151. 3: /*top*/
  152. 4: extern int t(void);
  153. 5: int main(int argc, char **argv)
  154. 6: {
  155. 7: if (argc > 1000000) {
  156. 8: printf("%p", &t);
  157. 9: }
  158. 10:
  159. 11: return 0;
  160. 12: }
  161. 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_raw_closure; return 0; }
  162. /* end */
  163.  
  164. "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"
  165. checked program was:
  166. /* begin */
  167. 1: #include "ruby.h"
  168. 2:
  169. 3: /*top*/
  170. 4: extern int t(void);
  171. 5: int main(int argc, char **argv)
  172. 6: {
  173. 7: if (argc > 1000000) {
  174. 8: printf("%p", &t);
  175. 9: }
  176. 10:
  177. 11: return 0;
  178. 12: }
  179. 13: int t(void) { ffi_prep_raw_closure(); return 0; }
  180. /* end */
  181.  
  182. --------------------
  183.  
  184. have_func: checking for rb_thread_blocking_region()... -------------------- yes
  185.  
  186. "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"
  187. conftest.c: In function ‘t’:
  188. 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]
  189. int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
  190. ^
  191. checked program was:
  192. /* begin */
  193. 1: #include "ruby.h"
  194. 2:
  195. 3: /*top*/
  196. 4: extern int t(void);
  197. 5: int main(int argc, char **argv)
  198. 6: {
  199. 7: if (argc > 1000000) {
  200. 8: printf("%p", &t);
  201. 9: }
  202. 10:
  203. 11: return 0;
  204. 12: }
  205. 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
  206. /* end */
  207.  
  208. --------------------
  209.  
  210. have_func: checking for rb_thread_call_with_gvl()... -------------------- yes
  211.  
  212. "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"
  213. conftest.c: In function ‘t’:
  214. conftest.c:13:57: error: ‘rb_thread_call_with_gvl’ undeclared (first use in this function)
  215. int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return 0; }
  216. ^
  217. conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
  218. checked program was:
  219. /* begin */
  220. 1: #include "ruby.h"
  221. 2:
  222. 3: /*top*/
  223. 4: extern int t(void);
  224. 5: int main(int argc, char **argv)
  225. 6: {
  226. 7: if (argc > 1000000) {
  227. 8: printf("%p", &t);
  228. 9: }
  229. 10:
  230. 11: return 0;
  231. 12: }
  232. 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return 0; }
  233. /* end */
  234.  
  235. "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"
  236. checked program was:
  237. /* begin */
  238. 1: #include "ruby.h"
  239. 2:
  240. 3: /*top*/
  241. 4: extern int t(void);
  242. 5: int main(int argc, char **argv)
  243. 6: {
  244. 7: if (argc > 1000000) {
  245. 8: printf("%p", &t);
  246. 9: }
  247. 10:
  248. 11: return 0;
  249. 12: }
  250. 13: int t(void) { rb_thread_call_with_gvl(); return 0; }
  251. /* end */
  252.  
  253. --------------------
  254.  
  255. have_func: checking for rb_thread_call_without_gvl()... -------------------- yes
  256.  
  257. "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"
  258. conftest.c: In function ‘t’:
  259. conftest.c:13:57: error: ‘rb_thread_call_without_gvl’ undeclared (first use in this function)
  260. int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return 0; }
  261. ^
  262. conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
  263. checked program was:
  264. /* begin */
  265. 1: #include "ruby.h"
  266. 2:
  267. 3: /*top*/
  268. 4: extern int t(void);
  269. 5: int main(int argc, char **argv)
  270. 6: {
  271. 7: if (argc > 1000000) {
  272. 8: printf("%p", &t);
  273. 9: }
  274. 10:
  275. 11: return 0;
  276. 12: }
  277. 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return 0; }
  278. /* end */
  279.  
  280. "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"
  281. checked program was:
  282. /* begin */
  283. 1: #include "ruby.h"
  284. 2:
  285. 3: /*top*/
  286. 4: extern int t(void);
  287. 5: int main(int argc, char **argv)
  288. 6: {
  289. 7: if (argc > 1000000) {
  290. 8: printf("%p", &t);
  291. 9: }
  292. 10:
  293. 11: return 0;
  294. 12: }
  295. 13: int t(void) { rb_thread_call_without_gvl(); return 0; }
  296. /* end */
  297.  
  298. --------------------
  299.  
  300. have_func: checking for ffi_prep_cif_var()... -------------------- yes
  301.  
  302. "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"
  303. conftest.c: In function ‘t’:
  304. conftest.c:13:57: error: ‘ffi_prep_cif_var’ undeclared (first use in this function)
  305. int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_cif_var; return 0; }
  306. ^
  307. conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
  308. checked program was:
  309. /* begin */
  310. 1: #include "ruby.h"
  311. 2:
  312. 3: /*top*/
  313. 4: extern int t(void);
  314. 5: int main(int argc, char **argv)
  315. 6: {
  316. 7: if (argc > 1000000) {
  317. 8: printf("%p", &t);
  318. 9: }
  319. 10:
  320. 11: return 0;
  321. 12: }
  322. 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_cif_var; return 0; }
  323. /* end */
  324.  
  325. "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"
  326. checked program was:
  327. /* begin */
  328. 1: #include "ruby.h"
  329. 2:
  330. 3: /*top*/
  331. 4: extern int t(void);
  332. 5: int main(int argc, char **argv)
  333. 6: {
  334. 7: if (argc > 1000000) {
  335. 8: printf("%p", &t);
  336. 9: }
  337. 10:
  338. 11: return 0;
  339. 12: }
  340. 13: int t(void) { ffi_prep_cif_var(); return 0; }
  341. /* end */
  342.  
  343. --------------------
  344.  
  345. extconf.h is:
  346. /* begin */
  347. 1: #ifndef EXTCONF_H
  348. 2: #define EXTCONF_H
  349. 3: #define HAVE_FFI_H 1
  350. 4: #define HAVE_FFI_PREP_CLOSURE 1
  351. 5: #define HAVE_FFI_RAW_CALL 1
  352. 6: #define HAVE_FFI_PREP_RAW_CLOSURE 1
  353. 7: #define HAVE_RAW_API 1
  354. 8: #define HAVE_RB_THREAD_BLOCKING_REGION 1
  355. 9: #define HAVE_RB_THREAD_CALL_WITH_GVL 1
  356. 10: #define HAVE_RB_THREAD_CALL_WITHOUT_GVL 1
  357. 11: #define HAVE_FFI_PREP_CIF_VAR 1
  358. 12: #define RUBY_1_9 1
  359. 13: #endif
  360. /* end */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement