Advertisement
jiapei100

PyTorch_libuv

Jun 6th, 2021
1,218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 52.40 KB | None | 0 0
  1. Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
  2. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command(s):/usr/bin/make -f Makefile cmTC_dc0f9/fast && /usr/bin/make  -f CMakeFiles/cmTC_dc0f9.dir/build.make CMakeFiles/cmTC_dc0f9.dir/build
  5. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  6. Building C object CMakeFiles/cmTC_dc0f9.dir/src.c.o
  7. /usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD  -fPIE -o CMakeFiles/cmTC_dc0f9.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  8. Linking C executable cmTC_dc0f9
  9. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dc0f9.dir/link.txt --verbose=1
  10. /usr/bin/cc  -rdynamic  CMakeFiles/cmTC_dc0f9.dir/src.c.o -o cmTC_dc0f9
  11. /usr/bin/ld: CMakeFiles/cmTC_dc0f9.dir/src.c.o: in function `main':
  12. src.c:(.text+0x46): undefined reference to `pthread_create'
  13. /usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach'
  14. /usr/bin/ld: src.c:(.text+0x5e): undefined reference to `pthread_cancel'
  15. /usr/bin/ld: src.c:(.text+0x6f): undefined reference to `pthread_join'
  16. collect2: error: ld returned 1 exit status
  17. make[1]: *** [CMakeFiles/cmTC_dc0f9.dir/build.make:99: cmTC_dc0f9] Error 1
  18. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  19. make: *** [Makefile:127: cmTC_dc0f9/fast] Error 2
  20.  
  21.  
  22. Source file was:
  23. #include <pthread.h>
  24.  
  25. static void* test_func(void* data)
  26. {
  27.  return data;
  28. }
  29.  
  30. int main(void)
  31. {
  32.  pthread_t thread;
  33.  pthread_create(&thread, NULL, test_func, NULL);
  34.  pthread_detach(thread);
  35.  pthread_cancel(thread);
  36.  pthread_join(thread, NULL);
  37.  pthread_atfork(NULL, NULL, NULL);
  38.  pthread_exit(NULL);
  39.  
  40.  return 0;
  41. }
  42.  
  43. Performing C SOURCE FILE Test BLAS_F2C_DOUBLE_WORKS failed with the following compile output:
  44. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  45.  
  46. Run Build Command(s):/usr/bin/make -f Makefile cmTC_89875/fast && /usr/bin/make  -f CMakeFiles/cmTC_89875.dir/build.make CMakeFiles/cmTC_89875.dir/build
  47. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  48. Building C object CMakeFiles/cmTC_89875.dir/src.c.o
  49. /usr/bin/cc -DBLAS_F2C_DOUBLE_WORKS   -o CMakeFiles/cmTC_89875.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  50. Linking C executable cmTC_89875
  51. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_89875.dir/link.txt --verbose=1
  52. /usr/bin/cc  -rdynamic  CMakeFiles/cmTC_89875.dir/src.c.o -o cmTC_89875  /usr/lib/x86_64-linux-gnu/libopenblas.so
  53. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  54.  
  55.  
  56. ...and run output:
  57.  
  58. Return value: 1
  59. Source file was:
  60.  
  61. #include <stdlib.h>
  62. #include <stdio.h>
  63. float x[4] = { 1, 2, 3, 4 };
  64. float y[4] = { .1, .01, .001, .0001 };
  65. int four = 4;
  66. int one = 1;
  67. extern double sdot_();
  68. int main() {
  69.  int i;
  70.  double r = sdot_(&four, x, &one, y, &one);
  71.  exit((float)r != (float).1234);
  72. }
  73. Performing C SOURCE FILE Test NNPACK_ARCH_IS_X86_32 failed with the following output:
  74. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  75.  
  76. Run Build Command(s):/usr/bin/make -f Makefile cmTC_db4ce/fast && /usr/bin/make  -f CMakeFiles/cmTC_db4ce.dir/build.make CMakeFiles/cmTC_db4ce.dir/build
  77. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  78. Building C object CMakeFiles/cmTC_db4ce.dir/src.c.o
  79. /usr/bin/cc -DNNPACK_ARCH_IS_X86_32   -o CMakeFiles/cmTC_db4ce.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  80. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:3:10: error: #error AVX only on x86_64
  81.    3 |         #error AVX only on x86_64
  82.      |          ^~~~~
  83. make[1]: *** [CMakeFiles/cmTC_db4ce.dir/build.make:78: CMakeFiles/cmTC_db4ce.dir/src.c.o] Error 1
  84. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  85. make: *** [Makefile:127: cmTC_db4ce/fast] Error 2
  86.  
  87.  
  88. Source file was:
  89.  
  90.      #if ! (defined(__i386) || defined(_M_IX86))
  91.        #error AVX only on x86_64
  92.      #endif
  93.      int main() {
  94.        return 0;
  95.      }
  96. Performing C SOURCE FILE Test UV_LINT_W4 failed with the following output:
  97. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  98.  
  99. Run Build Command(s):/usr/bin/make -f Makefile cmTC_9ec95/fast && /usr/bin/make  -f CMakeFiles/cmTC_9ec95.dir/build.make CMakeFiles/cmTC_9ec95.dir/build
  100. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  101. Building C object CMakeFiles/cmTC_9ec95.dir/src.c.o
  102. /usr/bin/cc -DUV_LINT_W4  -fopenmp    /W4 -o CMakeFiles/cmTC_9ec95.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  103. cc: error: /W4: No such file or directory
  104. make[1]: *** [CMakeFiles/cmTC_9ec95.dir/build.make:78: CMakeFiles/cmTC_9ec95.dir/src.c.o] Error 1
  105. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  106. make: *** [Makefile:127: cmTC_9ec95/fast] Error 2
  107.  
  108.  
  109. Source file was:
  110. int main(void) { return 0; }
  111. Performing C SOURCE FILE Test UV_LINT_NO_UNUSED_PARAMETER_MSVC failed with the following output:
  112. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  113.  
  114. Run Build Command(s):/usr/bin/make -f Makefile cmTC_183fe/fast && /usr/bin/make  -f CMakeFiles/cmTC_183fe.dir/build.make CMakeFiles/cmTC_183fe.dir/build
  115. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  116. Building C object CMakeFiles/cmTC_183fe.dir/src.c.o
  117. /usr/bin/cc -DUV_LINT_NO_UNUSED_PARAMETER_MSVC  -fopenmp    /wd4100 -o CMakeFiles/cmTC_183fe.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  118. cc: error: /wd4100: No such file or directory
  119. make[1]: *** [CMakeFiles/cmTC_183fe.dir/build.make:78: CMakeFiles/cmTC_183fe.dir/src.c.o] Error 1
  120. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  121. make: *** [Makefile:127: cmTC_183fe/fast] Error 2
  122.  
  123.  
  124. Source file was:
  125. int main(void) { return 0; }
  126. Performing C SOURCE FILE Test UV_LINT_NO_CONDITIONAL_CONSTANT_MSVC failed with the following output:
  127. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  128.  
  129. Run Build Command(s):/usr/bin/make -f Makefile cmTC_8c70d/fast && /usr/bin/make  -f CMakeFiles/cmTC_8c70d.dir/build.make CMakeFiles/cmTC_8c70d.dir/build
  130. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  131. Building C object CMakeFiles/cmTC_8c70d.dir/src.c.o
  132. /usr/bin/cc -DUV_LINT_NO_CONDITIONAL_CONSTANT_MSVC  -fopenmp    /wd4127 -o CMakeFiles/cmTC_8c70d.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  133. cc: error: /wd4127: No such file or directory
  134. make[1]: *** [CMakeFiles/cmTC_8c70d.dir/build.make:78: CMakeFiles/cmTC_8c70d.dir/src.c.o] Error 1
  135. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  136. make: *** [Makefile:127: cmTC_8c70d/fast] Error 2
  137.  
  138.  
  139. Source file was:
  140. int main(void) { return 0; }
  141. Performing C SOURCE FILE Test UV_LINT_NO_NONSTANDARD_MSVC failed with the following output:
  142. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  143.  
  144. Run Build Command(s):/usr/bin/make -f Makefile cmTC_8beb9/fast && /usr/bin/make  -f CMakeFiles/cmTC_8beb9.dir/build.make CMakeFiles/cmTC_8beb9.dir/build
  145. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  146. Building C object CMakeFiles/cmTC_8beb9.dir/src.c.o
  147. /usr/bin/cc -DUV_LINT_NO_NONSTANDARD_MSVC  -fopenmp    /wd4201 -o CMakeFiles/cmTC_8beb9.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  148. cc: error: /wd4201: No such file or directory
  149. make[1]: *** [CMakeFiles/cmTC_8beb9.dir/build.make:78: CMakeFiles/cmTC_8beb9.dir/src.c.o] Error 1
  150. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  151. make: *** [Makefile:127: cmTC_8beb9/fast] Error 2
  152.  
  153.  
  154. Source file was:
  155. int main(void) { return 0; }
  156. Performing C SOURCE FILE Test UV_LINT_NO_NONSTANDARD_EMPTY_TU_MSVC failed with the following output:
  157. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  158.  
  159. Run Build Command(s):/usr/bin/make -f Makefile cmTC_9862b/fast && /usr/bin/make  -f CMakeFiles/cmTC_9862b.dir/build.make CMakeFiles/cmTC_9862b.dir/build
  160. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  161. Building C object CMakeFiles/cmTC_9862b.dir/src.c.o
  162. /usr/bin/cc -DUV_LINT_NO_NONSTANDARD_EMPTY_TU_MSVC  -fopenmp    /wd4206 -o CMakeFiles/cmTC_9862b.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  163. cc: error: /wd4206: No such file or directory
  164. make[1]: *** [CMakeFiles/cmTC_9862b.dir/build.make:78: CMakeFiles/cmTC_9862b.dir/src.c.o] Error 1
  165. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  166. make: *** [Makefile:127: cmTC_9862b/fast] Error 2
  167.  
  168.  
  169. Source file was:
  170. int main(void) { return 0; }
  171. Performing C SOURCE FILE Test UV_LINT_NO_NONSTANDARD_FILE_SCOPE_MSVC failed with the following output:
  172. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  173.  
  174. Run Build Command(s):/usr/bin/make -f Makefile cmTC_ef7f4/fast && /usr/bin/make  -f CMakeFiles/cmTC_ef7f4.dir/build.make CMakeFiles/cmTC_ef7f4.dir/build
  175. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  176. Building C object CMakeFiles/cmTC_ef7f4.dir/src.c.o
  177. /usr/bin/cc -DUV_LINT_NO_NONSTANDARD_FILE_SCOPE_MSVC  -fopenmp    /wd4210 -o CMakeFiles/cmTC_ef7f4.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  178. cc: error: /wd4210: No such file or directory
  179. make[1]: *** [CMakeFiles/cmTC_ef7f4.dir/build.make:78: CMakeFiles/cmTC_ef7f4.dir/src.c.o] Error 1
  180. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  181. make: *** [Makefile:127: cmTC_ef7f4/fast] Error 2
  182.  
  183.  
  184. Source file was:
  185. int main(void) { return 0; }
  186. Performing C SOURCE FILE Test UV_LINT_NO_NONSTANDARD_NONSTATIC_DLIMPORT_MSVC failed with the following output:
  187. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  188.  
  189. Run Build Command(s):/usr/bin/make -f Makefile cmTC_cd76b/fast && /usr/bin/make  -f CMakeFiles/cmTC_cd76b.dir/build.make CMakeFiles/cmTC_cd76b.dir/build
  190. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  191. Building C object CMakeFiles/cmTC_cd76b.dir/src.c.o
  192. /usr/bin/cc -DUV_LINT_NO_NONSTANDARD_NONSTATIC_DLIMPORT_MSVC  -fopenmp    /wd4232 -o CMakeFiles/cmTC_cd76b.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  193. cc: error: /wd4232: No such file or directory
  194. make[1]: *** [CMakeFiles/cmTC_cd76b.dir/build.make:78: CMakeFiles/cmTC_cd76b.dir/src.c.o] Error 1
  195. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  196. make: *** [Makefile:127: cmTC_cd76b/fast] Error 2
  197.  
  198.  
  199. Source file was:
  200. int main(void) { return 0; }
  201. Performing C SOURCE FILE Test UV_LINT_NO_HIDES_LOCAL failed with the following output:
  202. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  203.  
  204. Run Build Command(s):/usr/bin/make -f Makefile cmTC_68c50/fast && /usr/bin/make  -f CMakeFiles/cmTC_68c50.dir/build.make CMakeFiles/cmTC_68c50.dir/build
  205. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  206. Building C object CMakeFiles/cmTC_68c50.dir/src.c.o
  207. /usr/bin/cc -DUV_LINT_NO_HIDES_LOCAL  -fopenmp    /wd4456 -o CMakeFiles/cmTC_68c50.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  208. cc: error: /wd4456: No such file or directory
  209. make[1]: *** [CMakeFiles/cmTC_68c50.dir/build.make:78: CMakeFiles/cmTC_68c50.dir/src.c.o] Error 1
  210. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  211. make: *** [Makefile:127: cmTC_68c50/fast] Error 2
  212.  
  213.  
  214. Source file was:
  215. int main(void) { return 0; }
  216. Performing C SOURCE FILE Test UV_LINT_NO_HIDES_PARAM failed with the following output:
  217. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  218.  
  219. Run Build Command(s):/usr/bin/make -f Makefile cmTC_15865/fast && /usr/bin/make  -f CMakeFiles/cmTC_15865.dir/build.make CMakeFiles/cmTC_15865.dir/build
  220. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  221. Building C object CMakeFiles/cmTC_15865.dir/src.c.o
  222. /usr/bin/cc -DUV_LINT_NO_HIDES_PARAM  -fopenmp    /wd4457 -o CMakeFiles/cmTC_15865.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  223. cc: error: /wd4457: No such file or directory
  224. make[1]: *** [CMakeFiles/cmTC_15865.dir/build.make:78: CMakeFiles/cmTC_15865.dir/src.c.o] Error 1
  225. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  226. make: *** [Makefile:127: cmTC_15865/fast] Error 2
  227.  
  228.  
  229. Source file was:
  230. int main(void) { return 0; }
  231. Performing C SOURCE FILE Test UV_LINT_NO_HIDES_GLOBAL failed with the following output:
  232. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  233.  
  234. Run Build Command(s):/usr/bin/make -f Makefile cmTC_14046/fast && /usr/bin/make  -f CMakeFiles/cmTC_14046.dir/build.make CMakeFiles/cmTC_14046.dir/build
  235. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  236. Building C object CMakeFiles/cmTC_14046.dir/src.c.o
  237. /usr/bin/cc -DUV_LINT_NO_HIDES_GLOBAL  -fopenmp    /wd4459 -o CMakeFiles/cmTC_14046.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  238. cc: error: /wd4459: No such file or directory
  239. make[1]: *** [CMakeFiles/cmTC_14046.dir/build.make:78: CMakeFiles/cmTC_14046.dir/src.c.o] Error 1
  240. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  241. make: *** [Makefile:127: cmTC_14046/fast] Error 2
  242.  
  243.  
  244. Source file was:
  245. int main(void) { return 0; }
  246. Performing C SOURCE FILE Test UV_LINT_NO_CONDITIONAL_ASSIGNMENT_MSVC failed with the following output:
  247. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  248.  
  249. Run Build Command(s):/usr/bin/make -f Makefile cmTC_285cc/fast && /usr/bin/make  -f CMakeFiles/cmTC_285cc.dir/build.make CMakeFiles/cmTC_285cc.dir/build
  250. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  251. Building C object CMakeFiles/cmTC_285cc.dir/src.c.o
  252. /usr/bin/cc -DUV_LINT_NO_CONDITIONAL_ASSIGNMENT_MSVC  -fopenmp    /wd4706 -o CMakeFiles/cmTC_285cc.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  253. cc: error: /wd4706: No such file or directory
  254. make[1]: *** [CMakeFiles/cmTC_285cc.dir/build.make:78: CMakeFiles/cmTC_285cc.dir/src.c.o] Error 1
  255. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  256. make: *** [Makefile:127: cmTC_285cc/fast] Error 2
  257.  
  258.  
  259. Source file was:
  260. int main(void) { return 0; }
  261. Performing C SOURCE FILE Test UV_LINT_NO_UNSAFE_MSVC failed with the following output:
  262. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  263.  
  264. Run Build Command(s):/usr/bin/make -f Makefile cmTC_17d2a/fast && /usr/bin/make  -f CMakeFiles/cmTC_17d2a.dir/build.make CMakeFiles/cmTC_17d2a.dir/build
  265. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  266. Building C object CMakeFiles/cmTC_17d2a.dir/src.c.o
  267. /usr/bin/cc -DUV_LINT_NO_UNSAFE_MSVC  -fopenmp    /wd4996 -o CMakeFiles/cmTC_17d2a.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  268. cc: error: /wd4996: No such file or directory
  269. make[1]: *** [CMakeFiles/cmTC_17d2a.dir/build.make:78: CMakeFiles/cmTC_17d2a.dir/src.c.o] Error 1
  270. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  271. make: *** [Makefile:127: cmTC_17d2a/fast] Error 2
  272.  
  273.  
  274. Source file was:
  275. int main(void) { return 0; }
  276. Performing C SOURCE FILE Test UV_LINT_UTF8_MSVC failed with the following output:
  277. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  278.  
  279. Run Build Command(s):/usr/bin/make -f Makefile cmTC_ce2db/fast && /usr/bin/make  -f CMakeFiles/cmTC_ce2db.dir/build.make CMakeFiles/cmTC_ce2db.dir/build
  280. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  281. Building C object CMakeFiles/cmTC_ce2db.dir/src.c.o
  282. /usr/bin/cc -DUV_LINT_UTF8_MSVC  -fopenmp    /utf-8 -o CMakeFiles/cmTC_ce2db.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  283. cc: error: /utf-8: No such file or directory
  284. make[1]: *** [CMakeFiles/cmTC_ce2db.dir/build.make:78: CMakeFiles/cmTC_ce2db.dir/src.c.o] Error 1
  285. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  286. make: *** [Makefile:127: cmTC_ce2db/fast] Error 2
  287.  
  288.  
  289. Source file was:
  290. int main(void) { return 0; }
  291. Performing C SOURCE FILE Test C_VSX_FOUND failed with the following output:
  292. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  293.  
  294. Run Build Command(s):/usr/bin/make -f Makefile cmTC_bea41/fast && /usr/bin/make  -f CMakeFiles/cmTC_bea41.dir/build.make CMakeFiles/cmTC_bea41.dir/build
  295. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  296. Building C object CMakeFiles/cmTC_bea41.dir/src.c.o
  297. /usr/bin/cc -DC_VSX_FOUND  -fopenmp -DNDEBUG -mvsx -fPIE -o CMakeFiles/cmTC_bea41.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  298. cc: error: unrecognized command-line option ‘-mvsx’
  299. make[1]: *** [CMakeFiles/cmTC_bea41.dir/build.make:78: CMakeFiles/cmTC_bea41.dir/src.c.o] Error 1
  300. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  301. make: *** [Makefile:127: cmTC_bea41/fast] Error 2
  302.  
  303.  
  304. Source file was:
  305. #include <altivec.h>
  306.      int main() {
  307.      float __attribute__((aligned(16))) vptr_y[8]   = { 1.0f,2.f,3.f,4.f,4.f,3.f,2.f,1.f };
  308.      __vector float v_result = vec_add(vec_vsx_ld(0, vptr_y), vec_vsx_ld(16, vptr_y));
  309.      return 0;
  310.      }
  311. Performing C++ SOURCE FILE Test CXX_VSX_FOUND failed with the following output:
  312. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  313.  
  314. Run Build Command(s):/usr/bin/make -f Makefile cmTC_769bf/fast && /usr/bin/make  -f CMakeFiles/cmTC_769bf.dir/build.make CMakeFiles/cmTC_769bf.dir/build
  315. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  316. Building CXX object CMakeFiles/cmTC_769bf.dir/src.cxx.o
  317. /usr/bin/c++ -DCXX_VSX_FOUND  -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -mvsx -fPIE -o CMakeFiles/cmTC_769bf.dir/src.cxx.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.cxx
  318. c++: error: unrecognized command-line option ‘-mvsx’
  319. make[1]: *** [CMakeFiles/cmTC_769bf.dir/build.make:78: CMakeFiles/cmTC_769bf.dir/src.cxx.o] Error 1
  320. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  321. make: *** [Makefile:127: cmTC_769bf/fast] Error 2
  322.  
  323.  
  324. Source file was:
  325. #include <altivec.h>
  326.      int main() {
  327.      float __attribute__((aligned(16))) vptr_y[8]   = { 1.0f,2.f,3.f,4.f,4.f,3.f,2.f,1.f };
  328.      __vector float v_result = vec_add(vec_vsx_ld(0, vptr_y), vec_vsx_ld(16, vptr_y));
  329.      return 0;
  330.      }
  331. Performing C SOURCE FILE Test C_HAS_AVX_1 failed with the following output:
  332. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  333.  
  334. Run Build Command(s):/usr/bin/make -f Makefile cmTC_f8977/fast && /usr/bin/make  -f CMakeFiles/cmTC_f8977.dir/build.make CMakeFiles/cmTC_f8977.dir/build
  335. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  336. Building C object CMakeFiles/cmTC_f8977.dir/src.c.o
  337. /usr/bin/cc -DC_HAS_AVX_1  -fopenmp -DNDEBUG   -fPIE -o CMakeFiles/cmTC_f8977.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  338. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  339. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  340.    7 |     a = _mm256_set1_ps(0);
  341.      |     ~~^~~~~~~~~~~~~~~~~~~
  342. In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
  343.                 from ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:2:
  344. /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1311:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_set1_ps’: target specific option mismatch
  345. 1311 | _mm256_set1_ps (float __A)
  346.      | ^~~~~~~~~~~~~~
  347. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:9: note: called from here
  348.    7 |     a = _mm256_set1_ps(0);
  349.      |         ^~~~~~~~~~~~~~~~~
  350. make[1]: *** [CMakeFiles/cmTC_f8977.dir/build.make:78: CMakeFiles/cmTC_f8977.dir/src.c.o] Error 1
  351. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  352. make: *** [Makefile:127: cmTC_f8977/fast] Error 2
  353.  
  354.  
  355. Source file was:
  356.  
  357.  #include <immintrin.h>
  358.  
  359.  int main()
  360.  {
  361.    __m256 a;
  362.    a = _mm256_set1_ps(0);
  363.    return 0;
  364.  }
  365.  
  366. Performing C SOURCE FILE Test C_HAS_AVX2_1 failed with the following output:
  367. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  368.  
  369. Run Build Command(s):/usr/bin/make -f Makefile cmTC_c9a21/fast && /usr/bin/make  -f CMakeFiles/cmTC_c9a21.dir/build.make CMakeFiles/cmTC_c9a21.dir/build
  370. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  371. Building C object CMakeFiles/cmTC_c9a21.dir/src.c.o
  372. /usr/bin/cc -DC_HAS_AVX2_1  -fopenmp -DNDEBUG   -fPIE -o CMakeFiles/cmTC_c9a21.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  373. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  374. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  375.    7 |     a = _mm256_abs_epi16(a);
  376.      |     ~~^~~~~~~~~~~~~~~~~~~~~
  377. In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
  378.                 from ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:2:
  379. /usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:63:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_abs_epi16’: target specific option mismatch
  380.   63 | _mm256_abs_epi16 (__m256i __A)
  381.      | ^~~~~~~~~~~~~~~~
  382. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:9: note: called from here
  383.    7 |     a = _mm256_abs_epi16(a);
  384.      |         ^~~~~~~~~~~~~~~~~~~
  385. make[1]: *** [CMakeFiles/cmTC_c9a21.dir/build.make:78: CMakeFiles/cmTC_c9a21.dir/src.c.o] Error 1
  386. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  387. make: *** [Makefile:127: cmTC_c9a21/fast] Error 2
  388.  
  389.  
  390. Source file was:
  391.  
  392.  #include <immintrin.h>
  393.  
  394.  int main()
  395.  {
  396.    __m256i a = {0};
  397.    a = _mm256_abs_epi16(a);
  398.    __m256i x;
  399.    _mm256_extract_epi64(x, 0); // we rely on this in our AVX2 code
  400.    return 0;
  401.  }
  402.  
  403. Performing C SOURCE FILE Test CXX_HAS_AVX_1 failed with the following output:
  404. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  405.  
  406. Run Build Command(s):/usr/bin/make -f Makefile cmTC_c7d3b/fast && /usr/bin/make  -f CMakeFiles/cmTC_c7d3b.dir/build.make CMakeFiles/cmTC_c7d3b.dir/build
  407. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  408. Building C object CMakeFiles/cmTC_c7d3b.dir/src.c.o
  409. /usr/bin/cc -DCXX_HAS_AVX_1  -fopenmp -DNDEBUG   -fPIE -o CMakeFiles/cmTC_c7d3b.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  410. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  411. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  412.    7 |     a = _mm256_set1_ps(0);
  413.      |     ~~^~~~~~~~~~~~~~~~~~~
  414. In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
  415.                 from ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:2:
  416. /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1311:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_set1_ps’: target specific option mismatch
  417. 1311 | _mm256_set1_ps (float __A)
  418.      | ^~~~~~~~~~~~~~
  419. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:9: note: called from here
  420.    7 |     a = _mm256_set1_ps(0);
  421.      |         ^~~~~~~~~~~~~~~~~
  422. make[1]: *** [CMakeFiles/cmTC_c7d3b.dir/build.make:78: CMakeFiles/cmTC_c7d3b.dir/src.c.o] Error 1
  423. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  424. make: *** [Makefile:127: cmTC_c7d3b/fast] Error 2
  425.  
  426.  
  427. Source file was:
  428.  
  429.  #include <immintrin.h>
  430.  
  431.  int main()
  432.  {
  433.    __m256 a;
  434.    a = _mm256_set1_ps(0);
  435.    return 0;
  436.  }
  437.  
  438. Performing C SOURCE FILE Test CXX_HAS_AVX2_1 failed with the following output:
  439. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  440.  
  441. Run Build Command(s):/usr/bin/make -f Makefile cmTC_2d873/fast && /usr/bin/make  -f CMakeFiles/cmTC_2d873.dir/build.make CMakeFiles/cmTC_2d873.dir/build
  442. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  443. Building C object CMakeFiles/cmTC_2d873.dir/src.c.o
  444. /usr/bin/cc -DCXX_HAS_AVX2_1  -fopenmp -DNDEBUG   -fPIE -o CMakeFiles/cmTC_2d873.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  445. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  446. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  447.    7 |     a = _mm256_abs_epi16(a);
  448.      |     ~~^~~~~~~~~~~~~~~~~~~~~
  449. In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
  450.                 from ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:2:
  451. /usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:63:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_abs_epi16’: target specific option mismatch
  452.   63 | _mm256_abs_epi16 (__m256i __A)
  453.      | ^~~~~~~~~~~~~~~~
  454. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:9: note: called from here
  455.    7 |     a = _mm256_abs_epi16(a);
  456.      |         ^~~~~~~~~~~~~~~~~~~
  457. make[1]: *** [CMakeFiles/cmTC_2d873.dir/build.make:78: CMakeFiles/cmTC_2d873.dir/src.c.o] Error 1
  458. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  459. make: *** [Makefile:127: cmTC_2d873/fast] Error 2
  460.  
  461.  
  462. Source file was:
  463.  
  464.  #include <immintrin.h>
  465.  
  466.  int main()
  467.  {
  468.    __m256i a = {0};
  469.    a = _mm256_abs_epi16(a);
  470.    __m256i x;
  471.    _mm256_extract_epi64(x, 0); // we rely on this in our AVX2 code
  472.    return 0;
  473.  }
  474.  
  475. Determining if the strtod_l exist failed with the following output:
  476. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  477.  
  478. Run Build Command(s):/usr/bin/make -f Makefile cmTC_e8c54/fast && /usr/bin/make  -f CMakeFiles/cmTC_e8c54.dir/build.make CMakeFiles/cmTC_e8c54.dir/build
  479. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  480. Building C object CMakeFiles/cmTC_e8c54.dir/CheckSymbolExists.c.o
  481. /usr/bin/cc   -fopenmp -DNDEBUG  -fPIE -std=gnu11 -o CMakeFiles/cmTC_e8c54.dir/CheckSymbolExists.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  482. ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
  483. ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘strtod_l’ undeclared (first use in this function); did you mean ‘strtoull’?
  484.    8 |   return ((int*)(&strtod_l))[argc];
  485.      |                   ^~~~~~~~
  486.      |                   strtoull
  487. ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
  488. make[1]: *** [CMakeFiles/cmTC_e8c54.dir/build.make:78: CMakeFiles/cmTC_e8c54.dir/CheckSymbolExists.c.o] Error 1
  489. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  490. make: *** [Makefile:127: cmTC_e8c54/fast] Error 2
  491.  
  492.  
  493. File ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  494. /* */
  495. #include <stdlib.h>
  496.  
  497. int main(int argc, char** argv)
  498. {
  499.  (void)argv;
  500. #ifndef strtod_l
  501.  return ((int*)(&strtod_l))[argc];
  502. #else
  503.  (void)argc;
  504.  return 0;
  505. #endif
  506. }
  507. Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
  508. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  509.  
  510. Run Build Command(s):/usr/bin/make -f Makefile cmTC_b2952/fast && /usr/bin/make  -f CMakeFiles/cmTC_b2952.dir/build.make CMakeFiles/cmTC_b2952.dir/build
  511. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  512. Building C object CMakeFiles/cmTC_b2952.dir/src.c.o
  513. /usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD  -fPIE -o CMakeFiles/cmTC_b2952.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  514. Linking C executable cmTC_b2952
  515. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b2952.dir/link.txt --verbose=1
  516. /usr/bin/cc  -rdynamic  CMakeFiles/cmTC_b2952.dir/src.c.o -o cmTC_b2952
  517. /usr/bin/ld: CMakeFiles/cmTC_b2952.dir/src.c.o: in function `main':
  518. src.c:(.text+0x46): undefined reference to `pthread_create'
  519. /usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach'
  520. /usr/bin/ld: src.c:(.text+0x5e): undefined reference to `pthread_cancel'
  521. /usr/bin/ld: src.c:(.text+0x6f): undefined reference to `pthread_join'
  522. collect2: error: ld returned 1 exit status
  523. make[1]: *** [CMakeFiles/cmTC_b2952.dir/build.make:99: cmTC_b2952] Error 1
  524. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  525. make: *** [Makefile:127: cmTC_b2952/fast] Error 2
  526.  
  527.  
  528. Source file was:
  529. #include <pthread.h>
  530.  
  531. static void* test_func(void* data)
  532. {
  533.   return data;
  534. }
  535.  
  536. int main(void)
  537. {
  538.   pthread_t thread;
  539.   pthread_create(&thread, NULL, test_func, NULL);
  540.   pthread_detach(thread);
  541.   pthread_cancel(thread);
  542.   pthread_join(thread, NULL);
  543.   pthread_atfork(NULL, NULL, NULL);
  544.   pthread_exit(NULL);
  545.  
  546.   return 0;
  547. }
  548.  
  549. Performing C SOURCE FILE Test BLAS_F2C_DOUBLE_WORKS failed with the following compile output:
  550. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  551.  
  552. Run Build Command(s):/usr/bin/make -f Makefile cmTC_87f9e/fast && /usr/bin/make  -f CMakeFiles/cmTC_87f9e.dir/build.make CMakeFiles/cmTC_87f9e.dir/build
  553. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  554. Building C object CMakeFiles/cmTC_87f9e.dir/src.c.o
  555. /usr/bin/cc -DBLAS_F2C_DOUBLE_WORKS   -o CMakeFiles/cmTC_87f9e.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  556. Linking C executable cmTC_87f9e
  557. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_87f9e.dir/link.txt --verbose=1
  558. /usr/bin/cc  -rdynamic  CMakeFiles/cmTC_87f9e.dir/src.c.o -o cmTC_87f9e  /usr/lib/x86_64-linux-gnu/libopenblas.so
  559. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  560.  
  561.  
  562. ...and run output:
  563.  
  564. Return value: 1
  565. Source file was:
  566.  
  567. #include <stdlib.h>
  568. #include <stdio.h>
  569. float x[4] = { 1, 2, 3, 4 };
  570. float y[4] = { .1, .01, .001, .0001 };
  571. int four = 4;
  572. int one = 1;
  573. extern double sdot_();
  574. int main() {
  575.   int i;
  576.   double r = sdot_(&four, x, &one, y, &one);
  577.   exit((float)r != (float).1234);
  578. }
  579. Performing C SOURCE FILE Test NNPACK_ARCH_IS_X86_32 failed with the following output:
  580. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  581.  
  582. Run Build Command(s):/usr/bin/make -f Makefile cmTC_6fe8a/fast && /usr/bin/make  -f CMakeFiles/cmTC_6fe8a.dir/build.make CMakeFiles/cmTC_6fe8a.dir/build
  583. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  584. Building C object CMakeFiles/cmTC_6fe8a.dir/src.c.o
  585. /usr/bin/cc -DNNPACK_ARCH_IS_X86_32   -o CMakeFiles/cmTC_6fe8a.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  586. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:3:10: error: #error AVX only on x86_64
  587.     3 |         #error AVX only on x86_64
  588.       |          ^~~~~
  589. make[1]: *** [CMakeFiles/cmTC_6fe8a.dir/build.make:78: CMakeFiles/cmTC_6fe8a.dir/src.c.o] Error 1
  590. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  591. make: *** [Makefile:127: cmTC_6fe8a/fast] Error 2
  592.  
  593.  
  594. Source file was:
  595.  
  596.       #if ! (defined(__i386) || defined(_M_IX86))
  597.         #error AVX only on x86_64
  598.       #endif
  599.       int main() {
  600.         return 0;
  601.       }
  602. Performing C SOURCE FILE Test UV_LINT_W4 failed with the following output:
  603. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  604.  
  605. Run Build Command(s):/usr/bin/make -f Makefile cmTC_99cec/fast && /usr/bin/make  -f CMakeFiles/cmTC_99cec.dir/build.make CMakeFiles/cmTC_99cec.dir/build
  606. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  607. Building C object CMakeFiles/cmTC_99cec.dir/src.c.o
  608. /usr/bin/cc -DUV_LINT_W4  -fopenmp    /W4 -o CMakeFiles/cmTC_99cec.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  609. cc: error: /W4: No such file or directory
  610. make[1]: *** [CMakeFiles/cmTC_99cec.dir/build.make:78: CMakeFiles/cmTC_99cec.dir/src.c.o] Error 1
  611. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  612. make: *** [Makefile:127: cmTC_99cec/fast] Error 2
  613.  
  614.  
  615. Source file was:
  616. int main(void) { return 0; }
  617. Performing C SOURCE FILE Test UV_LINT_NO_UNUSED_PARAMETER_MSVC failed with the following output:
  618. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  619.  
  620. Run Build Command(s):/usr/bin/make -f Makefile cmTC_1724d/fast && /usr/bin/make  -f CMakeFiles/cmTC_1724d.dir/build.make CMakeFiles/cmTC_1724d.dir/build
  621. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  622. Building C object CMakeFiles/cmTC_1724d.dir/src.c.o
  623. /usr/bin/cc -DUV_LINT_NO_UNUSED_PARAMETER_MSVC  -fopenmp    /wd4100 -o CMakeFiles/cmTC_1724d.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  624. cc: error: /wd4100: No such file or directory
  625. make[1]: *** [CMakeFiles/cmTC_1724d.dir/build.make:78: CMakeFiles/cmTC_1724d.dir/src.c.o] Error 1
  626. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  627. make: *** [Makefile:127: cmTC_1724d/fast] Error 2
  628.  
  629.  
  630. Source file was:
  631. int main(void) { return 0; }
  632. Performing C SOURCE FILE Test UV_LINT_NO_CONDITIONAL_CONSTANT_MSVC failed with the following output:
  633. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  634.  
  635. Run Build Command(s):/usr/bin/make -f Makefile cmTC_6dc72/fast && /usr/bin/make  -f CMakeFiles/cmTC_6dc72.dir/build.make CMakeFiles/cmTC_6dc72.dir/build
  636. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  637. Building C object CMakeFiles/cmTC_6dc72.dir/src.c.o
  638. /usr/bin/cc -DUV_LINT_NO_CONDITIONAL_CONSTANT_MSVC  -fopenmp    /wd4127 -o CMakeFiles/cmTC_6dc72.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  639. cc: error: /wd4127: No such file or directory
  640. make[1]: *** [CMakeFiles/cmTC_6dc72.dir/build.make:78: CMakeFiles/cmTC_6dc72.dir/src.c.o] Error 1
  641. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  642. make: *** [Makefile:127: cmTC_6dc72/fast] Error 2
  643.  
  644.  
  645. Source file was:
  646. int main(void) { return 0; }
  647. Performing C SOURCE FILE Test UV_LINT_NO_NONSTANDARD_MSVC failed with the following output:
  648. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  649.  
  650. Run Build Command(s):/usr/bin/make -f Makefile cmTC_ee3cc/fast && /usr/bin/make  -f CMakeFiles/cmTC_ee3cc.dir/build.make CMakeFiles/cmTC_ee3cc.dir/build
  651. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  652. Building C object CMakeFiles/cmTC_ee3cc.dir/src.c.o
  653. /usr/bin/cc -DUV_LINT_NO_NONSTANDARD_MSVC  -fopenmp    /wd4201 -o CMakeFiles/cmTC_ee3cc.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  654. cc: error: /wd4201: No such file or directory
  655. make[1]: *** [CMakeFiles/cmTC_ee3cc.dir/build.make:78: CMakeFiles/cmTC_ee3cc.dir/src.c.o] Error 1
  656. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  657. make: *** [Makefile:127: cmTC_ee3cc/fast] Error 2
  658.  
  659.  
  660. Source file was:
  661. int main(void) { return 0; }
  662. Performing C SOURCE FILE Test UV_LINT_NO_NONSTANDARD_EMPTY_TU_MSVC failed with the following output:
  663. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  664.  
  665. Run Build Command(s):/usr/bin/make -f Makefile cmTC_e1fd1/fast && /usr/bin/make  -f CMakeFiles/cmTC_e1fd1.dir/build.make CMakeFiles/cmTC_e1fd1.dir/build
  666. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  667. Building C object CMakeFiles/cmTC_e1fd1.dir/src.c.o
  668. /usr/bin/cc -DUV_LINT_NO_NONSTANDARD_EMPTY_TU_MSVC  -fopenmp    /wd4206 -o CMakeFiles/cmTC_e1fd1.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  669. cc: error: /wd4206: No such file or directory
  670. make[1]: *** [CMakeFiles/cmTC_e1fd1.dir/build.make:78: CMakeFiles/cmTC_e1fd1.dir/src.c.o] Error 1
  671. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  672. make: *** [Makefile:127: cmTC_e1fd1/fast] Error 2
  673.  
  674.  
  675. Source file was:
  676. int main(void) { return 0; }
  677. Performing C SOURCE FILE Test UV_LINT_NO_NONSTANDARD_FILE_SCOPE_MSVC failed with the following output:
  678. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  679.  
  680. Run Build Command(s):/usr/bin/make -f Makefile cmTC_20f22/fast && /usr/bin/make  -f CMakeFiles/cmTC_20f22.dir/build.make CMakeFiles/cmTC_20f22.dir/build
  681. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  682. Building C object CMakeFiles/cmTC_20f22.dir/src.c.o
  683. /usr/bin/cc -DUV_LINT_NO_NONSTANDARD_FILE_SCOPE_MSVC  -fopenmp    /wd4210 -o CMakeFiles/cmTC_20f22.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  684. cc: error: /wd4210: No such file or directory
  685. make[1]: *** [CMakeFiles/cmTC_20f22.dir/build.make:78: CMakeFiles/cmTC_20f22.dir/src.c.o] Error 1
  686. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  687. make: *** [Makefile:127: cmTC_20f22/fast] Error 2
  688.  
  689.  
  690. Source file was:
  691. int main(void) { return 0; }
  692. Performing C SOURCE FILE Test UV_LINT_NO_NONSTANDARD_NONSTATIC_DLIMPORT_MSVC failed with the following output:
  693. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  694.  
  695. Run Build Command(s):/usr/bin/make -f Makefile cmTC_a1d23/fast && /usr/bin/make  -f CMakeFiles/cmTC_a1d23.dir/build.make CMakeFiles/cmTC_a1d23.dir/build
  696. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  697. Building C object CMakeFiles/cmTC_a1d23.dir/src.c.o
  698. /usr/bin/cc -DUV_LINT_NO_NONSTANDARD_NONSTATIC_DLIMPORT_MSVC  -fopenmp    /wd4232 -o CMakeFiles/cmTC_a1d23.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  699. cc: error: /wd4232: No such file or directory
  700. make[1]: *** [CMakeFiles/cmTC_a1d23.dir/build.make:78: CMakeFiles/cmTC_a1d23.dir/src.c.o] Error 1
  701. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  702. make: *** [Makefile:127: cmTC_a1d23/fast] Error 2
  703.  
  704.  
  705. Source file was:
  706. int main(void) { return 0; }
  707. Performing C SOURCE FILE Test UV_LINT_NO_HIDES_LOCAL failed with the following output:
  708. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  709.  
  710. Run Build Command(s):/usr/bin/make -f Makefile cmTC_f6778/fast && /usr/bin/make  -f CMakeFiles/cmTC_f6778.dir/build.make CMakeFiles/cmTC_f6778.dir/build
  711. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  712. Building C object CMakeFiles/cmTC_f6778.dir/src.c.o
  713. /usr/bin/cc -DUV_LINT_NO_HIDES_LOCAL  -fopenmp    /wd4456 -o CMakeFiles/cmTC_f6778.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  714. cc: error: /wd4456: No such file or directory
  715. make[1]: *** [CMakeFiles/cmTC_f6778.dir/build.make:78: CMakeFiles/cmTC_f6778.dir/src.c.o] Error 1
  716. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  717. make: *** [Makefile:127: cmTC_f6778/fast] Error 2
  718.  
  719.  
  720. Source file was:
  721. int main(void) { return 0; }
  722. Performing C SOURCE FILE Test UV_LINT_NO_HIDES_PARAM failed with the following output:
  723. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  724.  
  725. Run Build Command(s):/usr/bin/make -f Makefile cmTC_204a7/fast && /usr/bin/make  -f CMakeFiles/cmTC_204a7.dir/build.make CMakeFiles/cmTC_204a7.dir/build
  726. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  727. Building C object CMakeFiles/cmTC_204a7.dir/src.c.o
  728. /usr/bin/cc -DUV_LINT_NO_HIDES_PARAM  -fopenmp    /wd4457 -o CMakeFiles/cmTC_204a7.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  729. cc: error: /wd4457: No such file or directory
  730. make[1]: *** [CMakeFiles/cmTC_204a7.dir/build.make:78: CMakeFiles/cmTC_204a7.dir/src.c.o] Error 1
  731. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  732. make: *** [Makefile:127: cmTC_204a7/fast] Error 2
  733.  
  734.  
  735. Source file was:
  736. int main(void) { return 0; }
  737. Performing C SOURCE FILE Test UV_LINT_NO_HIDES_GLOBAL failed with the following output:
  738. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  739.  
  740. Run Build Command(s):/usr/bin/make -f Makefile cmTC_105cc/fast && /usr/bin/make  -f CMakeFiles/cmTC_105cc.dir/build.make CMakeFiles/cmTC_105cc.dir/build
  741. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  742. Building C object CMakeFiles/cmTC_105cc.dir/src.c.o
  743. /usr/bin/cc -DUV_LINT_NO_HIDES_GLOBAL  -fopenmp    /wd4459 -o CMakeFiles/cmTC_105cc.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  744. cc: error: /wd4459: No such file or directory
  745. make[1]: *** [CMakeFiles/cmTC_105cc.dir/build.make:78: CMakeFiles/cmTC_105cc.dir/src.c.o] Error 1
  746. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  747. make: *** [Makefile:127: cmTC_105cc/fast] Error 2
  748.  
  749.  
  750. Source file was:
  751. int main(void) { return 0; }
  752. Performing C SOURCE FILE Test UV_LINT_NO_CONDITIONAL_ASSIGNMENT_MSVC failed with the following output:
  753. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  754.  
  755. Run Build Command(s):/usr/bin/make -f Makefile cmTC_de6a3/fast && /usr/bin/make  -f CMakeFiles/cmTC_de6a3.dir/build.make CMakeFiles/cmTC_de6a3.dir/build
  756. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  757. Building C object CMakeFiles/cmTC_de6a3.dir/src.c.o
  758. /usr/bin/cc -DUV_LINT_NO_CONDITIONAL_ASSIGNMENT_MSVC  -fopenmp    /wd4706 -o CMakeFiles/cmTC_de6a3.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  759. cc: error: /wd4706: No such file or directory
  760. make[1]: *** [CMakeFiles/cmTC_de6a3.dir/build.make:78: CMakeFiles/cmTC_de6a3.dir/src.c.o] Error 1
  761. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  762. make: *** [Makefile:127: cmTC_de6a3/fast] Error 2
  763.  
  764.  
  765. Source file was:
  766. int main(void) { return 0; }
  767. Performing C SOURCE FILE Test UV_LINT_NO_UNSAFE_MSVC failed with the following output:
  768. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  769.  
  770. Run Build Command(s):/usr/bin/make -f Makefile cmTC_75edb/fast && /usr/bin/make  -f CMakeFiles/cmTC_75edb.dir/build.make CMakeFiles/cmTC_75edb.dir/build
  771. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  772. Building C object CMakeFiles/cmTC_75edb.dir/src.c.o
  773. /usr/bin/cc -DUV_LINT_NO_UNSAFE_MSVC  -fopenmp    /wd4996 -o CMakeFiles/cmTC_75edb.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  774. cc: error: /wd4996: No such file or directory
  775. make[1]: *** [CMakeFiles/cmTC_75edb.dir/build.make:78: CMakeFiles/cmTC_75edb.dir/src.c.o] Error 1
  776. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  777. make: *** [Makefile:127: cmTC_75edb/fast] Error 2
  778.  
  779.  
  780. Source file was:
  781. int main(void) { return 0; }
  782. Performing C SOURCE FILE Test UV_LINT_UTF8_MSVC failed with the following output:
  783. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  784.  
  785. Run Build Command(s):/usr/bin/make -f Makefile cmTC_742f5/fast && /usr/bin/make  -f CMakeFiles/cmTC_742f5.dir/build.make CMakeFiles/cmTC_742f5.dir/build
  786. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  787. Building C object CMakeFiles/cmTC_742f5.dir/src.c.o
  788. /usr/bin/cc -DUV_LINT_UTF8_MSVC  -fopenmp    /utf-8 -o CMakeFiles/cmTC_742f5.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  789. cc: error: /utf-8: No such file or directory
  790. make[1]: *** [CMakeFiles/cmTC_742f5.dir/build.make:78: CMakeFiles/cmTC_742f5.dir/src.c.o] Error 1
  791. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  792. make: *** [Makefile:127: cmTC_742f5/fast] Error 2
  793.  
  794.  
  795. Source file was:
  796. int main(void) { return 0; }
  797. Performing C SOURCE FILE Test C_VSX_FOUND failed with the following output:
  798. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  799.  
  800. Run Build Command(s):/usr/bin/make -f Makefile cmTC_33b31/fast && /usr/bin/make  -f CMakeFiles/cmTC_33b31.dir/build.make CMakeFiles/cmTC_33b31.dir/build
  801. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  802. Building C object CMakeFiles/cmTC_33b31.dir/src.c.o
  803. /usr/bin/cc -DC_VSX_FOUND -I/usr/local/magma/include -I/usr/local/cuda/include -fopenmp -DNDEBUG -mvsx -fPIE -o CMakeFiles/cmTC_33b31.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  804. cc: error: unrecognized command-line option ‘-mvsx’
  805. make[1]: *** [CMakeFiles/cmTC_33b31.dir/build.make:78: CMakeFiles/cmTC_33b31.dir/src.c.o] Error 1
  806. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  807. make: *** [Makefile:127: cmTC_33b31/fast] Error 2
  808.  
  809.  
  810. Source file was:
  811.  #include <altivec.h>
  812.       int main() {
  813.       float __attribute__((aligned(16))) vptr_y[8]   = { 1.0f,2.f,3.f,4.f,4.f,3.f,2.f,1.f };
  814.       __vector float v_result = vec_add(vec_vsx_ld(0, vptr_y), vec_vsx_ld(16, vptr_y));
  815.       return 0;
  816.       }
  817. Performing C++ SOURCE FILE Test CXX_VSX_FOUND failed with the following output:
  818. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  819.  
  820. Run Build Command(s):/usr/bin/make -f Makefile cmTC_3ecce/fast && /usr/bin/make  -f CMakeFiles/cmTC_3ecce.dir/build.make CMakeFiles/cmTC_3ecce.dir/build
  821. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  822. Building CXX object CMakeFiles/cmTC_3ecce.dir/src.cxx.o
  823. /usr/bin/c++ -DCXX_VSX_FOUND -I/usr/local/magma/include -I/usr/local/cuda/include -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -mvsx -fPIE -o CMakeFiles/cmTC_3ecce.dir/src.cxx.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.cxx
  824. c++: error: unrecognized command-line option ‘-mvsx’
  825. make[1]: *** [CMakeFiles/cmTC_3ecce.dir/build.make:78: CMakeFiles/cmTC_3ecce.dir/src.cxx.o] Error 1
  826. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  827. make: *** [Makefile:127: cmTC_3ecce/fast] Error 2
  828.  
  829.  
  830. Source file was:
  831.  #include <altivec.h>
  832.       int main() {
  833.       float __attribute__((aligned(16))) vptr_y[8]   = { 1.0f,2.f,3.f,4.f,4.f,3.f,2.f,1.f };
  834.       __vector float v_result = vec_add(vec_vsx_ld(0, vptr_y), vec_vsx_ld(16, vptr_y));
  835.       return 0;
  836.       }
  837. Performing C SOURCE FILE Test C_HAS_AVX_1 failed with the following output:
  838. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  839.  
  840. Run Build Command(s):/usr/bin/make -f Makefile cmTC_f4601/fast && /usr/bin/make  -f CMakeFiles/cmTC_f4601.dir/build.make CMakeFiles/cmTC_f4601.dir/build
  841. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  842. Building C object CMakeFiles/cmTC_f4601.dir/src.c.o
  843. /usr/bin/cc -DC_HAS_AVX_1 -I/usr/local/magma/include -I/usr/local/cuda/include -fopenmp -DNDEBUG   -fPIE -o CMakeFiles/cmTC_f4601.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  844. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  845. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  846.     7 |     a = _mm256_set1_ps(0);
  847.       |     ~~^~~~~~~~~~~~~~~~~~~
  848. In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
  849.                  from ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:2:
  850. /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1311:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_set1_ps’: target specific option mismatch
  851.  1311 | _mm256_set1_ps (float __A)
  852.       | ^~~~~~~~~~~~~~
  853. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:9: note: called from here
  854.     7 |     a = _mm256_set1_ps(0);
  855.       |         ^~~~~~~~~~~~~~~~~
  856. make[1]: *** [CMakeFiles/cmTC_f4601.dir/build.make:78: CMakeFiles/cmTC_f4601.dir/src.c.o] Error 1
  857. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  858. make: *** [Makefile:127: cmTC_f4601/fast] Error 2
  859.  
  860.  
  861. Source file was:
  862.  
  863.   #include <immintrin.h>
  864.  
  865.   int main()
  866.   {
  867.     __m256 a;
  868.     a = _mm256_set1_ps(0);
  869.     return 0;
  870.   }
  871.  
  872. Performing C SOURCE FILE Test C_HAS_AVX2_1 failed with the following output:
  873. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  874.  
  875. Run Build Command(s):/usr/bin/make -f Makefile cmTC_938e5/fast && /usr/bin/make  -f CMakeFiles/cmTC_938e5.dir/build.make CMakeFiles/cmTC_938e5.dir/build
  876. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  877. Building C object CMakeFiles/cmTC_938e5.dir/src.c.o
  878. /usr/bin/cc -DC_HAS_AVX2_1 -I/usr/local/magma/include -I/usr/local/cuda/include -fopenmp -DNDEBUG   -fPIE -o CMakeFiles/cmTC_938e5.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  879. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  880. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  881.     7 |     a = _mm256_abs_epi16(a);
  882.       |     ~~^~~~~~~~~~~~~~~~~~~~~
  883. In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
  884.                  from ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:2:
  885. /usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:63:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_abs_epi16’: target specific option mismatch
  886.    63 | _mm256_abs_epi16 (__m256i __A)
  887.       | ^~~~~~~~~~~~~~~~
  888. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:9: note: called from here
  889.     7 |     a = _mm256_abs_epi16(a);
  890.       |         ^~~~~~~~~~~~~~~~~~~
  891. make[1]: *** [CMakeFiles/cmTC_938e5.dir/build.make:78: CMakeFiles/cmTC_938e5.dir/src.c.o] Error 1
  892. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  893. make: *** [Makefile:127: cmTC_938e5/fast] Error 2
  894.  
  895.  
  896. Source file was:
  897.  
  898.   #include <immintrin.h>
  899.  
  900.   int main()
  901.   {
  902.     __m256i a = {0};
  903.     a = _mm256_abs_epi16(a);
  904.     __m256i x;
  905.     _mm256_extract_epi64(x, 0); // we rely on this in our AVX2 code
  906.     return 0;
  907.   }
  908.  
  909. Performing C SOURCE FILE Test CXX_HAS_AVX_1 failed with the following output:
  910. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  911.  
  912. Run Build Command(s):/usr/bin/make -f Makefile cmTC_e1ddb/fast && /usr/bin/make  -f CMakeFiles/cmTC_e1ddb.dir/build.make CMakeFiles/cmTC_e1ddb.dir/build
  913. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  914. Building C object CMakeFiles/cmTC_e1ddb.dir/src.c.o
  915. /usr/bin/cc -DCXX_HAS_AVX_1 -I/usr/local/magma/include -I/usr/local/cuda/include -fopenmp -DNDEBUG   -fPIE -o CMakeFiles/cmTC_e1ddb.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  916. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  917. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  918.     7 |     a = _mm256_set1_ps(0);
  919.       |     ~~^~~~~~~~~~~~~~~~~~~
  920. In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
  921.                  from ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:2:
  922. /usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1311:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_set1_ps’: target specific option mismatch
  923.  1311 | _mm256_set1_ps (float __A)
  924.       | ^~~~~~~~~~~~~~
  925. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:9: note: called from here
  926.     7 |     a = _mm256_set1_ps(0);
  927.       |         ^~~~~~~~~~~~~~~~~
  928. make[1]: *** [CMakeFiles/cmTC_e1ddb.dir/build.make:78: CMakeFiles/cmTC_e1ddb.dir/src.c.o] Error 1
  929. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  930. make: *** [Makefile:127: cmTC_e1ddb/fast] Error 2
  931.  
  932.  
  933. Source file was:
  934.  
  935.   #include <immintrin.h>
  936.  
  937.   int main()
  938.   {
  939.     __m256 a;
  940.     a = _mm256_set1_ps(0);
  941.     return 0;
  942.   }
  943.  
  944. Performing C SOURCE FILE Test CXX_HAS_AVX2_1 failed with the following output:
  945. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  946.  
  947. Run Build Command(s):/usr/bin/make -f Makefile cmTC_015f5/fast && /usr/bin/make  -f CMakeFiles/cmTC_015f5.dir/build.make CMakeFiles/cmTC_015f5.dir/build
  948. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  949. Building C object CMakeFiles/cmTC_015f5.dir/src.c.o
  950. /usr/bin/cc -DCXX_HAS_AVX2_1 -I/usr/local/magma/include -I/usr/local/cuda/include -fopenmp -DNDEBUG   -fPIE -o CMakeFiles/cmTC_015f5.dir/src.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/src.c
  951. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  952. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  953.     7 |     a = _mm256_abs_epi16(a);
  954.       |     ~~^~~~~~~~~~~~~~~~~~~~~
  955. In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
  956.                  from ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:2:
  957. /usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:63:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_abs_epi16’: target specific option mismatch
  958.    63 | _mm256_abs_epi16 (__m256i __A)
  959.       | ^~~~~~~~~~~~~~~~
  960. ....../pytorch/build/CMakeFiles/CMakeTmp/src.c:7:9: note: called from here
  961.     7 |     a = _mm256_abs_epi16(a);
  962.       |         ^~~~~~~~~~~~~~~~~~~
  963. make[1]: *** [CMakeFiles/cmTC_015f5.dir/build.make:78: CMakeFiles/cmTC_015f5.dir/src.c.o] Error 1
  964. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  965. make: *** [Makefile:127: cmTC_015f5/fast] Error 2
  966.  
  967.  
  968. Source file was:
  969.  
  970.   #include <immintrin.h>
  971.  
  972.   int main()
  973.   {
  974.     __m256i a = {0};
  975.     a = _mm256_abs_epi16(a);
  976.     __m256i x;
  977.     _mm256_extract_epi64(x, 0); // we rely on this in our AVX2 code
  978.     return 0;
  979.   }
  980.  
  981. Determining if the strtod_l exist failed with the following output:
  982. Change Dir: ....../pytorch/build/CMakeFiles/CMakeTmp
  983.  
  984. Run Build Command(s):/usr/bin/make -f Makefile cmTC_d5b8d/fast && /usr/bin/make  -f CMakeFiles/cmTC_d5b8d.dir/build.make CMakeFiles/cmTC_d5b8d.dir/build
  985. make[1]: Entering directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  986. Building C object CMakeFiles/cmTC_d5b8d.dir/CheckSymbolExists.c.o
  987. /usr/bin/cc  -I/usr/local/magma/include -I/usr/local/cuda/include -fopenmp -DNDEBUG  -fPIE -std=gnu11 -o CMakeFiles/cmTC_d5b8d.dir/CheckSymbolExists.c.o -c ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  988. ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
  989. ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘strtod_l’ undeclared (first use in this function); did you mean ‘strtoull’?
  990.     8 |   return ((int*)(&strtod_l))[argc];
  991.       |                   ^~~~~~~~
  992.       |                   strtoull
  993. ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
  994. make[1]: *** [CMakeFiles/cmTC_d5b8d.dir/build.make:78: CMakeFiles/cmTC_d5b8d.dir/CheckSymbolExists.c.o] Error 1
  995. make[1]: Leaving directory '....../pytorch/build/CMakeFiles/CMakeTmp'
  996. make: *** [Makefile:127: cmTC_d5b8d/fast] Error 2
  997.  
  998.  
  999. File ....../pytorch/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  1000. /* */
  1001. #include <stdlib.h>
  1002.  
  1003. int main(int argc, char** argv)
  1004. {
  1005.   (void)argv;
  1006. #ifndef strtod_l
  1007.   return ((int*)(&strtod_l))[argc];
  1008. #else
  1009.   (void)argc;
  1010.   return 0;
  1011. #endif
  1012. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement