Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. have_func: checking for rb_enc_raise() in ruby.h... -------------------- yes
  2.  
  3. "xcrun clang -o conftest -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin19 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib -L. -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/usr/local/lib -arch x86_64 -lruby.2.6 "
  4. ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/usr/local/lib'
  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. "xcrun clang -o conftest -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin19 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib -L. -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/usr/local/lib -arch x86_64 -lruby.2.6 "
  16. conftest.c:16:57: error: use of undeclared identifier 'rb_enc_raise'
  17. int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_raise; return !p; }
  18. ^
  19. 1 error generated.
  20. checked program was:
  21. /* begin */
  22. 1: #include "ruby.h"
  23. 2:
  24. 3: #include <ruby.h>
  25. 4:
  26. 5: /*top*/
  27. 6: extern int t(void);
  28. 7: int main(int argc, char **argv)
  29. 8: {
  30. 9: if (argc > 1000000) {
  31. 10: int (* volatile tp)(void)=(int (*)(void))&t;
  32. 11: printf("%d", (*tp)());
  33. 12: }
  34. 13:
  35. 14: return 0;
  36. 15: }
  37. 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_raise; return !p; }
  38. /* end */
  39.  
  40. "xcrun clang -o conftest -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin19 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib -L. -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/usr/local/lib -arch x86_64 -lruby.2.6 "
  41. ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/usr/local/lib'
  42. checked program was:
  43. /* begin */
  44. 1: #include "ruby.h"
  45. 2:
  46. 3: #include <ruby.h>
  47. 4:
  48. 5: /*top*/
  49. 6: extern int t(void);
  50. 7: int main(int argc, char **argv)
  51. 8: {
  52. 9: if (argc > 1000000) {
  53. 10: int (* volatile tp)(void)=(int (*)(void))&t;
  54. 11: printf("%d", (*tp)());
  55. 12: }
  56. 13:
  57. 14: return 0;
  58. 15: }
  59. 16: extern void rb_enc_raise();
  60. 17: int t(void) { rb_enc_raise(); return 0; }
  61. /* end */
  62.  
  63. --------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement