Advertisement
Guest User

lc0 build.sh log - opencl failure

a guest
Dec 6th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.45 KB | None | 0 0
  1. The Meson build system
  2. Version: 0.45.1
  3. Source dir: /home/richard/repo/lc0
  4. Build dir: /home/richard/repo/lc0/build/release
  5. Build type: native build
  6. Project name: lc0
  7. Native C++ compiler: clang++-6.0 (clang 6.0.0-1ubuntu2 "clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)")
  8. Build machine cpu family: x86_64
  9. Build machine cpu: x86_64
  10. Library libprotobuf found: YES
  11. Program protoc found: YES (/usr/bin/protoc)
  12. Library pthread found: YES
  13. Library dl found: YES
  14. Library libtensorflow_cc found: NO
  15. Found pkg-config: /usr/bin/pkg-config (0.29.1)
  16. Dependency Accelerate found: NO
  17. Library mkl_rt found: NO
  18. Library openblas.dll found: NO
  19. Library openblas found: YES
  20. Has header "openblas_config.h": YES
  21. Program ispc found: NO
  22. Library OpenCL found: YES
  23. Dependency OpenCL found: NO
  24. Library cublas found: YES
  25. Library cudnn found: YES
  26. Library cudart found: YES
  27. Program /usr/local/cuda/bin/nvcc found: YES (/usr/local/cuda/bin/nvcc)
  28. Native dependency zlib found: YES 1.2.11
  29. Dependency GTest found: YES (building self)
  30. Build targets in project: 8
  31. Found ninja-1.8.2 at /usr/bin/ninja
  32. ~/repo/lc0/build/release ~/repo/lc0
  33. [1/112] Generating ''.
  34. [2/112] Generating ''.
  35. [3/112] Compiling C++ object 'lc0@exe/src_version.cc.o'.
  36. [4/112] Compiling C++ object 'lc0@exe/src_chess_position.cc.o'.
  37. [5/112] Compiling C++ object 'lc0@exe/src_neural_encoder.cc.o'.
  38. [6/112] Compiling C++ object 'lc0@exe/src_chess_bitboard.cc.o'.
  39. [7/112] Compiling C++ object 'lc0@exe/src_main.cc.o'.
  40. [8/112] Compiling C++ object 'lc0@exe/src_chess_board.cc.o'.
  41. [9/112] Compiling C++ object 'lc0@exe/src_neural_cache.cc.o'.
  42. [10/112] Compiling C++ object 'lc0@exe/src_mcts_node.cc.o'.
  43. [11/112] Compiling C++ object 'lc0@exe/src_mcts_params.cc.o'.
  44. [12/112] Compiling C++ object 'lc0@exe/src_neural_network_st_batch.cc.o'.
  45. [13/112] Compiling C++ object 'lc0@exe/src_chess_uciloop.cc.o'.
  46. [14/112] Compiling C++ object 'lc0@exe/meson-generated_proto_net.pb.cc.o'.
  47. In file included from lc0@exe/proto/net.pb.cc:5:
  48. lc0@exe/proto/net.pb.h:143:30: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  49. ::google::protobuf::uint32 major() const;
  50. ^
  51. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  52. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  53. ^
  54. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  55. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  56. ^
  57. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  58. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  59. ^
  60. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  61. __glibc_macro_warning1 (GCC warning message)
  62. ^
  63. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  64. # define __glibc_macro_warning1(message) _Pragma (#message)
  65. ^
  66. <scratch space>:4:6: note: expanded from here
  67. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  68. ^
  69. In file included from lc0@exe/proto/net.pb.cc:5:
  70. lc0@exe/proto/net.pb.h:150:30: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  71. ::google::protobuf::uint32 minor() const;
  72. ^
  73. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  74. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  75. ^
  76. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  77. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  78. ^
  79. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  80. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  81. ^
  82. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  83. __glibc_macro_warning1 (GCC warning message)
  84. ^
  85. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  86. # define __glibc_macro_warning1(message) _Pragma (#message)
  87. ^
  88. <scratch space>:9:6: note: expanded from here
  89. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  90. ^
  91. In file included from lc0@exe/proto/net.pb.cc:5:
  92. lc0@exe/proto/net.pb.h:1193:50: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  93. inline ::google::protobuf::uint32 EngineVersion::major() const {
  94. ^
  95. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  96. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  97. ^
  98. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  99. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  100. ^
  101. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  102. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  103. ^
  104. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  105. __glibc_macro_warning1 (GCC warning message)
  106. ^
  107. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  108. # define __glibc_macro_warning1(message) _Pragma (#message)
  109. ^
  110. <scratch space>:14:6: note: expanded from here
  111. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  112. ^
  113. In file included from lc0@exe/proto/net.pb.cc:5:
  114. lc0@exe/proto/net.pb.h:1217:50: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  115. inline ::google::protobuf::uint32 EngineVersion::minor() const {
  116. ^
  117. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  118. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  119. ^
  120. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  121. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  122. ^
  123. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  124. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  125. ^
  126. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  127. __glibc_macro_warning1 (GCC warning message)
  128. ^
  129. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  130. # define __glibc_macro_warning1(message) _Pragma (#message)
  131. ^
  132. <scratch space>:3:6: note: expanded from here
  133. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  134. ^
  135. lc0@exe/proto/net.pb.cc:508:72: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  136. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->major(), output);
  137. ^
  138. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  139. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  140. ^
  141. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  142. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  143. ^
  144. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  145. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  146. ^
  147. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  148. __glibc_macro_warning1 (GCC warning message)
  149. ^
  150. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  151. # define __glibc_macro_warning1(message) _Pragma (#message)
  152. ^
  153. <scratch space>:138:6: note: expanded from here
  154. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  155. ^
  156. lc0@exe/proto/net.pb.cc:513:72: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  157. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->minor(), output);
  158. ^
  159. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  160. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  161. ^
  162. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  163. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  164. ^
  165. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  166. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  167. ^
  168. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  169. __glibc_macro_warning1 (GCC warning message)
  170. ^
  171. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  172. # define __glibc_macro_warning1(message) _Pragma (#message)
  173. ^
  174. <scratch space>:3:6: note: expanded from here
  175. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  176. ^
  177. lc0@exe/proto/net.pb.cc:533:88: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  178. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->major(), target);
  179. ^
  180. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  181. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  182. ^
  183. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  184. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  185. ^
  186. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  187. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  188. ^
  189. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  190. __glibc_macro_warning1 (GCC warning message)
  191. ^
  192. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  193. # define __glibc_macro_warning1(message) _Pragma (#message)
  194. ^
  195. <scratch space>:8:6: note: expanded from here
  196. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  197. ^
  198. lc0@exe/proto/net.pb.cc:538:88: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  199. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->minor(), target);
  200. ^
  201. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  202. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  203. ^
  204. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  205. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  206. ^
  207. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  208. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  209. ^
  210. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  211. __glibc_macro_warning1 (GCC warning message)
  212. ^
  213. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  214. # define __glibc_macro_warning1(message) _Pragma (#message)
  215. ^
  216. <scratch space>:13:6: note: expanded from here
  217. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  218. ^
  219. lc0@exe/proto/net.pb.cc:529:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  220. bool deterministic, ::google::protobuf::uint8* target) const {
  221. ^
  222. lc0@exe/proto/net.pb.cc:563:17: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  223. this->major());
  224. ^
  225. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  226. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  227. ^
  228. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  229. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  230. ^
  231. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  232. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  233. ^
  234. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  235. __glibc_macro_warning1 (GCC warning message)
  236. ^
  237. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  238. # define __glibc_macro_warning1(message) _Pragma (#message)
  239. ^
  240. <scratch space>:2:6: note: expanded from here
  241. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  242. ^
  243. lc0@exe/proto/net.pb.cc:570:17: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  244. this->minor());
  245. ^
  246. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  247. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  248. ^
  249. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  250. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  251. ^
  252. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  253. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  254. ^
  255. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  256. __glibc_macro_warning1 (GCC warning message)
  257. ^
  258. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  259. # define __glibc_macro_warning1(message) _Pragma (#message)
  260. ^
  261. <scratch space>:7:6: note: expanded from here
  262. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  263. ^
  264. lc0@exe/proto/net.pb.cc:616:22: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  265. set_major(from.major());
  266. ^
  267. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  268. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  269. ^
  270. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  271. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  272. ^
  273. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  274. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  275. ^
  276. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  277. __glibc_macro_warning1 (GCC warning message)
  278. ^
  279. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  280. # define __glibc_macro_warning1(message) _Pragma (#message)
  281. ^
  282. <scratch space>:16:6: note: expanded from here
  283. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  284. ^
  285. lc0@exe/proto/net.pb.cc:619:22: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  286. set_minor(from.minor());
  287. ^
  288. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  289. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  290. ^
  291. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  292. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  293. ^
  294. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  295. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  296. ^
  297. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  298. __glibc_macro_warning1 (GCC warning message)
  299. ^
  300. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  301. # define __glibc_macro_warning1(message) _Pragma (#message)
  302. ^
  303. <scratch space>:21:6: note: expanded from here
  304. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  305. ^
  306. lc0@exe/proto/net.pb.cc:952:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  307. bool deterministic, ::google::protobuf::uint8* target) const {
  308. ^
  309. lc0@exe/proto/net.pb.cc:1311:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  310. bool deterministic, ::google::protobuf::uint8* target) const {
  311. ^
  312. lc0@exe/proto/net.pb.cc:1643:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  313. bool deterministic, ::google::protobuf::uint8* target) const {
  314. ^
  315. lc0@exe/proto/net.pb.cc:2148:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  316. bool deterministic, ::google::protobuf::uint8* target) const {
  317. ^
  318. lc0@exe/proto/net.pb.cc:3513:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  319. bool deterministic, ::google::protobuf::uint8* target) const {
  320. ^
  321. lc0@exe/proto/net.pb.cc:4044:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  322. bool deterministic, ::google::protobuf::uint8* target) const {
  323. ^
  324. lc0@exe/proto/net.pb.cc:4456:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  325. bool deterministic, ::google::protobuf::uint8* target) const {
  326. ^
  327. 20 warnings generated.
  328. [15/112] Compiling C++ object 'lc0@exe/src_neural_writer.cc.o'.
  329. [16/112] Compiling C++ object 'lc0@exe/src_neural_network_random.cc.o'.
  330. [17/112] Compiling C++ object 'lc0@exe/src_benchmark_benchmark.cc.o'.
  331. [18/112] Compiling C++ object 'lc0@exe/src_neural_factory.cc.o'.
  332. [19/112] Compiling C++ object 'lc0@exe/src_engine.cc.o'.
  333. [20/112] Compiling C++ object 'lc0@exe/src_neural_loader.cc.o'.
  334. In file included from ../../src/neural/loader.cc:40:
  335. lc0@exe/proto/net.pb.h:143:30: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  336. ::google::protobuf::uint32 major() const;
  337. ^
  338. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  339. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  340. ^
  341. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  342. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  343. ^
  344. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  345. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  346. ^
  347. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  348. __glibc_macro_warning1 (GCC warning message)
  349. ^
  350. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  351. # define __glibc_macro_warning1(message) _Pragma (#message)
  352. ^
  353. <scratch space>:7:6: note: expanded from here
  354. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  355. ^
  356. In file included from ../../src/neural/loader.cc:40:
  357. lc0@exe/proto/net.pb.h:150:30: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  358. ::google::protobuf::uint32 minor() const;
  359. ^
  360. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  361. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  362. ^
  363. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  364. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  365. ^
  366. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  367. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  368. ^
  369. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  370. __glibc_macro_warning1 (GCC warning message)
  371. ^
  372. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  373. # define __glibc_macro_warning1(message) _Pragma (#message)
  374. ^
  375. <scratch space>:12:6: note: expanded from here
  376. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  377. ^
  378. In file included from ../../src/neural/loader.cc:40:
  379. lc0@exe/proto/net.pb.h:1193:50: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  380. inline ::google::protobuf::uint32 EngineVersion::major() const {
  381. ^
  382. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  383. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  384. ^
  385. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  386. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  387. ^
  388. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  389. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  390. ^
  391. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  392. __glibc_macro_warning1 (GCC warning message)
  393. ^
  394. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  395. # define __glibc_macro_warning1(message) _Pragma (#message)
  396. ^
  397. <scratch space>:17:6: note: expanded from here
  398. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  399. ^
  400. In file included from ../../src/neural/loader.cc:40:
  401. lc0@exe/proto/net.pb.h:1217:50: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  402. inline ::google::protobuf::uint32 EngineVersion::minor() const {
  403. ^
  404. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  405. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  406. ^
  407. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  408. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  409. ^
  410. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  411. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  412. ^
  413. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  414. __glibc_macro_warning1 (GCC warning message)
  415. ^
  416. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  417. # define __glibc_macro_warning1(message) _Pragma (#message)
  418. ^
  419. <scratch space>:3:6: note: expanded from here
  420. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  421. ^
  422. ../../src/neural/loader.cc:129:39: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  423. GetVersionStr(net.min_version().major(), net.min_version().minor(),
  424. ^
  425. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  426. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  427. ^
  428. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  429. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  430. ^
  431. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  432. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  433. ^
  434. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  435. __glibc_macro_warning1 (GCC warning message)
  436. ^
  437. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  438. # define __glibc_macro_warning1(message) _Pragma (#message)
  439. ^
  440. <scratch space>:28:6: note: expanded from here
  441. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  442. ^
  443. ../../src/neural/loader.cc:129:66: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  444. GetVersionStr(net.min_version().major(), net.min_version().minor(),
  445. ^
  446. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  447. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  448. ^
  449. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  450. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  451. ^
  452. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  453. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  454. ^
  455. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  456. __glibc_macro_warning1 (GCC warning message)
  457. ^
  458. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  459. # define __glibc_macro_warning1(message) _Pragma (#message)
  460. ^
  461. <scratch space>:33:6: note: expanded from here
  462. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  463. ^
  464. ../../src/neural/loader.cc:133:39: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  465. GetVersionInt(net.min_version().major(), net.min_version().minor(),
  466. ^
  467. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  468. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  469. ^
  470. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  471. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  472. ^
  473. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  474. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  475. ^
  476. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  477. __glibc_macro_warning1 (GCC warning message)
  478. ^
  479. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  480. # define __glibc_macro_warning1(message) _Pragma (#message)
  481. ^
  482. <scratch space>:2:6: note: expanded from here
  483. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  484. ^
  485. ../../src/neural/loader.cc:133:66: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  486. GetVersionInt(net.min_version().major(), net.min_version().minor(),
  487. ^
  488. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  489. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  490. ^
  491. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  492. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  493. ^
  494. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  495. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  496. ^
  497. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  498. __glibc_macro_warning1 (GCC warning message)
  499. ^
  500. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  501. # define __glibc_macro_warning1(message) _Pragma (#message)
  502. ^
  503. <scratch space>:7:6: note: expanded from here
  504. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  505. ^
  506. 8 warnings generated.
  507. [21/112] Compiling C++ object 'lc0@exe/src_neural_network_mux.cc.o'.
  508. [22/112] Compiling C++ object 'lc0@exe/src_utils_commandline.cc.o'.
  509. [23/112] Compiling C++ object 'lc0@exe/src_utils_histogram.cc.o'.
  510. [24/112] Compiling C++ object 'lc0@exe/src_neural_network_check.cc.o'.
  511. [25/112] Compiling C++ object 'lc0@exe/src_utils_transpose.cc.o'.
  512. [26/112] Compiling C++ object 'lc0@exe/src_utils_logging.cc.o'.
  513. [27/112] Compiling C++ object 'lc0@exe/src_selfplay_game.cc.o'.
  514. [28/112] Compiling C++ object 'lc0@exe/src_utils_random.cc.o'.
  515. [29/112] Compiling C++ object 'lc0@exe/src_utils_configfile.cc.o'.
  516. [30/112] Compiling C++ object 'lc0@exe/src_neural_blas_fully_connected_layer.cc.o'.
  517. [31/112] Compiling C++ object 'lc0@exe/src_utils_string.cc.o'.
  518. [32/112] Compiling C++ object 'lc0@exe/src_neural_blas_convolution1.cc.o'.
  519. [33/112] Compiling C++ object 'lc0@exe/src_neural_blas_batchnorm.cc.o'.
  520. [34/112] Compiling C++ object 'lc0@exe/src_selfplay_loop.cc.o'.
  521. [35/112] Compiling C++ object 'lc0@exe/src_mcts_search.cc.o'.
  522. [36/112] Compiling C++ object 'lc0@exe/src_utils_optionsdict.cc.o'.
  523. [37/112] Compiling C++ object 'lc0@exe/src_utils_filesystem.posix.cc.o'.
  524. [38/112] Compiling C++ object 'lc0@exe/src_neural_blas_winograd_convolution3.cc.o'.
  525. [39/112] Compiling C++ object 'lc0@exe/src_syzygy_syzygy.cc.o'.
  526. [40/112] Compiling C++ object 'lc0@exe/src_neural_opencl_OpenCL.cc.o'.
  527. FAILED: lc0@exe/src_neural_opencl_OpenCL.cc.o
  528. clang++-6.0 -Ilc0@exe -I. -I../.. -I/usr/local/include/ -I../../src -I/usr/include/ -Xclang -fcolor-diagnostics -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O3 -Wthread-safety -Wextra -pedantic -march=native -DUSE_OPENBLAS -MD -MQ 'lc0@exe/src_neural_opencl_OpenCL.cc.o' -MF 'lc0@exe/src_neural_opencl_OpenCL.cc.o.d' -o 'lc0@exe/src_neural_opencl_OpenCL.cc.o' -c ../../src/neural/opencl/OpenCL.cc
  529. In file included from ../../src/neural/opencl/OpenCL.cc:32:
  530. In file included from ../../src/neural/opencl/OpenCL.h:35:
  531. ../../src/neural/opencl/cl2.hpp:506:10: fatal error: 'CL/opencl.h' file not found
  532. #include <CL/opencl.h>
  533. ^~~~~~~~~~~~~
  534. 1 error generated.
  535. [41/112] Compiling C++ object 'lc0@exe/src_neural_opencl_OpenCLBuffers.cc.o'.
  536. FAILED: lc0@exe/src_neural_opencl_OpenCLBuffers.cc.o
  537. clang++-6.0 -Ilc0@exe -I. -I../.. -I/usr/local/include/ -I../../src -I/usr/include/ -Xclang -fcolor-diagnostics -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O3 -Wthread-safety -Wextra -pedantic -march=native -DUSE_OPENBLAS -MD -MQ 'lc0@exe/src_neural_opencl_OpenCLBuffers.cc.o' -MF 'lc0@exe/src_neural_opencl_OpenCLBuffers.cc.o.d' -o 'lc0@exe/src_neural_opencl_OpenCLBuffers.cc.o' -c ../../src/neural/opencl/OpenCLBuffers.cc
  538. In file included from ../../src/neural/opencl/OpenCLBuffers.cc:19:
  539. In file included from ../../src/neural/opencl/OpenCLBuffers.h:34:
  540. In file included from ../../src/neural/opencl/OpenCL.h:35:
  541. ../../src/neural/opencl/cl2.hpp:506:10: fatal error: 'CL/opencl.h' file not found
  542. #include <CL/opencl.h>
  543. ^~~~~~~~~~~~~
  544. 1 error generated.
  545. [42/112] Compiling C++ object 'lc0_lib@sha/src_version.cc.o'.
  546. [43/112] Compiling C++ object 'lc0@exe/src_neural_opencl_OpenCLTuner.cc.o'.
  547. FAILED: lc0@exe/src_neural_opencl_OpenCLTuner.cc.o
  548. clang++-6.0 -Ilc0@exe -I. -I../.. -I/usr/local/include/ -I../../src -I/usr/include/ -Xclang -fcolor-diagnostics -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O3 -Wthread-safety -Wextra -pedantic -march=native -DUSE_OPENBLAS -MD -MQ 'lc0@exe/src_neural_opencl_OpenCLTuner.cc.o' -MF 'lc0@exe/src_neural_opencl_OpenCLTuner.cc.o.d' -o 'lc0@exe/src_neural_opencl_OpenCLTuner.cc.o' -c ../../src/neural/opencl/OpenCLTuner.cc
  549. In file included from ../../src/neural/opencl/OpenCLTuner.cc:29:
  550. In file included from ../../src/neural/opencl/OpenCL.h:35:
  551. ../../src/neural/opencl/cl2.hpp:506:10: fatal error: 'CL/opencl.h' file not found
  552. #include <CL/opencl.h>
  553. ^~~~~~~~~~~~~
  554. 1 error generated.
  555. [44/112] Compiling C++ object 'lc0@exe/src_neural_opencl_network_opencl.cc.o'.
  556. FAILED: lc0@exe/src_neural_opencl_network_opencl.cc.o
  557. clang++-6.0 -Ilc0@exe -I. -I../.. -I/usr/local/include/ -I../../src -I/usr/include/ -Xclang -fcolor-diagnostics -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O3 -Wthread-safety -Wextra -pedantic -march=native -DUSE_OPENBLAS -MD -MQ 'lc0@exe/src_neural_opencl_network_opencl.cc.o' -MF 'lc0@exe/src_neural_opencl_network_opencl.cc.o.d' -o 'lc0@exe/src_neural_opencl_network_opencl.cc.o' -c ../../src/neural/opencl/network_opencl.cc
  558. In file included from ../../src/neural/opencl/network_opencl.cc:25:
  559. In file included from ../../src/neural/opencl/OpenCL.h:35:
  560. ../../src/neural/opencl/cl2.hpp:506:10: fatal error: 'CL/opencl.h' file not found
  561. #include <CL/opencl.h>
  562. ^~~~~~~~~~~~~
  563. 1 error generated.
  564. [45/112] Compiling C++ object 'lc0@exe/src_utils_optionsparser.cc.o'.
  565. [46/112] Compiling C++ object 'lc0@exe/src_selfplay_tournament.cc.o'.
  566. [47/112] Compiling C++ object 'lc0@exe/src_neural_blas_network_blas.cc.o'.
  567. [48/112] Generating 'lc0@exe/network_cudnn.o'.
  568. [49/112] Generating 'lc0_lib@sha/network_cudnn.o'.
  569. [50/112] Compiling C++ object 'lc0_lib@sha/src_neural_network_check.cc.o'.
  570. [51/112] Compiling C++ object 'lc0_lib@sha/meson-generated_proto_net.pb.cc.o'.
  571. In file included from lc0_lib@sha/proto/net.pb.cc:5:
  572. lc0_lib@sha/proto/net.pb.h:143:30: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  573. ::google::protobuf::uint32 major() const;
  574. ^
  575. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  576. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  577. ^
  578. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  579. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  580. ^
  581. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  582. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  583. ^
  584. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  585. __glibc_macro_warning1 (GCC warning message)
  586. ^
  587. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  588. # define __glibc_macro_warning1(message) _Pragma (#message)
  589. ^
  590. <scratch space>:4:6: note: expanded from here
  591. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  592. ^
  593. In file included from lc0_lib@sha/proto/net.pb.cc:5:
  594. lc0_lib@sha/proto/net.pb.h:150:30: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  595. ::google::protobuf::uint32 minor() const;
  596. ^
  597. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  598. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  599. ^
  600. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  601. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  602. ^
  603. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  604. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  605. ^
  606. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  607. __glibc_macro_warning1 (GCC warning message)
  608. ^
  609. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  610. # define __glibc_macro_warning1(message) _Pragma (#message)
  611. ^
  612. <scratch space>:9:6: note: expanded from here
  613. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  614. ^
  615. In file included from lc0_lib@sha/proto/net.pb.cc:5:
  616. lc0_lib@sha/proto/net.pb.h:1193:50: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  617. inline ::google::protobuf::uint32 EngineVersion::major() const {
  618. ^
  619. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  620. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  621. ^
  622. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  623. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  624. ^
  625. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  626. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  627. ^
  628. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  629. __glibc_macro_warning1 (GCC warning message)
  630. ^
  631. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  632. # define __glibc_macro_warning1(message) _Pragma (#message)
  633. ^
  634. <scratch space>:14:6: note: expanded from here
  635. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  636. ^
  637. In file included from lc0_lib@sha/proto/net.pb.cc:5:
  638. lc0_lib@sha/proto/net.pb.h:1217:50: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  639. inline ::google::protobuf::uint32 EngineVersion::minor() const {
  640. ^
  641. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  642. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  643. ^
  644. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  645. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  646. ^
  647. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  648. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  649. ^
  650. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  651. __glibc_macro_warning1 (GCC warning message)
  652. ^
  653. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  654. # define __glibc_macro_warning1(message) _Pragma (#message)
  655. ^
  656. <scratch space>:3:6: note: expanded from here
  657. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  658. ^
  659. lc0_lib@sha/proto/net.pb.cc:508:72: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  660. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->major(), output);
  661. ^
  662. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  663. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  664. ^
  665. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  666. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  667. ^
  668. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  669. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  670. ^
  671. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  672. __glibc_macro_warning1 (GCC warning message)
  673. ^
  674. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  675. # define __glibc_macro_warning1(message) _Pragma (#message)
  676. ^
  677. <scratch space>:138:6: note: expanded from here
  678. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  679. ^
  680. lc0_lib@sha/proto/net.pb.cc:513:72: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  681. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->minor(), output);
  682. ^
  683. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  684. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  685. ^
  686. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  687. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  688. ^
  689. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  690. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  691. ^
  692. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  693. __glibc_macro_warning1 (GCC warning message)
  694. ^
  695. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  696. # define __glibc_macro_warning1(message) _Pragma (#message)
  697. ^
  698. <scratch space>:3:6: note: expanded from here
  699. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  700. ^
  701. lc0_lib@sha/proto/net.pb.cc:533:88: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  702. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->major(), target);
  703. ^
  704. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  705. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  706. ^
  707. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  708. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  709. ^
  710. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  711. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  712. ^
  713. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  714. __glibc_macro_warning1 (GCC warning message)
  715. ^
  716. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  717. # define __glibc_macro_warning1(message) _Pragma (#message)
  718. ^
  719. <scratch space>:8:6: note: expanded from here
  720. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  721. ^
  722. lc0_lib@sha/proto/net.pb.cc:538:88: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  723. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->minor(), target);
  724. ^
  725. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  726. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  727. ^
  728. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  729. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  730. ^
  731. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  732. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  733. ^
  734. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  735. __glibc_macro_warning1 (GCC warning message)
  736. ^
  737. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  738. # define __glibc_macro_warning1(message) _Pragma (#message)
  739. ^
  740. <scratch space>:13:6: note: expanded from here
  741. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  742. ^
  743. lc0_lib@sha/proto/net.pb.cc:529:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  744. bool deterministic, ::google::protobuf::uint8* target) const {
  745. ^
  746. lc0_lib@sha/proto/net.pb.cc:563:17: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  747. this->major());
  748. ^
  749. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  750. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  751. ^
  752. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  753. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  754. ^
  755. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  756. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  757. ^
  758. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  759. __glibc_macro_warning1 (GCC warning message)
  760. ^
  761. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  762. # define __glibc_macro_warning1(message) _Pragma (#message)
  763. ^
  764. <scratch space>:2:6: note: expanded from here
  765. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  766. ^
  767. lc0_lib@sha/proto/net.pb.cc:570:17: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  768. this->minor());
  769. ^
  770. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  771. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  772. ^
  773. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  774. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  775. ^
  776. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  777. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  778. ^
  779. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  780. __glibc_macro_warning1 (GCC warning message)
  781. ^
  782. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  783. # define __glibc_macro_warning1(message) _Pragma (#message)
  784. ^
  785. <scratch space>:7:6: note: expanded from here
  786. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  787. ^
  788. lc0_lib@sha/proto/net.pb.cc:616:22: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  789. set_major(from.major());
  790. ^
  791. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major'
  792. # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
  793. ^
  794. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  795. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  796. ^
  797. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  798. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  799. ^
  800. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  801. __glibc_macro_warning1 (GCC warning message)
  802. ^
  803. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  804. # define __glibc_macro_warning1(message) _Pragma (#message)
  805. ^
  806. <scratch space>:16:6: note: expanded from here
  807. GCC warning "In the GNU C Library, \"major\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys/types.h>."
  808. ^
  809. lc0_lib@sha/proto/net.pb.cc:619:22: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. [-W#pragma-messages]
  810. set_minor(from.minor());
  811. ^
  812. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor'
  813. # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev)
  814. ^
  815. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM'
  816. #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
  817. ^
  818. /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1'
  819. #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
  820. ^
  821. /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning'
  822. __glibc_macro_warning1 (GCC warning message)
  823. ^
  824. /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1'
  825. # define __glibc_macro_warning1(message) _Pragma (#message)
  826. ^
  827. <scratch space>:21:6: note: expanded from here
  828. GCC warning "In the GNU C Library, \"minor\" is defined\n by <sys/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys/types.h>."
  829. ^
  830. lc0_lib@sha/proto/net.pb.cc:952:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  831. bool deterministic, ::google::protobuf::uint8* target) const {
  832. ^
  833. lc0_lib@sha/proto/net.pb.cc:1311:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  834. bool deterministic, ::google::protobuf::uint8* target) const {
  835. ^
  836. lc0_lib@sha/proto/net.pb.cc:1643:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  837. bool deterministic, ::google::protobuf::uint8* target) const {
  838. ^
  839. lc0_lib@sha/proto/net.pb.cc:2148:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  840. bool deterministic, ::google::protobuf::uint8* target) const {
  841. ^
  842. lc0_lib@sha/proto/net.pb.cc:3513:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  843. bool deterministic, ::google::protobuf::uint8* target) const {
  844. ^
  845. lc0_lib@sha/proto/net.pb.cc:4044:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  846. bool deterministic, ::google::protobuf::uint8* target) const {
  847. ^
  848. lc0_lib@sha/proto/net.pb.cc:4456:10: warning: unused parameter 'deterministic' [-Wunused-parameter]
  849. bool deterministic, ::google::protobuf::uint8* target) const {
  850. ^
  851. 20 warnings generated.
  852. [52/112] Compiling C++ object 'lc0_lib@sha/src_benchmark_benchmark.cc.o'.
  853. [53/112] Compiling C++ object 'lc0_lib@sha/src_engine.cc.o'.
  854. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement