This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -lgmp -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main(int argc, char **argv) | |
4: { | |
5: return 0; | |
6: } | |
/* end */ | |
package configuration for openssl is not found | |
have_library: checking for main() in -lssl... -------------------- yes | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lssl -lpthread -lgmp -ldl -lobjc " | |
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 ((*)()))main; return !p; } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -lcrypto... -------------------- yes | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
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 ((*)()))main; return !p; } | |
/* end */ | |
-------------------- | |
have_header: checking for openssl/ssl.h... -------------------- yes | |
"clang -E -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <openssl/ssl.h> | |
/* end */ | |
-------------------- | |
have_header: checking for openssl/err.h... -------------------- yes | |
"clang -E -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <openssl/err.h> | |
/* end */ | |
-------------------- | |
have_var: checking for rb_trap_immediate in ruby.h,rubysig.h... -------------------- no | |
"clang -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -c conftest.c" | |
In file included from conftest.c:4: | |
/usr/local/include/ruby-2.4.0/ruby/backward/rubysig.h:14:2: warning: rubysig.h is obsolete [-W#warnings] | |
#warning rubysig.h is obsolete | |
^ | |
conftest.c:16:55: error: use of undeclared identifier 'rb_trap_immediate' | |
int t(void) { const volatile void *volatile p; p = &(&rb_trap_immediate)[0]; return !p; } | |
^ | |
1 warning and 1 error generated. | |
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)[0]; return !p; } | |
/* end */ | |
-------------------- | |
have_func: checking for rb_thread_blocking_region()... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -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 !p; } | |
^ | |
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 !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
Undefined symbols for architecture x86_64: | |
"_rb_thread_blocking_region", referenced from: | |
_t in conftest-b38ab0.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: extern void rb_thread_blocking_region(); | |
14: int t(void) { rb_thread_blocking_region(); return 0; } | |
/* end */ | |
-------------------- | |
have_header: checking for ruby/thread.h... -------------------- yes | |
"clang -E -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <ruby/thread.h> | |
/* end */ | |
-------------------- | |
have_func: checking for rb_thread_call_without_gvl() in ruby/thread.h... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
ld: couldn't dlopen() /usr/lib/libdtrace.dylib: dlopen(/usr/lib/libdtrace.dylib, 1): Symbol not found: __cg_jpeg_resync_to_restart | |
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO | |
Expected in: /usr/local/lib/libJPEG.dylib | |
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO 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: #include <ruby/thread.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 ((*)()))rb_thread_call_without_gvl; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:15:13: error: conflicting types for 'rb_thread_call_without_gvl' | |
extern void rb_thread_call_without_gvl(); | |
^ | |
/usr/local/include/ruby-2.4.0/ruby/thread.h:28:7: note: previous declaration is here | |
void *rb_thread_call_without_gvl(void *(*func)(void *), void *data1, | |
^ | |
conftest.c:16:42: error: too few arguments to function call, expected 4, have 0 | |
int t(void) { rb_thread_call_without_gvl(); return 0; } | |
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | |
/usr/local/include/ruby-2.4.0/ruby/thread.h:28:1: note: 'rb_thread_call_without_gvl' declared here | |
void *rb_thread_call_without_gvl(void *(*func)(void *), void *data1, | |
^ | |
2 errors generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <ruby/thread.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: extern void rb_thread_call_without_gvl(); | |
16: int t(void) { rb_thread_call_without_gvl(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for inotify_init() in sys/inotify.h... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:3:10: fatal error: 'sys/inotify.h' file not found | |
#include <sys/inotify.h> | |
^ | |
1 error generated. | |
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 !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:3:10: fatal error: 'sys/inotify.h' file not found | |
#include <sys/inotify.h> | |
^ | |
1 error generated. | |
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: extern void inotify_init(); | |
16: int t(void) { inotify_init(); return 0; } | |
/* end */ | |
-------------------- | |
have_macro: checking for __NR_inotify_init in sys/syscall.h... -------------------- no | |
"clang -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -c conftest.c" | |
conftest.c:6:3: error: | |
# error | |
^ | |
conftest.c:7:1: error: expected identifier or '(' | |
|:/ === __NR_inotify_init undefined === /:| | |
^ | |
2 errors generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sys/syscall.h> | |
4: /*top*/ | |
5: #ifndef __NR_inotify_init | |
6: # error | |
7: |:/ === __NR_inotify_init undefined === /:| | |
8: #endif | |
/* end */ | |
-------------------- | |
have_func: checking for writev() in sys/uio.h... -------------------- yes | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
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 !p; } | |
/* end */ | |
-------------------- | |
have_func: checking for rb_thread_fd_select()... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
ld: couldn't dlopen() /usr/lib/libdtrace.dylib: dlopen(/usr/lib/libdtrace.dylib, 1): Symbol not found: __cg_jpeg_resync_to_restart | |
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO | |
Expected in: /usr/local/lib/libJPEG.dylib | |
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO 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) { void ((*volatile p)()); p = (void ((*)()))rb_thread_fd_select; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:13:13: error: conflicting types for 'rb_thread_fd_select' | |
extern void rb_thread_fd_select(); | |
^ | |
/usr/local/include/ruby-2.4.0/ruby/intern.h:459:5: note: previous declaration is here | |
int rb_thread_fd_select(int, rb_fdset_t *, rb_fdset_t *, rb_fdset_t *, struct timeval *); | |
^ | |
conftest.c:14:35: error: too few arguments to function call, expected 5, have 0 | |
int t(void) { rb_thread_fd_select(); return 0; } | |
~~~~~~~~~~~~~~~~~~~ ^ | |
/usr/local/include/ruby-2.4.0/ruby/intern.h:459:1: note: 'rb_thread_fd_select' declared here | |
int rb_thread_fd_select(int, rb_fdset_t *, rb_fdset_t *, rb_fdset_t *, struct timeval *); | |
^ | |
2 errors 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: extern void rb_thread_fd_select(); | |
14: int t(void) { rb_thread_fd_select(); return 0; } | |
/* end */ | |
-------------------- | |
have_type: checking for rb_fdset_t in ruby/intern.h... -------------------- yes | |
"clang -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <ruby/intern.h> | |
4: | |
5: /*top*/ | |
6: typedef rb_fdset_t conftest_type; | |
7: int conftestval[sizeof(conftest_type)?1:-1]; | |
/* end */ | |
-------------------- | |
have_func: checking for pipe2() in unistd.h... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:15:57: error: use of undeclared identifier 'pipe2' | |
int t(void) { void ((*volatile p)()); p = (void ((*)()))pipe2; return !p; } | |
^ | |
1 error generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <unistd.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 ((*)()))pipe2; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
Undefined symbols for architecture x86_64: | |
"_pipe2", referenced from: | |
_t in conftest-7297e2.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: #include <unistd.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: extern void pipe2(); | |
16: int t(void) { pipe2(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for accept4() in sys/socket.h... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:15:57: error: use of undeclared identifier 'accept4' | |
int t(void) { void ((*volatile p)()); p = (void ((*)()))accept4; return !p; } | |
^ | |
1 error generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sys/socket.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 ((*)()))accept4; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
Undefined symbols for architecture x86_64: | |
"_accept4", referenced from: | |
_t in conftest-263bdb.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: #include <sys/socket.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: extern void accept4(); | |
16: int t(void) { accept4(); return 0; } | |
/* end */ | |
-------------------- | |
have_const: checking for SOCK_CLOEXEC in sys/socket.h... -------------------- no | |
"clang -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -c conftest.c" | |
conftest.c:7:34: error: use of undeclared identifier 'SOCK_CLOEXEC' | |
conftest_type conftestval = (int)SOCK_CLOEXEC; | |
^ | |
1 error generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sys/socket.h> | |
4: | |
5: /*top*/ | |
6: typedef int conftest_type; | |
7: conftest_type conftestval = (int)SOCK_CLOEXEC; | |
/* end */ | |
-------------------- | |
have_func: checking for rb_wait_for_single_fd()... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:13:57: error: use of undeclared identifier 'rb_wait_for_single_fd' | |
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_wait_for_single_fd; return !p; } | |
^ | |
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_wait_for_single_fd; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
ld: couldn't dlopen() /usr/lib/libdtrace.dylib: dlopen(/usr/lib/libdtrace.dylib, 1): Symbol not found: __cg_jpeg_resync_to_restart | |
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO | |
Expected in: /usr/local/lib/libJPEG.dylib | |
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO 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: extern void rb_wait_for_single_fd(); | |
14: int t(void) { rb_wait_for_single_fd(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for rb_enable_interrupt()... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:13:57: error: use of undeclared identifier 'rb_enable_interrupt' | |
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enable_interrupt; return !p; } | |
^ | |
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_enable_interrupt; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
Undefined symbols for architecture x86_64: | |
"_rb_enable_interrupt", referenced from: | |
_t in conftest-8f1a5c.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: extern void rb_enable_interrupt(); | |
14: int t(void) { rb_enable_interrupt(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for rb_time_new()... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
ld: couldn't dlopen() /usr/lib/libdtrace.dylib: dlopen(/usr/lib/libdtrace.dylib, 1): Symbol not found: __cg_jpeg_resync_to_restart | |
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO | |
Expected in: /usr/local/lib/libJPEG.dylib | |
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO 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) { void ((*volatile p)()); p = (void ((*)()))rb_time_new; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:13:13: error: conflicting types for 'rb_time_new' | |
extern void rb_time_new(); | |
^ | |
/usr/local/include/ruby-2.4.0/ruby/intern.h:923:7: note: previous declaration is here | |
VALUE rb_time_new(time_t, long); | |
^ | |
conftest.c:14:27: error: too few arguments to function call, expected 2, have 0 | |
int t(void) { rb_time_new(); return 0; } | |
~~~~~~~~~~~ ^ | |
/usr/local/include/ruby-2.4.0/ruby/intern.h:923:1: note: 'rb_time_new' declared here | |
VALUE rb_time_new(time_t, long); | |
^ | |
2 errors 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: extern void rb_time_new(); | |
14: int t(void) { rb_time_new(); return 0; } | |
/* end */ | |
-------------------- | |
have_header: checking for sys/event.h... -------------------- yes | |
"clang -E -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sys/event.h> | |
/* end */ | |
-------------------- | |
have_header: checking for sys/queue.h... -------------------- yes | |
"clang -E -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sys/queue.h> | |
/* end */ | |
-------------------- | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -Wall -lpthread -lgmp -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -Wextra -lpthread -lgmp -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -Wno-deprecated-declarations -lpthread -lgmp -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -Wno-ignored-qualifiers -lpthread -lgmp -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -Wno-unused-result -lpthread -lgmp -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ | |
have_func: checking for clock_gettime()... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:5:27: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char **argv) | |
^ | |
conftest.c:13:57: error: use of undeclared identifier 'clock_gettime' | |
int t(void) { void ((*volatile p)()); p = (void ((*)()))clock_gettime; return !p; } | |
^ | |
1 warning and 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 ((*)()))clock_gettime; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:5:27: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char **argv) | |
^ | |
1 warning generated. | |
Undefined symbols for architecture x86_64: | |
"_clock_gettime", referenced from: | |
_t in conftest-1df2b0.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: extern void clock_gettime(); | |
14: int t(void) { clock_gettime(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for gethrtime()... -------------------- no | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:5:27: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char **argv) | |
^ | |
conftest.c:13:57: error: use of undeclared identifier 'gethrtime' | |
int t(void) { void ((*volatile p)()); p = (void ((*)()))gethrtime; return !p; } | |
^ | |
1 warning and 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 ((*)()))gethrtime; return !p; } | |
/* end */ | |
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lssl -lcrypto -lpthread -lgmp -ldl -lobjc " | |
conftest.c:5:27: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char **argv) | |
^ | |
1 warning generated. | |
Undefined symbols for architecture x86_64: | |
"_gethrtime", referenced from: | |
_t in conftest-905f2c.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: extern void gethrtime(); | |
14: int t(void) { gethrtime(); return 0; } | |
/* end */ | |
-------------------- | |
"g++ -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result -O0 -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lssl -lcrypto -lruby-static -framework CoreFoundation -lstdc++ -lpthread -lgmp -ldl -lobjc " | |
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated | |
conftest.c:5:35: warning: unused variable 'tuple' [-Wunused-variable] | |
int main(){ pair<const int,int> tuple = make_pair(1,2); } | |
^ | |
1 warning generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <utility> | |
4: using namespace std; | |
5: int main(){ pair<const int,int> tuple = make_pair(1,2); } | |
/* end */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment