Guest User

GCC 6.5.0 libgo irix

a guest
Dec 24th, 2024
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.35 KB | None | 0 0
  1. ./../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:14:29: error: unknown type name 'Kevent'
  2. int32 runtime_kevent(int32, Kevent*, int32, Kevent*, int32, Timespec*);
  3. ^~~~~~
  4. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:14:45: error: unknown type name 'Kevent'
  5. int32 runtime_kevent(int32, Kevent*, int32, Kevent*, int32, Timespec*);
  6. ^~~~~~
  7. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:14:61: error: unknown type name 'Timespec'
  8. int32 runtime_kevent(int32, Kevent*, int32, Kevent*, int32, Timespec*);
  9. ^~~~~~~~
  10. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c: In function 'runtime_netpollopen':
  11. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:33:2: error: unknown type name 'Kevent'
  12. Kevent ev[2];
  13. ^~~~~~
  14. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:39:7: error: request for member 'ident' in something not a structure or union
  15. ev[0].ident = (uint32)fd;
  16. ^
  17. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:40:7: error: request for member 'filter' in something not a structure or union
  18. ev[0].filter = EVFILT_READ;
  19. ^
  20. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:40:17: error: 'EVFILT_READ' undeclared (first use in this function)
  21. ev[0].filter = EVFILT_READ;
  22. ^~~~~~~~~~~
  23. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:40:17: note: each undeclared identifier is reported only once for each function it appears in
  24. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:41:7: error: request for member 'flags' in something not a structure or union
  25. ev[0].flags = EV_ADD|EV_CLEAR;
  26. ^
  27. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:41:16: error: 'EV_ADD' undeclared (first use in this function)
  28. ev[0].flags = EV_ADD|EV_CLEAR;
  29. ^~~~~~
  30. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:41:23: error: 'EV_CLEAR' undeclared (first use in this function)
  31. ev[0].flags = EV_ADD|EV_CLEAR;
  32. ^~~~~~~~
  33. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:42:7: error: request for member 'fflags' in something not a structure or union
  34. ev[0].fflags = 0;
  35. ^
  36. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:43:7: error: request for member 'data' in something not a structure or union
  37. ev[0].data = 0;
  38. ^
  39. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:44:7: error: request for member 'udata' in something not a structure or union
  40. ev[0].udata = (kevent_udata)pd;
  41. ^
  42. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:44:17: error: 'kevent_udata' undeclared (first use in this function)
  43. ev[0].udata = (kevent_udata)pd;
  44. ^~~~~~~~~~~~
  45. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:44:30: error: expected ';' before 'pd'
  46. ev[0].udata = (kevent_udata)pd;
  47. ^~
  48. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:46:7: error: request for member 'filter' in something not a structure or union
  49. ev[1].filter = EVFILT_WRITE;
  50. ^
  51. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:46:17: error: 'EVFILT_WRITE' undeclared (first use in this function)
  52. ev[1].filter = EVFILT_WRITE;
  53. ^~~~~~~~~~~~
  54. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:47:6: warning: implicit declaration of function 'runtime_kevent' [-Wimplicit-function-declaration]
  55. n = runtime_kevent(kq, ev, 2, nil, 0, nil);
  56. ^~~~~~~~~~~~~~
  57. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:31:43: warning: unused parameter 'pd' [-Wunused-parameter]
  58. runtime_netpollopen(uintptr fd, PollDesc *pd)
  59. ^~
  60. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c: In function 'runtime_netpollarm':
  61. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:65:15: error: macro "USED" passed 2 arguments, but takes just 1
  62. USED(pd, mode);
  63. ^
  64. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:65:2: error: 'USED' undeclared (first use in this function)
  65. USED(pd, mode);
  66. ^~~~
  67. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:63:30: warning: unused parameter 'pd' [-Wunused-parameter] runtime_netpollarm(PollDesc* pd, int32 mode)
  68. ^~
  69. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:63:40: warning: unused parameter 'mode' [-Wunused-parameter]
  70. runtime_netpollarm(PollDesc* pd, int32 mode)
  71. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c: In function 'runtime_netpoll':
  72. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:75:2: error: unknown type name 'Kevent'
  73. Kevent events[64], *ev;
  74. ^~~~~~
  75. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:76:2: error: unknown type name 'Timespec'
  76. Timespec ts, *tp;
  77. ^~~~~~~~
  78. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:84:5: error: request for member 'tv_sec' in something not a structure or union
  79. ts.tv_sec = 0;
  80. ^
  81. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:85:5: error: request for member 'tv_nsec' in something not a structure or union
  82. ts.tv_nsec = 0;
  83. ^
  84. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:92:12: error: 'EINTR' undeclared (first use in this function)
  85. if(n != -EINTR && n != lasterr) {
  86. ^~~~~
  87. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:101:8: error: request for member 'filter' in something not a structure or union
  88. if(ev->filter == EVFILT_READ)
  89. ^~
  90. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:101:20: error: 'EVFILT_READ' undeclared (first use in this function)
  91. if(ev->filter == EVFILT_READ)
  92. ^~~~~~~~~~~
  93. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:103:8: error: request for member 'filter' in something not a structure or union
  94. if(ev->filter == EVFILT_WRITE)
  95. ^~
  96. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:103:20: error: 'EVFILT_WRITE' undeclared (first use in this function)
  97. if(ev->filter == EVFILT_WRITE)
  98. ^~~~~~~~~~~~
  99. ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:106:43: error: request for member 'udata' in something not a structure or union
  100. runtime_netpollready(&gp, (PollDesc*)ev->udata, mode);
  101. ^~
  102. gmake[4]: *** [netpoll_kqueue.lo] Error 1
  103. gmake[4]: *** Waiting for unfinished jobs....
  104. ../../../gcc-6.5.0-irix/libgo/runtime/proc.c:155:4: error: #error unknown case for SETCONTEXT_CLOBBERS_TLS
  105. # error unknown case for SETCONTEXT_CLOBBERS_TLS
  106. ^~~~~
  107.  
Advertisement
Add Comment
Please, Sign In to add comment