Advertisement
rajhlinux

Untitled

Sep 26th, 2022 (edited)
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.79 KB | None | 0 0
  1. CMakeError.log file:
  2. --------------------
  3.  
  4. Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
  5. Change Dir: /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp
  6.  
  7. Run Build Command(s):/usr/local/bin/gmake -f Makefile cmTC_ab178/fast && /usr/local/bin/gmake -f CMakeFiles/cmTC_ab178.dir/build.make CMakeFiles/cmTC_ab178.dir/build
  8. gmake[1]: Entering directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  9. Building C object CMakeFiles/cmTC_ab178.dir/src.c.o
  10. /usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -MD -MT CMakeFiles/cmTC_ab178.dir/src.c.o -MF CMakeFiles/cmTC_ab178.dir/src.c.o.d -o CMakeFiles/cmTC_ab178.dir/src.c.o -c /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp/src.c
  11. Linking C executable cmTC_ab178
  12. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ab178.dir/link.txt --verbose=1
  13. /usr/bin/cc CMakeFiles/cmTC_ab178.dir/src.c.o -o cmTC_ab178
  14. ld: error: undefined symbol: pthread_create
  15. >>> referenced by src.c
  16. >>> CMakeFiles/cmTC_ab178.dir/src.c.o:(main)
  17. cc: error: linker command failed with exit code 1 (use -v to see invocation)
  18. gmake[1]: *** [CMakeFiles/cmTC_ab178.dir/build.make:100: cmTC_ab178] Error 1
  19. gmake[1]: Leaving directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  20. gmake: *** [Makefile:127: cmTC_ab178/fast] Error 2
  21.  
  22.  
  23. Source file was:
  24. #include <pthread.h>
  25.  
  26. static void* test_func(void* data)
  27. {
  28. return data;
  29. }
  30.  
  31. int main(void)
  32. {
  33. pthread_t thread;
  34. pthread_create(&thread, NULL, test_func, NULL);
  35. pthread_detach(thread);
  36. pthread_cancel(thread);
  37. pthread_join(thread, NULL);
  38. pthread_atfork(NULL, NULL, NULL);
  39. pthread_exit(NULL);
  40.  
  41. return 0;
  42. }
  43.  
  44. Determining if the function pthread_create exists in the pthreads failed with the following output:
  45. Change Dir: /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp
  46.  
  47. Run Build Command(s):/usr/local/bin/gmake -f Makefile cmTC_ec40e/fast && /usr/local/bin/gmake -f CMakeFiles/cmTC_ec40e.dir/build.make CMakeFiles/cmTC_ec40e.dir/build
  48. gmake[1]: Entering directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  49. Building C object CMakeFiles/cmTC_ec40e.dir/CheckFunctionExists.c.o
  50. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -MD -MT CMakeFiles/cmTC_ec40e.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_ec40e.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_ec40e.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
  51. Linking C executable cmTC_ec40e
  52. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ec40e.dir/link.txt --verbose=1
  53. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_ec40e.dir/CheckFunctionExists.c.o -o cmTC_ec40e -lpthreads
  54. ld: error: unable to find library -lpthreads
  55. cc: error: linker command failed with exit code 1 (use -v to see invocation)
  56. gmake[1]: *** [CMakeFiles/cmTC_ec40e.dir/build.make:100: cmTC_ec40e] Error 1
  57. gmake[1]: Leaving directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  58. gmake: *** [Makefile:127: cmTC_ec40e/fast] Error 2
  59.  
  60.  
  61.  
  62. ---------------------
  63. CMakeOutput.log file:
  64. ---------------------
  65.  
  66.  
  67. The system is: FreeBSD - 13.1-RELEASE-p1 - amd64
  68. Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
  69. Compiler: /usr/bin/cc
  70. Build flags:
  71. Id flags:
  72.  
  73. The output was:
  74. 0
  75.  
  76.  
  77. Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
  78.  
  79. The C compiler identification is Clang, found in "/usr/home/user/caffe-opencl/build/CMakeFiles/3.24.0/CompilerIdC/a.out"
  80.  
  81. Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
  82. Compiler: /usr/bin/c++
  83. Build flags:
  84. Id flags:
  85.  
  86. The output was:
  87. 0
  88.  
  89.  
  90. Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
  91.  
  92. The CXX compiler identification is Clang, found in "/usr/home/user/caffe-opencl/build/CMakeFiles/3.24.0/CompilerIdCXX/a.out"
  93.  
  94. Detecting C compiler ABI info compiled with the following output:
  95. Change Dir: /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp
  96.  
  97. Run Build Command(s):/usr/local/bin/gmake -f Makefile cmTC_cfe00/fast && /usr/local/bin/gmake -f CMakeFiles/cmTC_cfe00.dir/build.make CMakeFiles/cmTC_cfe00.dir/build
  98. gmake[1]: Entering directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  99. Building C object CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o
  100. /usr/bin/cc -v -MD -MT CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -c /usr/local/share/cmake/Modules/CMakeCCompilerABI.c
  101. FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
  102. Target: x86_64-unknown-freebsd13.1
  103. Thread model: posix
  104. InstalledDir: /usr/bin
  105. (in-process)
  106. "/usr/bin/cc" -cc1 -triple x86_64-unknown-freebsd13.1 -emit-obj -mrelax-all --mrelax-relocations -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model static -mframe-pointer=all -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -v -fcoverage-compilation-dir=/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp -resource-dir /usr/lib/clang/13.0.0 -dependency-file CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o.d -MT CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -sys-header-deps -fdebug-compilation-dir=/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fgnuc-version=4.2.1 -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -x c /usr/local/share/cmake/Modules/CMakeCCompilerABI.c
  107. clang -cc1 version 13.0.0 based upon LLVM 13.0.0 default target x86_64-unknown-freebsd13.1
  108. #include "..." search starts here:
  109. #include <...> search starts here:
  110. /usr/lib/clang/13.0.0/include
  111. /usr/include
  112. End of search list.
  113. Linking C executable cmTC_cfe00
  114. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cfe00.dir/link.txt --verbose=1
  115. /usr/bin/cc -v CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -o cmTC_cfe00
  116. FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
  117. Target: x86_64-unknown-freebsd13.1
  118. Thread model: posix
  119. InstalledDir: /usr/bin
  120. "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o cmTC_cfe00 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o
  121. gmake[1]: Leaving directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  122.  
  123.  
  124.  
  125. Parsed C implicit include dir info from above output: rv=done
  126. found start of include info
  127. found start of implicit include info
  128. add: [/usr/lib/clang/13.0.0/include]
  129. add: [/usr/include]
  130. end of search list found
  131. collapse include dir [/usr/lib/clang/13.0.0/include] ==> [/usr/lib/clang/13.0.0/include]
  132. collapse include dir [/usr/include] ==> [/usr/include]
  133. implicit include dirs: [/usr/lib/clang/13.0.0/include;/usr/include]
  134.  
  135.  
  136. Parsed C implicit link information from above output:
  137. link line regex: [^( *|.*[/\])(ld\.lld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  138. ignore line: [Change Dir: /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp]
  139. ignore line: []
  140. ignore line: [Run Build Command(s):/usr/local/bin/gmake -f Makefile cmTC_cfe00/fast && /usr/local/bin/gmake -f CMakeFiles/cmTC_cfe00.dir/build.make CMakeFiles/cmTC_cfe00.dir/build]
  141. ignore line: [gmake[1]: Entering directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp']
  142. ignore line: [Building C object CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o]
  143. ignore line: [/usr/bin/cc -v -MD -MT CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -c /usr/local/share/cmake/Modules/CMakeCCompilerABI.c]
  144. ignore line: [FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)]
  145. ignore line: [Target: x86_64-unknown-freebsd13.1]
  146. ignore line: [Thread model: posix]
  147. ignore line: [InstalledDir: /usr/bin]
  148. ignore line: [ (in-process)]
  149. ignore line: [ "/usr/bin/cc" -cc1 -triple x86_64-unknown-freebsd13.1 -emit-obj -mrelax-all --mrelax-relocations -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model static -mframe-pointer=all -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -v -fcoverage-compilation-dir=/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp -resource-dir /usr/lib/clang/13.0.0 -dependency-file CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o.d -MT CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -sys-header-deps -fdebug-compilation-dir=/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fgnuc-version=4.2.1 -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -x c /usr/local/share/cmake/Modules/CMakeCCompilerABI.c]
  150. ignore line: [clang -cc1 version 13.0.0 based upon LLVM 13.0.0 default target x86_64-unknown-freebsd13.1]
  151. ignore line: [#include "..." search starts here:]
  152. ignore line: [#include <...> search starts here:]
  153. ignore line: [ /usr/lib/clang/13.0.0/include]
  154. ignore line: [ /usr/include]
  155. ignore line: [End of search list.]
  156. ignore line: [Linking C executable cmTC_cfe00]
  157. ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cfe00.dir/link.txt --verbose=1]
  158. ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -o cmTC_cfe00 ]
  159. ignore line: [FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)]
  160. ignore line: [Target: x86_64-unknown-freebsd13.1]
  161. ignore line: [Thread model: posix]
  162. ignore line: [InstalledDir: /usr/bin]
  163. link line: [ "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o cmTC_cfe00 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o]
  164. arg [/usr/bin/ld] ==> ignore
  165. arg [--eh-frame-hdr] ==> ignore
  166. arg [-dynamic-linker] ==> ignore
  167. arg [/libexec/ld-elf.so.1] ==> ignore
  168. arg [--hash-style=both] ==> ignore
  169. arg [--enable-new-dtags] ==> ignore
  170. arg [-o] ==> ignore
  171. arg [cmTC_cfe00] ==> ignore
  172. arg [/usr/lib/crt1.o] ==> obj [/usr/lib/crt1.o]
  173. arg [/usr/lib/crti.o] ==> obj [/usr/lib/crti.o]
  174. arg [/usr/lib/crtbegin.o] ==> obj [/usr/lib/crtbegin.o]
  175. arg [-L/usr/lib] ==> dir [/usr/lib]
  176. arg [CMakeFiles/cmTC_cfe00.dir/CMakeCCompilerABI.c.o] ==> ignore
  177. arg [-lgcc] ==> lib [gcc]
  178. arg [--as-needed] ==> ignore
  179. arg [-lgcc_s] ==> lib [gcc_s]
  180. arg [--no-as-needed] ==> ignore
  181. arg [-lc] ==> lib [c]
  182. arg [-lgcc] ==> lib [gcc]
  183. arg [--as-needed] ==> ignore
  184. arg [-lgcc_s] ==> lib [gcc_s]
  185. arg [--no-as-needed] ==> ignore
  186. arg [/usr/lib/crtend.o] ==> obj [/usr/lib/crtend.o]
  187. arg [/usr/lib/crtn.o] ==> obj [/usr/lib/crtn.o]
  188. collapse library dir [/usr/lib] ==> [/usr/lib]
  189. implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
  190. implicit objs: [/usr/lib/crt1.o;/usr/lib/crti.o;/usr/lib/crtbegin.o;/usr/lib/crtend.o;/usr/lib/crtn.o]
  191. implicit dirs: [/usr/lib]
  192. implicit fwks: []
  193.  
  194.  
  195. Detecting CXX compiler ABI info compiled with the following output:
  196. Change Dir: /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp
  197.  
  198. Run Build Command(s):/usr/local/bin/gmake -f Makefile cmTC_39142/fast && /usr/local/bin/gmake -f CMakeFiles/cmTC_39142.dir/build.make CMakeFiles/cmTC_39142.dir/build
  199. gmake[1]: Entering directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  200. Building CXX object CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o
  201. /usr/bin/c++ -v -MD -MT CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake/Modules/CMakeCXXCompilerABI.cpp
  202. FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
  203. Target: x86_64-unknown-freebsd13.1
  204. Thread model: posix
  205. InstalledDir: /usr/bin
  206. (in-process)
  207. "/usr/bin/c++" -cc1 -triple x86_64-unknown-freebsd13.1 -emit-obj -mrelax-all --mrelax-relocations -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model static -mframe-pointer=all -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -v -fcoverage-compilation-dir=/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp -resource-dir /usr/lib/clang/13.0.0 -dependency-file CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o.d -MT CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -internal-isystem /usr/include/c++/v1 -fdeprecated-macro -fdebug-compilation-dir=/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/local/share/cmake/Modules/CMakeCXXCompilerABI.cpp
  208. clang -cc1 version 13.0.0 based upon LLVM 13.0.0 default target x86_64-unknown-freebsd13.1
  209. #include "..." search starts here:
  210. #include <...> search starts here:
  211. /usr/include/c++/v1
  212. /usr/lib/clang/13.0.0/include
  213. /usr/include
  214. End of search list.
  215. Linking CXX executable cmTC_39142
  216. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_39142.dir/link.txt --verbose=1
  217. /usr/bin/c++ -v CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_39142
  218. FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
  219. Target: x86_64-unknown-freebsd13.1
  220. Thread model: posix
  221. InstalledDir: /usr/bin
  222. "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o cmTC_39142 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lm -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o
  223. gmake[1]: Leaving directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  224.  
  225.  
  226.  
  227. Parsed CXX implicit include dir info from above output: rv=done
  228. found start of include info
  229. found start of implicit include info
  230. add: [/usr/include/c++/v1]
  231. add: [/usr/lib/clang/13.0.0/include]
  232. add: [/usr/include]
  233. end of search list found
  234. collapse include dir [/usr/include/c++/v1] ==> [/usr/include/c++/v1]
  235. collapse include dir [/usr/lib/clang/13.0.0/include] ==> [/usr/lib/clang/13.0.0/include]
  236. collapse include dir [/usr/include] ==> [/usr/include]
  237. implicit include dirs: [/usr/include/c++/v1;/usr/lib/clang/13.0.0/include;/usr/include]
  238.  
  239.  
  240. Parsed CXX implicit link information from above output:
  241. link line regex: [^( *|.*[/\])(ld\.lld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  242. ignore line: [Change Dir: /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp]
  243. ignore line: []
  244. ignore line: [Run Build Command(s):/usr/local/bin/gmake -f Makefile cmTC_39142/fast && /usr/local/bin/gmake -f CMakeFiles/cmTC_39142.dir/build.make CMakeFiles/cmTC_39142.dir/build]
  245. ignore line: [gmake[1]: Entering directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp']
  246. ignore line: [Building CXX object CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o]
  247. ignore line: [/usr/bin/c++ -v -MD -MT CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
  248. ignore line: [FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)]
  249. ignore line: [Target: x86_64-unknown-freebsd13.1]
  250. ignore line: [Thread model: posix]
  251. ignore line: [InstalledDir: /usr/bin]
  252. ignore line: [ (in-process)]
  253. ignore line: [ "/usr/bin/c++" -cc1 -triple x86_64-unknown-freebsd13.1 -emit-obj -mrelax-all --mrelax-relocations -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model static -mframe-pointer=all -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -v -fcoverage-compilation-dir=/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp -resource-dir /usr/lib/clang/13.0.0 -dependency-file CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o.d -MT CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -internal-isystem /usr/include/c++/v1 -fdeprecated-macro -fdebug-compilation-dir=/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/local/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
  254. ignore line: [clang -cc1 version 13.0.0 based upon LLVM 13.0.0 default target x86_64-unknown-freebsd13.1]
  255. ignore line: [#include "..." search starts here:]
  256. ignore line: [#include <...> search starts here:]
  257. ignore line: [ /usr/include/c++/v1]
  258. ignore line: [ /usr/lib/clang/13.0.0/include]
  259. ignore line: [ /usr/include]
  260. ignore line: [End of search list.]
  261. ignore line: [Linking CXX executable cmTC_39142]
  262. ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_39142.dir/link.txt --verbose=1]
  263. ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_39142 ]
  264. ignore line: [FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)]
  265. ignore line: [Target: x86_64-unknown-freebsd13.1]
  266. ignore line: [Thread model: posix]
  267. ignore line: [InstalledDir: /usr/bin]
  268. link line: [ "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o cmTC_39142 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lm -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o]
  269. arg [/usr/bin/ld] ==> ignore
  270. arg [--eh-frame-hdr] ==> ignore
  271. arg [-dynamic-linker] ==> ignore
  272. arg [/libexec/ld-elf.so.1] ==> ignore
  273. arg [--hash-style=both] ==> ignore
  274. arg [--enable-new-dtags] ==> ignore
  275. arg [-o] ==> ignore
  276. arg [cmTC_39142] ==> ignore
  277. arg [/usr/lib/crt1.o] ==> obj [/usr/lib/crt1.o]
  278. arg [/usr/lib/crti.o] ==> obj [/usr/lib/crti.o]
  279. arg [/usr/lib/crtbegin.o] ==> obj [/usr/lib/crtbegin.o]
  280. arg [-L/usr/lib] ==> dir [/usr/lib]
  281. arg [CMakeFiles/cmTC_39142.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
  282. arg [-lc++] ==> lib [c++]
  283. arg [-lm] ==> lib [m]
  284. arg [-lgcc] ==> lib [gcc]
  285. arg [--as-needed] ==> ignore
  286. arg [-lgcc_s] ==> lib [gcc_s]
  287. arg [--no-as-needed] ==> ignore
  288. arg [-lc] ==> lib [c]
  289. arg [-lgcc] ==> lib [gcc]
  290. arg [--as-needed] ==> ignore
  291. arg [-lgcc_s] ==> lib [gcc_s]
  292. arg [--no-as-needed] ==> ignore
  293. arg [/usr/lib/crtend.o] ==> obj [/usr/lib/crtend.o]
  294. arg [/usr/lib/crtn.o] ==> obj [/usr/lib/crtn.o]
  295. collapse library dir [/usr/lib] ==> [/usr/lib]
  296. implicit libs: [c++;m;gcc;gcc_s;c;gcc;gcc_s]
  297. implicit objs: [/usr/lib/crt1.o;/usr/lib/crti.o;/usr/lib/crtbegin.o;/usr/lib/crtend.o;/usr/lib/crtn.o]
  298. implicit dirs: [/usr/lib]
  299. implicit fwks: []
  300.  
  301.  
  302. Determining if the function pthread_create exists in the pthread passed with the following output:
  303. Change Dir: /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp
  304.  
  305. Run Build Command(s):/usr/local/bin/gmake -f Makefile cmTC_7725d/fast && /usr/local/bin/gmake -f CMakeFiles/cmTC_7725d.dir/build.make CMakeFiles/cmTC_7725d.dir/build
  306. gmake[1]: Entering directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  307. Building C object CMakeFiles/cmTC_7725d.dir/CheckFunctionExists.c.o
  308. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -MD -MT CMakeFiles/cmTC_7725d.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_7725d.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_7725d.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
  309. Linking C executable cmTC_7725d
  310. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7725d.dir/link.txt --verbose=1
  311. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_7725d.dir/CheckFunctionExists.c.o -o cmTC_7725d -lpthread
  312. gmake[1]: Leaving directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  313.  
  314.  
  315.  
  316. Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_MARCH_NATIVE succeeded with the following output:
  317. Change Dir: /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp
  318.  
  319. Run Build Command(s):/usr/local/bin/gmake -f Makefile cmTC_38f69/fast && /usr/local/bin/gmake -f CMakeFiles/cmTC_38f69.dir/build.make CMakeFiles/cmTC_38f69.dir/build
  320. gmake[1]: Entering directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  321. Building CXX object CMakeFiles/cmTC_38f69.dir/src.cxx.o
  322. /usr/bin/c++ -DCOMPILER_SUPPORTS_MARCH_NATIVE -fPIC -Wall -std=c++11 -DCMAKE_BUILD -march=native -MD -MT CMakeFiles/cmTC_38f69.dir/src.cxx.o -MF CMakeFiles/cmTC_38f69.dir/src.cxx.o.d -o CMakeFiles/cmTC_38f69.dir/src.cxx.o -c /usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp/src.cxx
  323. Linking CXX executable cmTC_38f69
  324. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_38f69.dir/link.txt --verbose=1
  325. /usr/bin/c++ -fPIC -Wall -std=c++11 -DCMAKE_BUILD CMakeFiles/cmTC_38f69.dir/src.cxx.o -o cmTC_38f69
  326. gmake[1]: Leaving directory '/usr/home/user/caffe-opencl/build/CMakeFiles/CMakeTmp'
  327.  
  328.  
  329. Source file was:
  330. int main() { return 0; }
  331.  
  332.  
  333.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement