trenni 3.11.0 → 3.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/ext/tmp/x86_64-linux/lib/trenni/trenni.so +0 -0
  3. data/ext/tmp/{x86_64-darwin16 → x86_64-linux}/trenni/2.4.0/Makefile +24 -25
  4. data/ext/tmp/x86_64-linux/trenni/2.4.0/escape.o +0 -0
  5. data/ext/tmp/x86_64-linux/trenni/2.4.0/markup.o +0 -0
  6. data/ext/tmp/x86_64-linux/trenni/2.4.0/mkmf.log +108 -0
  7. data/ext/tmp/x86_64-linux/trenni/2.4.0/tag.o +0 -0
  8. data/ext/tmp/x86_64-linux/trenni/2.4.0/template.o +0 -0
  9. data/ext/tmp/x86_64-linux/trenni/2.4.0/trenni.o +0 -0
  10. data/ext/tmp/x86_64-linux/trenni/2.4.0/trenni.so +0 -0
  11. data/ext/tmp/{x86_64-darwin18/trenni/2.6.2 → x86_64-linux/trenni/2.7.0}/Makefile +32 -32
  12. data/ext/tmp/x86_64-linux/trenni/2.7.0/escape.o +0 -0
  13. data/ext/tmp/x86_64-linux/trenni/2.7.0/markup.o +0 -0
  14. data/ext/tmp/x86_64-linux/trenni/2.7.0/mkmf.log +113 -0
  15. data/ext/tmp/x86_64-linux/trenni/2.7.0/query.o +0 -0
  16. data/ext/tmp/x86_64-linux/trenni/2.7.0/tag.o +0 -0
  17. data/ext/tmp/x86_64-linux/trenni/2.7.0/template.o +0 -0
  18. data/ext/tmp/x86_64-linux/trenni/2.7.0/trenni.o +0 -0
  19. data/ext/tmp/x86_64-linux/trenni/2.7.0/trenni.so +0 -0
  20. data/ext/tmp/{x86_64-darwin19 → x86_64-linux}/trenni/2.7.1/Makefile +27 -28
  21. data/ext/tmp/x86_64-linux/trenni/2.7.1/escape.o +0 -0
  22. data/ext/tmp/x86_64-linux/trenni/2.7.1/markup.o +0 -0
  23. data/ext/tmp/x86_64-linux/trenni/2.7.1/mkmf.log +113 -0
  24. data/ext/tmp/x86_64-linux/trenni/2.7.1/query.o +0 -0
  25. data/ext/tmp/x86_64-linux/trenni/2.7.1/tag.o +0 -0
  26. data/ext/tmp/x86_64-linux/trenni/2.7.1/template.o +0 -0
  27. data/ext/tmp/x86_64-linux/trenni/2.7.1/trenni.o +0 -0
  28. data/ext/tmp/x86_64-linux/trenni/2.7.1/trenni.so +0 -0
  29. data/lib/trenni/builder.rb +46 -10
  30. data/lib/trenni/fallback/markup.rl.dot +278 -0
  31. data/lib/trenni/fallback/markup.rl.pdf +0 -0
  32. data/lib/trenni/fallback/query.rl.dot +54 -0
  33. data/lib/trenni/fallback/query.rl.pdf +0 -0
  34. data/lib/trenni/fallback/template.rl.dot +270 -0
  35. data/lib/trenni/fallback/template.rl.pdf +0 -0
  36. data/lib/trenni/template.rb +9 -18
  37. data/lib/trenni/trenni.so +0 -0
  38. data/lib/trenni/version.rb +1 -1
  39. data/spec/trenni/builder_spec.rb +1 -1
  40. data/spec/trenni/template_spec/builder.trenni +2 -2
  41. metadata +41 -51
  42. data/ext/.DS_Store +0 -0
  43. data/ext/tmp/.DS_Store +0 -0
  44. data/ext/tmp/x86_64-darwin16/lib/trenni/trenni.bundle +0 -0
  45. data/ext/tmp/x86_64-darwin16/trenni/2.4.0/escape.o +0 -0
  46. data/ext/tmp/x86_64-darwin16/trenni/2.4.0/markup.o +0 -0
  47. data/ext/tmp/x86_64-darwin16/trenni/2.4.0/mkmf.log +0 -105
  48. data/ext/tmp/x86_64-darwin16/trenni/2.4.0/tag.o +0 -0
  49. data/ext/tmp/x86_64-darwin16/trenni/2.4.0/template.o +0 -0
  50. data/ext/tmp/x86_64-darwin16/trenni/2.4.0/trenni.bundle +0 -0
  51. data/ext/tmp/x86_64-darwin16/trenni/2.4.0/trenni.o +0 -0
  52. data/ext/tmp/x86_64-darwin18/lib/trenni/trenni.bundle +0 -0
  53. data/ext/tmp/x86_64-darwin18/trenni/2.6.1/Makefile +0 -266
  54. data/ext/tmp/x86_64-darwin18/trenni/2.6.1/escape.o +0 -0
  55. data/ext/tmp/x86_64-darwin18/trenni/2.6.1/markup.o +0 -0
  56. data/ext/tmp/x86_64-darwin18/trenni/2.6.1/mkmf.log +0 -109
  57. data/ext/tmp/x86_64-darwin18/trenni/2.6.1/tag.o +0 -0
  58. data/ext/tmp/x86_64-darwin18/trenni/2.6.1/template.o +0 -0
  59. data/ext/tmp/x86_64-darwin18/trenni/2.6.1/trenni.bundle +0 -0
  60. data/ext/tmp/x86_64-darwin18/trenni/2.6.1/trenni.o +0 -0
  61. data/ext/tmp/x86_64-darwin18/trenni/2.6.2/escape.o +0 -0
  62. data/ext/tmp/x86_64-darwin18/trenni/2.6.2/markup.o +0 -0
  63. data/ext/tmp/x86_64-darwin18/trenni/2.6.2/mkmf.log +0 -109
  64. data/ext/tmp/x86_64-darwin18/trenni/2.6.2/tag.o +0 -0
  65. data/ext/tmp/x86_64-darwin18/trenni/2.6.2/template.o +0 -0
  66. data/ext/tmp/x86_64-darwin18/trenni/2.6.2/trenni.bundle +0 -0
  67. data/ext/tmp/x86_64-darwin18/trenni/2.6.2/trenni.o +0 -0
  68. data/ext/tmp/x86_64-darwin19/lib/trenni/trenni.bundle +0 -0
  69. data/ext/tmp/x86_64-darwin19/trenni/2.7.1/escape.o +0 -0
  70. data/ext/tmp/x86_64-darwin19/trenni/2.7.1/markup.o +0 -0
  71. data/ext/tmp/x86_64-darwin19/trenni/2.7.1/mkmf.log +0 -109
  72. data/ext/tmp/x86_64-darwin19/trenni/2.7.1/query.o +0 -0
  73. data/ext/tmp/x86_64-darwin19/trenni/2.7.1/tag.o +0 -0
  74. data/ext/tmp/x86_64-darwin19/trenni/2.7.1/template.o +0 -0
  75. data/ext/tmp/x86_64-darwin19/trenni/2.7.1/trenni.bundle +0 -0
  76. data/ext/tmp/x86_64-darwin19/trenni/2.7.1/trenni.o +0 -0
  77. data/ext/trenni/.DS_Store +0 -0
  78. data/lib/.DS_Store +0 -0
  79. data/lib/trenni/.DS_Store +0 -0
  80. data/parsers/.DS_Store +0 -0
  81. data/spec/.DS_Store +0 -0
  82. data/spec/trenni/template_spec/.DS_Store +0 -0
@@ -1,109 +0,0 @@
1
- have_func: checking for rb_sym2str()... -------------------- yes
2
-
3
- " gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.2/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
4
- checked program was:
5
- /* begin */
6
- 1: #include "ruby.h"
7
- 2:
8
- 3: int main(int argc, char **argv)
9
- 4: {
10
- 5: return 0;
11
- 6: }
12
- /* end */
13
-
14
- " gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.2/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
15
- checked program was:
16
- /* begin */
17
- 1: #include "ruby.h"
18
- 2:
19
- 3: /*top*/
20
- 4: extern int t(void);
21
- 5: int main(int argc, char **argv)
22
- 6: {
23
- 7: if (argc > 1000000) {
24
- 8: int (* volatile tp)(void)=(int (*)(void))&t;
25
- 9: printf("%d", (*tp)());
26
- 10: }
27
- 11:
28
- 12: return 0;
29
- 13: }
30
- 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_sym2str; return !p; }
31
- /* end */
32
-
33
- --------------------
34
-
35
- have_func: checking for rb_str_cat_cstr()... -------------------- yes
36
-
37
- " gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.2/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
38
- checked program was:
39
- /* begin */
40
- 1: #include "ruby.h"
41
- 2:
42
- 3: /*top*/
43
- 4: extern int t(void);
44
- 5: int main(int argc, char **argv)
45
- 6: {
46
- 7: if (argc > 1000000) {
47
- 8: int (* volatile tp)(void)=(int (*)(void))&t;
48
- 9: printf("%d", (*tp)());
49
- 10: }
50
- 11:
51
- 12: return 0;
52
- 13: }
53
- 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_cat_cstr; return !p; }
54
- /* end */
55
-
56
- --------------------
57
-
58
- have_func: checking for rb_str_reserve()... -------------------- no
59
-
60
- " gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.2/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
61
- conftest.c:14:57: error: use of undeclared identifier 'rb_str_reserve'
62
- int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_reserve; return !p; }
63
- ^
64
- 1 error generated.
65
- checked program was:
66
- /* begin */
67
- 1: #include "ruby.h"
68
- 2:
69
- 3: /*top*/
70
- 4: extern int t(void);
71
- 5: int main(int argc, char **argv)
72
- 6: {
73
- 7: if (argc > 1000000) {
74
- 8: int (* volatile tp)(void)=(int (*)(void))&t;
75
- 9: printf("%d", (*tp)());
76
- 10: }
77
- 11:
78
- 12: return 0;
79
- 13: }
80
- 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_reserve; return !p; }
81
- /* end */
82
-
83
- " gcc -o conftest -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/x86_64-darwin18 -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0/ruby/backward -I/Users/samuel/.rvm/rubies/ruby-2.6.2/include/ruby-2.6.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rvm/rubies/ruby-2.6.2/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.6 "
84
- Undefined symbols for architecture x86_64:
85
- "_rb_str_reserve", referenced from:
86
- _t in conftest-3d978f.o
87
- ld: symbol(s) not found for architecture x86_64
88
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
89
- checked program was:
90
- /* begin */
91
- 1: #include "ruby.h"
92
- 2:
93
- 3: /*top*/
94
- 4: extern int t(void);
95
- 5: int main(int argc, char **argv)
96
- 6: {
97
- 7: if (argc > 1000000) {
98
- 8: int (* volatile tp)(void)=(int (*)(void))&t;
99
- 9: printf("%d", (*tp)());
100
- 10: }
101
- 11:
102
- 12: return 0;
103
- 13: }
104
- 14: extern void rb_str_reserve();
105
- 15: int t(void) { rb_str_reserve(); return 0; }
106
- /* end */
107
-
108
- --------------------
109
-
@@ -1,109 +0,0 @@
1
- have_func: checking for rb_sym2str()... -------------------- yes
2
-
3
- "clang -o conftest -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/x86_64-darwin19 -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/ruby/backward -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rubies/ruby-2.7.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.7-static -framework Security -framework Foundation -lpthread -lgmp -ldl -lobjc "
4
- checked program was:
5
- /* begin */
6
- 1: #include "ruby.h"
7
- 2:
8
- 3: int main(int argc, char **argv)
9
- 4: {
10
- 5: return !!argv[argc];
11
- 6: }
12
- /* end */
13
-
14
- "clang -o conftest -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/x86_64-darwin19 -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/ruby/backward -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rubies/ruby-2.7.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.7-static -framework Security -framework Foundation -lpthread -lgmp -ldl -lobjc "
15
- checked program was:
16
- /* begin */
17
- 1: #include "ruby.h"
18
- 2:
19
- 3: /*top*/
20
- 4: extern int t(void);
21
- 5: int main(int argc, char **argv)
22
- 6: {
23
- 7: if (argc > 1000000) {
24
- 8: int (* volatile tp)(void)=(int (*)(void))&t;
25
- 9: printf("%d", (*tp)());
26
- 10: }
27
- 11:
28
- 12: return !!argv[argc];
29
- 13: }
30
- 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_sym2str; return !p; }
31
- /* end */
32
-
33
- --------------------
34
-
35
- have_func: checking for rb_str_cat_cstr()... -------------------- yes
36
-
37
- "clang -o conftest -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/x86_64-darwin19 -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/ruby/backward -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rubies/ruby-2.7.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.7-static -framework Security -framework Foundation -lpthread -lgmp -ldl -lobjc "
38
- checked program was:
39
- /* begin */
40
- 1: #include "ruby.h"
41
- 2:
42
- 3: /*top*/
43
- 4: extern int t(void);
44
- 5: int main(int argc, char **argv)
45
- 6: {
46
- 7: if (argc > 1000000) {
47
- 8: int (* volatile tp)(void)=(int (*)(void))&t;
48
- 9: printf("%d", (*tp)());
49
- 10: }
50
- 11:
51
- 12: return !!argv[argc];
52
- 13: }
53
- 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_cat_cstr; return !p; }
54
- /* end */
55
-
56
- --------------------
57
-
58
- have_func: checking for rb_str_reserve()... -------------------- no
59
-
60
- "clang -o conftest -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/x86_64-darwin19 -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/ruby/backward -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rubies/ruby-2.7.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.7-static -framework Security -framework Foundation -lpthread -lgmp -ldl -lobjc "
61
- conftest.c:14:57: error: use of undeclared identifier 'rb_str_reserve'
62
- int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_reserve; return !p; }
63
- ^
64
- 1 error generated.
65
- checked program was:
66
- /* begin */
67
- 1: #include "ruby.h"
68
- 2:
69
- 3: /*top*/
70
- 4: extern int t(void);
71
- 5: int main(int argc, char **argv)
72
- 6: {
73
- 7: if (argc > 1000000) {
74
- 8: int (* volatile tp)(void)=(int (*)(void))&t;
75
- 9: printf("%d", (*tp)());
76
- 10: }
77
- 11:
78
- 12: return !!argv[argc];
79
- 13: }
80
- 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_reserve; return !p; }
81
- /* end */
82
-
83
- "clang -o conftest -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/x86_64-darwin19 -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0/ruby/backward -I/Users/samuel/.rubies/ruby-2.7.1/include/ruby-2.7.0 -I../../../../trenni -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -pipe -O3 -std=c99 conftest.c -L. -L/Users/samuel/.rubies/ruby-2.7.1/lib -L/opt/local/lib -L. -fstack-protector-strong -L/usr/local/lib -L/opt/local/lib -lruby.2.7-static -framework Security -framework Foundation -lpthread -lgmp -ldl -lobjc "
84
- Undefined symbols for architecture x86_64:
85
- "_rb_str_reserve", referenced from:
86
- _t in conftest-b80e49.o
87
- ld: symbol(s) not found for architecture x86_64
88
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
89
- checked program was:
90
- /* begin */
91
- 1: #include "ruby.h"
92
- 2:
93
- 3: /*top*/
94
- 4: extern int t(void);
95
- 5: int main(int argc, char **argv)
96
- 6: {
97
- 7: if (argc > 1000000) {
98
- 8: int (* volatile tp)(void)=(int (*)(void))&t;
99
- 9: printf("%d", (*tp)());
100
- 10: }
101
- 11:
102
- 12: return !!argv[argc];
103
- 13: }
104
- 14: extern void rb_str_reserve();
105
- 15: int t(void) { rb_str_reserve(); return 0; }
106
- /* end */
107
-
108
- --------------------
109
-
Binary file
Binary file
Binary file
Binary file
Binary file