Guest User

Error

a guest
Jun 25th, 2023
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.83 KB | None | 0 0
  1. Performing C SOURCE FILE Test C_COMPILER_SUPPORTS_-Qunused-arguments failed with the following output:
  2. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command(s):/usr/bin/ninja cmTC_f3218 && [1/2] Building C object CMakeFiles/cmTC_f3218.dir/src.c.o
  5. FAILED: CMakeFiles/cmTC_f3218.dir/src.c.o
  6. /usr/bin/cc -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -DC_COMPILER_SUPPORTS_-Qunused-arguments -Qunused-arguments -o CMakeFiles/cmTC_f3218.dir/src.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.c
  7. cc: error: unrecognized command-line option '-Qunused-arguments'
  8. ninja: build stopped: subcommand failed.
  9.  
  10.  
  11. Source file was:
  12. int main(void) { return 0; }
  13. Performing C SOURCE FILE Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality failed with the following output:
  14. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  15.  
  16. Run Build Command(s):/usr/bin/ninja cmTC_a5e66 && [1/2] Building C object CMakeFiles/cmTC_a5e66.dir/src.c.o
  17. cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
  18. <command-line>: warning: ISO C99 requires whitespace after the macro name
  19. cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics
  20. [2/2] Linking C executable cmTC_a5e66
  21.  
  22.  
  23. Source file was:
  24. int main(void) { return 0; }
  25. Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORTS_-Qunused-arguments failed with the following output:
  26. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  27.  
  28. Run Build Command(s):/usr/bin/ninja cmTC_3e454 && [1/2] Building CXX object CMakeFiles/cmTC_3e454.dir/src.cxx.o
  29. FAILED: CMakeFiles/cmTC_3e454.dir/src.cxx.o
  30. /usr/bin/c++ -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fno-rtti -fPIE -DCXX_COMPILER_SUPPORTS_-Qunused-arguments -Qunused-arguments -o CMakeFiles/cmTC_3e454.dir/src.cxx.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.cxx
  31. c++: error: unrecognized command-line option '-Qunused-arguments'
  32. ninja: build stopped: subcommand failed.
  33.  
  34.  
  35. Source file was:
  36. int main() { return 0; }
  37. Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality failed with the following output:
  38. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  39.  
  40. Run Build Command(s):/usr/bin/ninja cmTC_38017 && [1/2] Building CXX object CMakeFiles/cmTC_38017.dir/src.cxx.o
  41. cc1plus: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
  42. <command-line>: warning: ISO C++11 requires whitespace after the macro name
  43. cc1plus: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics
  44. [2/2] Linking CXX executable cmTC_38017
  45.  
  46.  
  47. Source file was:
  48. int main() { return 0; }
  49. Performing C SOURCE FILE Test C_COMPILER_SUPPORTS_-Wno-mismatched-new-delete failed with the following output:
  50. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  51.  
  52. Run Build Command(s):/usr/bin/ninja cmTC_3952c && [1/2] Building C object CMakeFiles/cmTC_3952c.dir/src.c.o
  53. cc1: warning: command-line option '-Wno-mismatched-new-delete' is valid for C++/ObjC++ but not for C
  54. cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
  55. <command-line>: warning: ISO C99 requires whitespace after the macro name
  56. [2/2] Linking C executable cmTC_3952c
  57.  
  58.  
  59. Source file was:
  60. int main(void) { return 0; }
  61. Performing C SOURCE FILE Test C_COMPILER_SUPPORTS_-fcolor-diagnostics failed with the following output:
  62. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  63.  
  64. Run Build Command(s):/usr/bin/ninja cmTC_7414d && [1/2] Building C object CMakeFiles/cmTC_7414d.dir/src.c.o
  65. FAILED: CMakeFiles/cmTC_7414d.dir/src.c.o
  66. /usr/bin/cc -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -DC_COMPILER_SUPPORTS_-fcolor-diagnostics -fcolor-diagnostics -o CMakeFiles/cmTC_7414d.dir/src.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.c
  67. cc: error: unrecognized command-line option '-fcolor-diagnostics'
  68. ninja: build stopped: subcommand failed.
  69.  
  70.  
  71. Source file was:
  72. int main(void) { return 0; }
  73. Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics failed with the following output:
  74. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  75.  
  76. Run Build Command(s):/usr/bin/ninja cmTC_794a7 && [1/2] Building CXX object CMakeFiles/cmTC_794a7.dir/src.cxx.o
  77. FAILED: CMakeFiles/cmTC_794a7.dir/src.cxx.o
  78. /usr/bin/c++ -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-uninitialized -Wno-mismatched-new-delete -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fno-rtti -fPIE -DCXX_COMPILER_SUPPORTS_-fcolor-diagnostics -fcolor-diagnostics -o CMakeFiles/cmTC_794a7.dir/src.cxx.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.cxx
  79. c++: error: unrecognized command-line option '-fcolor-diagnostics'
  80. ninja: build stopped: subcommand failed.
  81.  
  82.  
  83. Source file was:
  84. int main() { return 0; }
  85. Performing C SOURCE FILE Test ATOMICS_ARE_BUILTIN failed with the following output:
  86. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  87.  
  88. Run Build Command(s):/usr/bin/ninja cmTC_d69c9 && [1/2] Building C object CMakeFiles/cmTC_d69c9.dir/src.c.o
  89. [2/2] Linking C executable cmTC_d69c9
  90. FAILED: cmTC_d69c9
  91. : && /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions CMakeFiles/cmTC_d69c9.dir/src.c.o -o cmTC_d69c9 && :
  92. /usr/bin/ld: CMakeFiles/cmTC_d69c9.dir/src.c.o: in function `main':
  93. src.c:(.text.startup+0x61): undefined reference to `__atomic_compare_exchange_16'
  94. collect2: error: ld returned 1 exit status
  95. ninja: build stopped: subcommand failed.
  96.  
  97.  
  98. Source file was:
  99.  
  100. #include <stdbool.h>
  101. #include <stdint.h>
  102.  
  103. #define COMPILER(FEATURE) (defined COMPILER_##FEATURE && COMPILER_##FEATURE)
  104.  
  105. #if defined(__clang__)
  106. #define COMPILER_CLANG 1
  107. #endif
  108.  
  109. #if defined(__GNUC__)
  110. #define COMPILER_GCC_COMPATIBLE 1
  111. #endif
  112.  
  113. #if COMPILER(GCC_COMPATIBLE) && !COMPILER(CLANG)
  114. #define COMPILER_GCC 1
  115. #endif
  116.  
  117. #if defined(_MSC_VER)
  118. #define COMPILER_MSVC 1
  119. #endif
  120.  
  121. #define CPU(_FEATURE) (defined CPU_##_FEATURE && CPU_##_FEATURE)
  122.  
  123.  
  124. #if COMPILER(GCC_COMPATIBLE)
  125. /* __LP64__ is not defined on 64bit Windows since it uses LLP64. Using __SIZEOF_POINTER__ is simpler. */
  126. #if __SIZEOF_POINTER__ == 8
  127. #define CPU_ADDRESS64 1
  128. #elif __SIZEOF_POINTER__ == 4
  129. #define CPU_ADDRESS32 1
  130. #endif
  131. #endif
  132.  
  133. static inline bool compare_and_swap_bool_weak(bool* ptr, bool old_value, bool new_value)
  134. {
  135. #if COMPILER(CLANG)
  136. return __c11_atomic_compare_exchange_weak((_Atomic bool*)ptr, &old_value, new_value, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
  137. #else
  138. return __atomic_compare_exchange_n((bool*)ptr, &old_value, new_value, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
  139. #endif
  140. }
  141.  
  142. #if CPU(ADDRESS64)
  143.  
  144. typedef __uint128_t pair;
  145.  
  146. static inline bool compare_and_swap_pair_weak(void* raw_ptr, pair old_value, pair new_value)
  147. {
  148. #if COMPILER(CLANG)
  149. return __c11_atomic_compare_exchange_weak((_Atomic pair*)raw_ptr, &old_value, new_value, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
  150. #else
  151. return __atomic_compare_exchange_n((pair*)raw_ptr, &old_value, new_value, true, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
  152. #endif
  153. }
  154. #endif
  155.  
  156. static inline bool compare_and_swap_uint64_weak(uint64_t* ptr, uint64_t old_value, uint64_t new_value)
  157. {
  158. #if COMPILER(CLANG)
  159. return __c11_atomic_compare_exchange_weak((_Atomic uint64_t*)ptr, &old_value, new_value, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
  160. #else
  161. return __atomic_compare_exchange_n((uint64_t*)ptr, &old_value, new_value, true, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
  162. #endif
  163. }
  164.  
  165. int main() {
  166. bool y = false;
  167. bool expected = true;
  168. bool j = compare_and_swap_bool_weak(&y, expected, false);
  169. #if CPU(ADDRESS64)
  170. pair x = 42;
  171. bool k = compare_and_swap_pair_weak(&x, 42, 55);
  172. #endif
  173. uint64_t z = 42;
  174. bool l = compare_and_swap_uint64_weak(&z, 42, 56);
  175. int result = (j ||
  176. #if CPU(ADDRESS64)
  177. k ||
  178. #endif
  179. l) ? 0 : 1;
  180. return result;
  181. }
  182.  
  183. Determining if the include file pthread_np.h exists failed with the following output:
  184. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  185.  
  186. Run Build Command(s):/usr/bin/ninja cmTC_1a20c && [1/2] Building C object CMakeFiles/cmTC_1a20c.dir/CheckIncludeFile.c.o
  187. FAILED: CMakeFiles/cmTC_1a20c.dir/CheckIncludeFile.c.o
  188. /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_1a20c.dir/CheckIncludeFile.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  189. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: pthread_np.h: No such file or directory
  190. 1 | #include <pthread_np.h>
  191. | ^~~~~~~~~~~~~~
  192. compilation terminated.
  193. ninja: build stopped: subcommand failed.
  194.  
  195.  
  196.  
  197. Determining if the _aligned_malloc exist failed with the following output:
  198. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  199.  
  200. Run Build Command(s):/usr/bin/ninja cmTC_41e4e && [1/2] Building C object CMakeFiles/cmTC_41e4e.dir/CheckSymbolExists.c.o
  201. FAILED: CMakeFiles/cmTC_41e4e.dir/CheckSymbolExists.c.o
  202. /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_41e4e.dir/CheckSymbolExists.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  203. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
  204. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘_aligned_malloc’ undeclared (first use in this function)
  205. 8 | return ((int*)(&_aligned_malloc))[argc];
  206. | ^~~~~~~~~~~~~~~
  207. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
  208. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
  209. 4 | int main(int argc, char** argv)
  210. | ~~~~^~~~
  211. ninja: build stopped: subcommand failed.
  212.  
  213.  
  214. File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  215. /* */
  216. #include <malloc.h>
  217.  
  218. int main(int argc, char** argv)
  219. {
  220. (void)argv;
  221. #ifndef _aligned_malloc
  222. return ((int*)(&_aligned_malloc))[argc];
  223. #else
  224. (void)argc;
  225. return 0;
  226. #endif
  227. }
  228. Determining if the strnstr exist failed with the following output:
  229. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  230.  
  231. Run Build Command(s):/usr/bin/ninja cmTC_e5908 && [1/2] Building C object CMakeFiles/cmTC_e5908.dir/CheckSymbolExists.c.o
  232. FAILED: CMakeFiles/cmTC_e5908.dir/CheckSymbolExists.c.o
  233. /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_e5908.dir/CheckSymbolExists.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  234. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
  235. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘strnstr’ undeclared (first use in this function); did you mean ‘strstr’?
  236. 8 | return ((int*)(&strnstr))[argc];
  237. | ^~~~~~~
  238. | strstr
  239. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
  240. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
  241. 4 | int main(int argc, char** argv)
  242. | ~~~~^~~~
  243. ninja: build stopped: subcommand failed.
  244.  
  245.  
  246. File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  247. /* */
  248. #include <string.h>
  249.  
  250. int main(int argc, char** argv)
  251. {
  252. (void)argv;
  253. #ifndef strnstr
  254. return ((int*)(&strnstr))[argc];
  255. #else
  256. (void)argc;
  257. return 0;
  258. #endif
  259. }
  260. Determining if the vasprintf exist failed with the following output:
  261. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  262.  
  263. Run Build Command(s):/usr/bin/ninja cmTC_48496 && [1/2] Building C object CMakeFiles/cmTC_48496.dir/CheckSymbolExists.c.o
  264. FAILED: CMakeFiles/cmTC_48496.dir/CheckSymbolExists.c.o
  265. /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_48496.dir/CheckSymbolExists.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  266. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
  267. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘vasprintf’ undeclared (first use in this function); did you mean ‘vsprintf’?
  268. 8 | return ((int*)(&vasprintf))[argc];
  269. | ^~~~~~~~~
  270. | vsprintf
  271. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
  272. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
  273. 4 | int main(int argc, char** argv)
  274. | ~~~~^~~~
  275. ninja: build stopped: subcommand failed.
  276.  
  277.  
  278. File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  279. /* */
  280. #include <stdio.h>
  281.  
  282. int main(int argc, char** argv)
  283. {
  284. (void)argv;
  285. #ifndef vasprintf
  286. return ((int*)(&vasprintf))[argc];
  287. #else
  288. (void)argc;
  289. return 0;
  290. #endif
  291. }
  292. Determining if the pthread_main_np exist failed with the following output:
  293. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  294.  
  295. Run Build Command(s):/usr/bin/ninja cmTC_1cb82 && [1/2] Building C object CMakeFiles/cmTC_1cb82.dir/CheckSymbolExists.c.o
  296. FAILED: CMakeFiles/cmTC_1cb82.dir/CheckSymbolExists.c.o
  297. /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_1cb82.dir/CheckSymbolExists.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  298. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: pthread_np.h: No such file or directory
  299. 2 | #include <pthread_np.h>
  300. | ^~~~~~~~~~~~~~
  301. compilation terminated.
  302. ninja: build stopped: subcommand failed.
  303.  
  304.  
  305. File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  306. /* */
  307. #include <pthread_np.h>
  308.  
  309. int main(int argc, char** argv)
  310. {
  311. (void)argv;
  312. #ifndef pthread_main_np
  313. return ((int*)(&pthread_main_np))[argc];
  314. #else
  315. (void)argc;
  316. return 0;
  317. #endif
  318. }
  319. Determining if the MAP_ALIGNED exist failed with the following output:
  320. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  321.  
  322. Run Build Command(s):/usr/bin/ninja cmTC_15a67 && [1/2] Building C object CMakeFiles/cmTC_15a67.dir/CheckSymbolExists.c.o
  323. FAILED: CMakeFiles/cmTC_15a67.dir/CheckSymbolExists.c.o
  324. /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_15a67.dir/CheckSymbolExists.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  325. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
  326. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘MAP_ALIGNED’ undeclared (first use in this function)
  327. 8 | return ((int*)(&MAP_ALIGNED))[argc];
  328. | ^~~~~~~~~~~
  329. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
  330. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
  331. 4 | int main(int argc, char** argv)
  332. | ~~~~^~~~
  333. ninja: build stopped: subcommand failed.
  334.  
  335.  
  336. File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  337. /* */
  338. #include <sys/mman.h>
  339.  
  340. int main(int argc, char** argv)
  341. {
  342. (void)argv;
  343. #ifndef MAP_ALIGNED
  344. return ((int*)(&MAP_ALIGNED))[argc];
  345. #else
  346. (void)argc;
  347. return 0;
  348. #endif
  349. }
  350. Determining if the SHM_ANON exist failed with the following output:
  351. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  352.  
  353. Run Build Command(s):/usr/bin/ninja cmTC_6951e && [1/2] Building C object CMakeFiles/cmTC_6951e.dir/CheckSymbolExists.c.o
  354. FAILED: CMakeFiles/cmTC_6951e.dir/CheckSymbolExists.c.o
  355. /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_6951e.dir/CheckSymbolExists.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  356. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
  357. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘SHM_ANON’ undeclared (first use in this function)
  358. 8 | return ((int*)(&SHM_ANON))[argc];
  359. | ^~~~~~~~
  360. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
  361. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
  362. 4 | int main(int argc, char** argv)
  363. | ~~~~^~~~
  364. ninja: build stopped: subcommand failed.
  365.  
  366.  
  367. File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  368. /* */
  369. #include <sys/mman.h>
  370.  
  371. int main(int argc, char** argv)
  372. {
  373. (void)argv;
  374. #ifndef SHM_ANON
  375. return ((int*)(&SHM_ANON))[argc];
  376. #else
  377. (void)argc;
  378. return 0;
  379. #endif
  380. }
  381. Determining if the timingsafe_bcmp exist failed with the following output:
  382. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  383.  
  384. Run Build Command(s):/usr/bin/ninja cmTC_5d6e8 && [1/2] Building C object CMakeFiles/cmTC_5d6e8.dir/CheckSymbolExists.c.o
  385. FAILED: CMakeFiles/cmTC_5d6e8.dir/CheckSymbolExists.c.o
  386. /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_5d6e8.dir/CheckSymbolExists.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  387. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
  388. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘timingsafe_bcmp’ undeclared (first use in this function)
  389. 8 | return ((int*)(&timingsafe_bcmp))[argc];
  390. | ^~~~~~~~~~~~~~~
  391. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
  392. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
  393. 4 | int main(int argc, char** argv)
  394. | ~~~~^~~~
  395. ninja: build stopped: subcommand failed.
  396.  
  397.  
  398. File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  399. /* */
  400. #include <string.h>
  401.  
  402. int main(int argc, char** argv)
  403. {
  404. (void)argv;
  405. #ifndef timingsafe_bcmp
  406. return ((int*)(&timingsafe_bcmp))[argc];
  407. #else
  408. (void)argc;
  409. return 0;
  410. #endif
  411. }
  412. Performing C SOURCE FILE Test HAVE_STAT_BIRTHTIME_value failed with the following output:
  413. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  414.  
  415. Run Build Command(s):/usr/bin/ninja cmTC_b7427 && [1/2] Building C object CMakeFiles/cmTC_b7427.dir/src.c.o
  416. FAILED: CMakeFiles/cmTC_b7427.dir/src.c.o
  417. /usr/bin/cc -DHAVE_STAT_BIRTHTIME_value -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -fPIE -o CMakeFiles/cmTC_b7427.dir/src.c.o -c /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.c
  418. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
  419. /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.c:6:34: error: ‘struct stat’ has no member named ‘st_birthtime’
  420. 6 | (void)sizeof(((struct stat *)0)->st_birthtime);
  421. | ^~
  422. ninja: build stopped: subcommand failed.
  423.  
  424.  
  425. Source file was:
  426.  
  427. #include <sys/stat.h>
  428.  
  429. int main()
  430. {
  431. (void)sizeof(((struct stat *)0)->st_birthtime);
  432. return 0;
  433. }
  434.  
  435. Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
  436. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  437.  
  438. Run Build Command(s):/usr/bin/ninja cmTC_38ea0 && [1/2] Building C object CMakeFiles/cmTC_38ea0.dir/src.c.o
  439. [2/2] Linking C executable cmTC_38ea0
  440. FAILED: cmTC_38ea0
  441. : && /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -Wl,--disable-new-dtags CMakeFiles/cmTC_38ea0.dir/src.c.o -o cmTC_38ea0 && :
  442. /usr/bin/ld: CMakeFiles/cmTC_38ea0.dir/src.c.o: in function `main':
  443. src.c:(.text.startup+0x15): undefined reference to `pthread_create'
  444. /usr/bin/ld: src.c:(.text.startup+0x1f): undefined reference to `pthread_detach'
  445. /usr/bin/ld: src.c:(.text.startup+0x29): undefined reference to `pthread_cancel'
  446. /usr/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_join'
  447. collect2: error: ld returned 1 exit status
  448. ninja: build stopped: subcommand failed.
  449.  
  450.  
  451. Source file was:
  452. #include <pthread.h>
  453.  
  454. static void* test_func(void* data)
  455. {
  456. return data;
  457. }
  458.  
  459. int main(void)
  460. {
  461. pthread_t thread;
  462. pthread_create(&thread, NULL, test_func, NULL);
  463. pthread_detach(thread);
  464. pthread_cancel(thread);
  465. pthread_join(thread, NULL);
  466. pthread_atfork(NULL, NULL, NULL);
  467. pthread_exit(NULL);
  468.  
  469. return 0;
  470. }
  471.  
  472. Determining if the function pthread_create exists in the pthreads failed with the following output:
  473. Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
  474.  
  475. Run Build Command(s):/usr/bin/ninja cmTC_bb3c1 && [1/2] Building C object CMakeFiles/cmTC_bb3c1.dir/CheckFunctionExists.c.o
  476. [2/2] Linking C executable cmTC_bb3c1
  477. FAILED: cmTC_bb3c1
  478. : && /usr/bin/cc -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -fPIC -fno-strict-aliasing -fno-exceptions -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,--disable-new-dtags CMakeFiles/cmTC_bb3c1.dir/CheckFunctionExists.c.o -o cmTC_bb3c1 -lpthreads && :
  479. /usr/bin/ld: cannot find -lpthreads
  480. collect2: error: ld returned 1 exit status
  481. ninja: build stopped: subcommand failed.
  482.  
  483.  
  484.  
  485.  
Advertisement
Add Comment
Please, Sign In to add comment