Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Performing C SOURCE FILE Test C_COMPILER_SUPPORTS_-Qunused-arguments failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_f3218 && [1/2] Building C object CMakeFiles/cmTC_f3218.dir/src.c.o
- FAILED: CMakeFiles/cmTC_f3218.dir/src.c.o
- /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
- cc: error: unrecognized command-line option '-Qunused-arguments'
- ninja: build stopped: subcommand failed.
- Source file was:
- int main(void) { return 0; }
- Performing C SOURCE FILE Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_a5e66 && [1/2] Building C object CMakeFiles/cmTC_a5e66.dir/src.c.o
- cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
- <command-line>: warning: ISO C99 requires whitespace after the macro name
- cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics
- [2/2] Linking C executable cmTC_a5e66
- Source file was:
- int main(void) { return 0; }
- Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORTS_-Qunused-arguments failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_3e454 && [1/2] Building CXX object CMakeFiles/cmTC_3e454.dir/src.cxx.o
- FAILED: CMakeFiles/cmTC_3e454.dir/src.cxx.o
- /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
- c++: error: unrecognized command-line option '-Qunused-arguments'
- ninja: build stopped: subcommand failed.
- Source file was:
- int main() { return 0; }
- Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_38017 && [1/2] Building CXX object CMakeFiles/cmTC_38017.dir/src.cxx.o
- cc1plus: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
- <command-line>: warning: ISO C++11 requires whitespace after the macro name
- cc1plus: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics
- [2/2] Linking CXX executable cmTC_38017
- Source file was:
- int main() { return 0; }
- Performing C SOURCE FILE Test C_COMPILER_SUPPORTS_-Wno-mismatched-new-delete failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_3952c && [1/2] Building C object CMakeFiles/cmTC_3952c.dir/src.c.o
- cc1: warning: command-line option '-Wno-mismatched-new-delete' is valid for C++/ObjC++ but not for C
- cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
- <command-line>: warning: ISO C99 requires whitespace after the macro name
- [2/2] Linking C executable cmTC_3952c
- Source file was:
- int main(void) { return 0; }
- Performing C SOURCE FILE Test C_COMPILER_SUPPORTS_-fcolor-diagnostics failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_7414d && [1/2] Building C object CMakeFiles/cmTC_7414d.dir/src.c.o
- FAILED: CMakeFiles/cmTC_7414d.dir/src.c.o
- /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
- cc: error: unrecognized command-line option '-fcolor-diagnostics'
- ninja: build stopped: subcommand failed.
- Source file was:
- int main(void) { return 0; }
- Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_794a7 && [1/2] Building CXX object CMakeFiles/cmTC_794a7.dir/src.cxx.o
- FAILED: CMakeFiles/cmTC_794a7.dir/src.cxx.o
- /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
- c++: error: unrecognized command-line option '-fcolor-diagnostics'
- ninja: build stopped: subcommand failed.
- Source file was:
- int main() { return 0; }
- Performing C SOURCE FILE Test ATOMICS_ARE_BUILTIN failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_d69c9 && [1/2] Building C object CMakeFiles/cmTC_d69c9.dir/src.c.o
- [2/2] Linking C executable cmTC_d69c9
- FAILED: cmTC_d69c9
- : && /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 && :
- /usr/bin/ld: CMakeFiles/cmTC_d69c9.dir/src.c.o: in function `main':
- src.c:(.text.startup+0x61): undefined reference to `__atomic_compare_exchange_16'
- collect2: error: ld returned 1 exit status
- ninja: build stopped: subcommand failed.
- Source file was:
- #include <stdbool.h>
- #include <stdint.h>
- #define COMPILER(FEATURE) (defined COMPILER_##FEATURE && COMPILER_##FEATURE)
- #if defined(__clang__)
- #define COMPILER_CLANG 1
- #endif
- #if defined(__GNUC__)
- #define COMPILER_GCC_COMPATIBLE 1
- #endif
- #if COMPILER(GCC_COMPATIBLE) && !COMPILER(CLANG)
- #define COMPILER_GCC 1
- #endif
- #if defined(_MSC_VER)
- #define COMPILER_MSVC 1
- #endif
- #define CPU(_FEATURE) (defined CPU_##_FEATURE && CPU_##_FEATURE)
- #if COMPILER(GCC_COMPATIBLE)
- /* __LP64__ is not defined on 64bit Windows since it uses LLP64. Using __SIZEOF_POINTER__ is simpler. */
- #if __SIZEOF_POINTER__ == 8
- #define CPU_ADDRESS64 1
- #elif __SIZEOF_POINTER__ == 4
- #define CPU_ADDRESS32 1
- #endif
- #endif
- static inline bool compare_and_swap_bool_weak(bool* ptr, bool old_value, bool new_value)
- {
- #if COMPILER(CLANG)
- return __c11_atomic_compare_exchange_weak((_Atomic bool*)ptr, &old_value, new_value, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
- #else
- return __atomic_compare_exchange_n((bool*)ptr, &old_value, new_value, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
- #endif
- }
- #if CPU(ADDRESS64)
- typedef __uint128_t pair;
- static inline bool compare_and_swap_pair_weak(void* raw_ptr, pair old_value, pair new_value)
- {
- #if COMPILER(CLANG)
- return __c11_atomic_compare_exchange_weak((_Atomic pair*)raw_ptr, &old_value, new_value, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
- #else
- return __atomic_compare_exchange_n((pair*)raw_ptr, &old_value, new_value, true, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
- #endif
- }
- #endif
- static inline bool compare_and_swap_uint64_weak(uint64_t* ptr, uint64_t old_value, uint64_t new_value)
- {
- #if COMPILER(CLANG)
- return __c11_atomic_compare_exchange_weak((_Atomic uint64_t*)ptr, &old_value, new_value, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
- #else
- return __atomic_compare_exchange_n((uint64_t*)ptr, &old_value, new_value, true, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
- #endif
- }
- int main() {
- bool y = false;
- bool expected = true;
- bool j = compare_and_swap_bool_weak(&y, expected, false);
- #if CPU(ADDRESS64)
- pair x = 42;
- bool k = compare_and_swap_pair_weak(&x, 42, 55);
- #endif
- uint64_t z = 42;
- bool l = compare_and_swap_uint64_weak(&z, 42, 56);
- int result = (j ||
- #if CPU(ADDRESS64)
- k ||
- #endif
- l) ? 0 : 1;
- return result;
- }
- Determining if the include file pthread_np.h exists failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_1a20c && [1/2] Building C object CMakeFiles/cmTC_1a20c.dir/CheckIncludeFile.c.o
- FAILED: CMakeFiles/cmTC_1a20c.dir/CheckIncludeFile.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: pthread_np.h: No such file or directory
- 1 | #include <pthread_np.h>
- | ^~~~~~~~~~~~~~
- compilation terminated.
- ninja: build stopped: subcommand failed.
- Determining if the _aligned_malloc exist failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_41e4e && [1/2] Building C object CMakeFiles/cmTC_41e4e.dir/CheckSymbolExists.c.o
- FAILED: CMakeFiles/cmTC_41e4e.dir/CheckSymbolExists.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘_aligned_malloc’ undeclared (first use in this function)
- 8 | return ((int*)(&_aligned_malloc))[argc];
- | ^~~~~~~~~~~~~~~
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
- 4 | int main(int argc, char** argv)
- | ~~~~^~~~
- ninja: build stopped: subcommand failed.
- File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <malloc.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef _aligned_malloc
- return ((int*)(&_aligned_malloc))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Determining if the strnstr exist failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_e5908 && [1/2] Building C object CMakeFiles/cmTC_e5908.dir/CheckSymbolExists.c.o
- FAILED: CMakeFiles/cmTC_e5908.dir/CheckSymbolExists.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
- /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’?
- 8 | return ((int*)(&strnstr))[argc];
- | ^~~~~~~
- | strstr
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
- 4 | int main(int argc, char** argv)
- | ~~~~^~~~
- ninja: build stopped: subcommand failed.
- File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <string.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef strnstr
- return ((int*)(&strnstr))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Determining if the vasprintf exist failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_48496 && [1/2] Building C object CMakeFiles/cmTC_48496.dir/CheckSymbolExists.c.o
- FAILED: CMakeFiles/cmTC_48496.dir/CheckSymbolExists.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
- /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’?
- 8 | return ((int*)(&vasprintf))[argc];
- | ^~~~~~~~~
- | vsprintf
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
- 4 | int main(int argc, char** argv)
- | ~~~~^~~~
- ninja: build stopped: subcommand failed.
- File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <stdio.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef vasprintf
- return ((int*)(&vasprintf))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Determining if the pthread_main_np exist failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_1cb82 && [1/2] Building C object CMakeFiles/cmTC_1cb82.dir/CheckSymbolExists.c.o
- FAILED: CMakeFiles/cmTC_1cb82.dir/CheckSymbolExists.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: pthread_np.h: No such file or directory
- 2 | #include <pthread_np.h>
- | ^~~~~~~~~~~~~~
- compilation terminated.
- ninja: build stopped: subcommand failed.
- File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <pthread_np.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef pthread_main_np
- return ((int*)(&pthread_main_np))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Determining if the MAP_ALIGNED exist failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_15a67 && [1/2] Building C object CMakeFiles/cmTC_15a67.dir/CheckSymbolExists.c.o
- FAILED: CMakeFiles/cmTC_15a67.dir/CheckSymbolExists.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘MAP_ALIGNED’ undeclared (first use in this function)
- 8 | return ((int*)(&MAP_ALIGNED))[argc];
- | ^~~~~~~~~~~
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
- 4 | int main(int argc, char** argv)
- | ~~~~^~~~
- ninja: build stopped: subcommand failed.
- File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <sys/mman.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef MAP_ALIGNED
- return ((int*)(&MAP_ALIGNED))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Determining if the SHM_ANON exist failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_6951e && [1/2] Building C object CMakeFiles/cmTC_6951e.dir/CheckSymbolExists.c.o
- FAILED: CMakeFiles/cmTC_6951e.dir/CheckSymbolExists.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘SHM_ANON’ undeclared (first use in this function)
- 8 | return ((int*)(&SHM_ANON))[argc];
- | ^~~~~~~~
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
- 4 | int main(int argc, char** argv)
- | ~~~~^~~~
- ninja: build stopped: subcommand failed.
- File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <sys/mman.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef SHM_ANON
- return ((int*)(&SHM_ANON))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Determining if the timingsafe_bcmp exist failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_5d6e8 && [1/2] Building C object CMakeFiles/cmTC_5d6e8.dir/CheckSymbolExists.c.o
- FAILED: CMakeFiles/cmTC_5d6e8.dir/CheckSymbolExists.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘timingsafe_bcmp’ undeclared (first use in this function)
- 8 | return ((int*)(&timingsafe_bcmp))[argc];
- | ^~~~~~~~~~~~~~~
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
- 4 | int main(int argc, char** argv)
- | ~~~~^~~~
- ninja: build stopped: subcommand failed.
- File /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <string.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef timingsafe_bcmp
- return ((int*)(&timingsafe_bcmp))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Performing C SOURCE FILE Test HAVE_STAT_BIRTHTIME_value failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_b7427 && [1/2] Building C object CMakeFiles/cmTC_b7427.dir/src.c.o
- FAILED: CMakeFiles/cmTC_b7427.dir/src.c.o
- /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
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
- /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp/src.c:6:34: error: ‘struct stat’ has no member named ‘st_birthtime’
- 6 | (void)sizeof(((struct stat *)0)->st_birthtime);
- | ^~
- ninja: build stopped: subcommand failed.
- Source file was:
- #include <sys/stat.h>
- int main()
- {
- (void)sizeof(((struct stat *)0)->st_birthtime);
- return 0;
- }
- Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_38ea0 && [1/2] Building C object CMakeFiles/cmTC_38ea0.dir/src.c.o
- [2/2] Linking C executable cmTC_38ea0
- FAILED: cmTC_38ea0
- : && /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 && :
- /usr/bin/ld: CMakeFiles/cmTC_38ea0.dir/src.c.o: in function `main':
- src.c:(.text.startup+0x15): undefined reference to `pthread_create'
- /usr/bin/ld: src.c:(.text.startup+0x1f): undefined reference to `pthread_detach'
- /usr/bin/ld: src.c:(.text.startup+0x29): undefined reference to `pthread_cancel'
- /usr/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_join'
- collect2: error: ld returned 1 exit status
- ninja: build stopped: subcommand failed.
- Source file was:
- #include <pthread.h>
- static void* test_func(void* data)
- {
- return data;
- }
- int main(void)
- {
- pthread_t thread;
- pthread_create(&thread, NULL, test_func, NULL);
- pthread_detach(thread);
- pthread_cancel(thread);
- pthread_join(thread, NULL);
- pthread_atfork(NULL, NULL, NULL);
- pthread_exit(NULL);
- return 0;
- }
- Determining if the function pthread_create exists in the pthreads failed with the following output:
- Change Dir: /tmp/SBo/webkitgtk-2.40.2/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/ninja cmTC_bb3c1 && [1/2] Building C object CMakeFiles/cmTC_bb3c1.dir/CheckFunctionExists.c.o
- [2/2] Linking C executable cmTC_bb3c1
- FAILED: cmTC_bb3c1
- : && /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 && :
- /usr/bin/ld: cannot find -lpthreads
- collect2: error: ld returned 1 exit status
- ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment