Advertisement
adfasdfadsfasdf

Untitled

Apr 19th, 2023
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.58 KB | None | 0 0
  1. archishmaan@Archishmaans-MBP src % git fetch origin
  2. remote: Enumerating objects: 5, done.
  3. remote: Counting objects: 100% (5/5), done.
  4. remote: Compressing objects: 100% (2/2), done.
  5. remote: Total 5 (delta 3), reused 4 (delta 3), pack-reused 0
  6. Unpacking objects: 100% (5/5), 1.03 KiB | 527.00 KiB/s, done.
  7. From https://github.com/lucametehau/CloverEngine
  8. 05c5923..56e9b0d mac-fix -> origin/mac-fix
  9. a8dd595..ca7d2bb master -> origin/master
  10. archishmaan@Archishmaans-MBP src % git reset --hard origin/mac-fix
  11. HEAD is now at 56e9b0d fix again?
  12. archishmaan@Archishmaans-MBP src % make
  13. g++ *.cpp tbprobe.c -DEVALFILE=\"weights-4buckets-epoch330.nnue\" -Wall -g -std=c++17 -O3 -lpthread -mno-avx512f -march=native -o Clover
  14. clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
  15. In file included from main.cpp:19:
  16. In file included from ./init.h:19:
  17. In file included from ./board.h:21:
  18. ./defs.h:338:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
  19. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  20. ^~~~
  21. ./defs.h:338:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
  22. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  23. ^~~~
  24. ./defs.h:338:36: warning: array subscript is of type 'char' [-Wchar-subscripts]
  25. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  26. ^~~~
  27. ./defs.h:338:50: warning: array subscript is of type 'char' [-Wchar-subscripts]
  28. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  29. ^~~~
  30. ./defs.h:338:64: warning: array subscript is of type 'char' [-Wchar-subscripts]
  31. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  32. ^~~~
  33. ./defs.h:338:78: warning: array subscript is of type 'char' [-Wchar-subscripts]
  34. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  35. ^~~~
  36. ./defs.h:339:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
  37. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  38. ^~~~
  39. ./defs.h:339:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
  40. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  41. ^~~~
  42. ./defs.h:339:36: warning: array subscript is of type 'char' [-Wchar-subscripts]
  43. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  44. ^~~~
  45. ./defs.h:339:50: warning: array subscript is of type 'char' [-Wchar-subscripts]
  46. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  47. ^~~~
  48. ./defs.h:339:65: warning: array subscript is of type 'char' [-Wchar-subscripts]
  49. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  50. ^~~~
  51. ./defs.h:339:80: warning: array subscript is of type 'char' [-Wchar-subscripts]
  52. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  53. ^~~~
  54. In file included from main.cpp:19:
  55. In file included from ./init.h:19:
  56. In file included from ./board.h:22:
  57. ./net.h:135:9: error: unknown type name '__m128i'
  58. __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
  59. ^
  60. ./net.h:135:35: error: use of undeclared identifier 'a'
  61. __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
  62. ^
  63. ./net.h:135:53: error: use of undeclared identifier 'a'
  64. __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
  65. ^
  66. ./net.h:136:9: error: unknown type name '__m128i'
  67. __m128i c = _mm_add_epi32(b, _mm_srli_si128(b, 4));
  68. ^
  69. ./net.h:237:24: error: non-const lvalue reference to type 'int32x4_t' (vector of 4 'int32_t' values) cannot bind to a value of unrelated type 'int16x8_t' (vector of 8 'int16_t' values)
  70. sum += get_sum(acc);
  71. ^~~
  72. ./net.h:122:33: note: passing argument to parameter 'x' here
  73. int32_t get_sum(reg_type_s& x) {
  74. ^
  75. ./net.h:249:27: error: assigning to 'int16x8_t' (vector of 8 'int16_t' values) from incompatible type 'poly128_t' (aka 'unsigned __int128')
  76. regs[i] = reg_load(&reg_in[i]);
  77. ^~~~~~~~~~~~~~~~~~~~
  78. ./net.h:76:21: note: expanded from macro 'reg_load'
  79. #define reg_load vldrq_p128
  80. ^
  81. /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:54742:26: note: expanded from macro 'vldrq_p128'
  82. #define vldrq_p128(__p0) __extension__ ({ \
  83. ^~~~~~~~~~~~~~~~~~
  84. In file included from main.cpp:19:
  85. In file included from ./init.h:19:
  86. In file included from ./board.h:22:
  87. ./net.h:257:17: error: cannot initialize a variable of type 'poly128_t' (aka 'unsigned __int128') with an lvalue of type 'int16x8_t' (vector of 8 'int16_t' values)
  88. reg_save(&reg_out[i], regs[i]);
  89. ^ ~~~~~~~
  90. ./net.h:77:21: note: expanded from macro 'reg_save'
  91. #define reg_save vstrq_p128
  92. ^
  93. /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:63978:13: note: expanded from macro 'vstrq_p128'
  94. poly128_t __s1 = __p1; \
  95. ^ ~~~~
  96. In file included from main.cpp:19:
  97. In file included from ./init.h:19:
  98. In file included from ./board.h:22:
  99. ./net.h:270:27: error: assigning to 'int16x8_t' (vector of 8 'int16_t' values) from incompatible type 'poly128_t' (aka 'unsigned __int128')
  100. regs[i] = reg_load(&reg_in[i]);
  101. ^~~~~~~~~~~~~~~~~~~~
  102. ./net.h:76:21: note: expanded from macro 'reg_load'
  103. #define reg_load vldrq_p128
  104. ^
  105. /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:54742:26: note: expanded from macro 'vldrq_p128'
  106. #define vldrq_p128(__p0) __extension__ ({ \
  107. ^~~~~~~~~~~~~~~~~~
  108. In file included from main.cpp:19:
  109. In file included from ./init.h:19:
  110. In file included from ./board.h:22:
  111. ./net.h:281:17: error: cannot initialize a variable of type 'poly128_t' (aka 'unsigned __int128') with an lvalue of type 'int16x8_t' (vector of 8 'int16_t' values)
  112. reg_save(&reg_out[i], regs[i]);
  113. ^ ~~~~~~~
  114. ./net.h:77:21: note: expanded from macro 'reg_save'
  115. #define reg_save vstrq_p128
  116. ^
  117. /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:63978:13: note: expanded from macro 'vstrq_p128'
  118. poly128_t __s1 = __p1; \
  119. ^ ~~~~
  120. In file included from main.cpp:19:
  121. In file included from ./init.h:19:
  122. In file included from ./board.h:22:
  123. ./net.h:295:27: error: assigning to 'int16x8_t' (vector of 8 'int16_t' values) from incompatible type 'poly128_t' (aka 'unsigned __int128')
  124. regs[i] = reg_load(&reg_in[i]);
  125. ^~~~~~~~~~~~~~~~~~~~
  126. ./net.h:76:21: note: expanded from macro 'reg_load'
  127. #define reg_load vldrq_p128
  128. ^
  129. /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:54742:26: note: expanded from macro 'vldrq_p128'
  130. #define vldrq_p128(__p0) __extension__ ({ \
  131. ^~~~~~~~~~~~~~~~~~
  132. In file included from main.cpp:19:
  133. In file included from ./init.h:19:
  134. In file included from ./board.h:22:
  135. ./net.h:309:17: error: cannot initialize a variable of type 'poly128_t' (aka 'unsigned __int128') with an lvalue of type 'int16x8_t' (vector of 8 'int16_t' values)
  136. reg_save(&reg_out[i], regs[i]);
  137. ^ ~~~~~~~
  138. ./net.h:77:21: note: expanded from macro 'reg_save'
  139. #define reg_save vstrq_p128
  140. ^
  141. /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:63978:13: note: expanded from macro 'vstrq_p128'
  142. poly128_t __s1 = __p1; \
  143. ^ ~~~~
  144. In file included from main.cpp:19:
  145. In file included from ./init.h:19:
  146. In file included from ./board.h:22:
  147. ./net.h:324:27: error: assigning to 'int16x8_t' (vector of 8 'int16_t' values) from incompatible type 'poly128_t' (aka 'unsigned __int128')
  148. regs[i] = reg_load(&reg_in[i]);
  149. ^~~~~~~~~~~~~~~~~~~~
  150. ./net.h:76:21: note: expanded from macro 'reg_load'
  151. #define reg_load vldrq_p128
  152. ^
  153. /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:54742:26: note: expanded from macro 'vldrq_p128'
  154. #define vldrq_p128(__p0) __extension__ ({ \
  155. ^~~~~~~~~~~~~~~~~~
  156. In file included from main.cpp:19:
  157. In file included from ./init.h:19:
  158. In file included from ./board.h:22:
  159. ./net.h:341:17: error: cannot initialize a variable of type 'poly128_t' (aka 'unsigned __int128') with an lvalue of type 'int16x8_t' (vector of 8 'int16_t' values)
  160. reg_save(&reg_out[i], regs[i]);
  161. ^ ~~~~~~~
  162. ./net.h:77:21: note: expanded from macro 'reg_save'
  163. #define reg_save vstrq_p128
  164. ^
  165. /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:63978:13: note: expanded from macro 'vstrq_p128'
  166. poly128_t __s1 = __p1; \
  167. ^ ~~~~
  168. 12 warnings and 13 errors generated.
  169. In file included from tbprobe.c:138:
  170. ./tbcore.c:439:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  171. sprintf(str, "K%cvK", pchr[i]);
  172. ^
  173. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  174. __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
  175. ^
  176. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  177. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  178. ^
  179. In file included from tbprobe.c:138:
  180. ./tbcore.c:446:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  181. sprintf(str, "K%cvK%c", pchr[i], pchr[j]);
  182. ^
  183. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  184. __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
  185. ^
  186. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  187. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  188. ^
  189. In file included from tbprobe.c:138:
  190. ./tbcore.c:453:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  191. sprintf(str, "K%c%cvK", pchr[i], pchr[j]);
  192. ^
  193. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  194. __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
  195. ^
  196. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  197. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  198. ^
  199. In file included from tbprobe.c:138:
  200. ./tbcore.c:461:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  201. sprintf(str, "K%c%cvK%c", pchr[i], pchr[j], pchr[k]);
  202. ^
  203. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  204. __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
  205. ^
  206. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  207. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  208. ^
  209. In file included from tbprobe.c:138:
  210. ./tbcore.c:469:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  211. sprintf(str, "K%c%c%cvK", pchr[i], pchr[j], pchr[k]);
  212. ^
  213. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  214. __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
  215. ^
  216. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  217. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  218. ^
  219. In file included from tbprobe.c:138:
  220. ./tbcore.c:478:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  221. sprintf(str, "K%c%cvK%c%c", pchr[i], pchr[j], pchr[k], pchr[l]);
  222. ^
  223. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  224. __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
  225. ^
  226. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  227. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  228. ^
  229. In file included from tbprobe.c:138:
  230. ./tbcore.c:487:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  231. sprintf(str, "K%c%c%cvK%c", pchr[i], pchr[j], pchr[k], pchr[l]);
  232. ^
  233. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  234. __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
  235. ^
  236. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  237. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  238. ^
  239. In file included from tbprobe.c:138:
  240. ./tbcore.c:496:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
  241. sprintf(str, "K%c%c%c%cvK", pchr[i], pchr[j], pchr[k], pchr[l]);
  242. ^
  243. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  244. __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
  245. ^
  246. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  247. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  248. ^
  249. 8 warnings generated.
  250. make: *** [ob] Error 1
  251. archishmaan@Archishmaans-MBP src %
  252.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement