Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- have_func: checking for rb_thread_blocking_region()... -------------------- no
- "gcc -o conftest -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/x86_64-darwin14 -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/ruby/backward -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -I/Users/haven/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.7 -pipe conftest.c -L. -L/Users/name/.rvm/rubies/ruby-2.2.1/lib -L. -L/Users/haven/.sm/pkg/active/lib -fPIC -Bstatic -lz -fstack-protector -arch x86_64 -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc "
- conftest.c:13:57: error: use of undeclared identifier 'rb_thread_blocking_region'
- int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
- ^
- 1 error generated.
- 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/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/x86_64-darwin14 -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/ruby/backward -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -I/Users/haven/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.7 -pipe conftest.c -L. -L/Users/name/.rvm/rubies/ruby-2.2.1/lib -L. -L/Users/haven/.sm/pkg/active/lib -fPIC -Bstatic -lz -fstack-protector -arch x86_64 -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc "
- conftest.c:13:15: warning: implicit declaration of function 'rb_thread_blocking_region' is invalid in C99 [-Wimplicit-function-declaration]
- int t(void) { rb_thread_blocking_region(); return 0; }
- ^
- 1 warning generated.
- ld: warning: directory not found for option '-L/Users/haven/.sm/pkg/active/lib'
- Undefined symbols for architecture x86_64:
- "_rb_thread_blocking_region", referenced from:
- _t in conftest-cabe55.o
- ld: symbol(s) not found for architecture x86_64
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- 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 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement