Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a1661/fast && /usr/bin/make -f CMakeFiles/cmTC_a1661.dir/build.make CMakeFiles/cmTC_a1661.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a1661.dir/src.c.o /opt/compiler/gcc-8.2/bin/gcc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_a1661.dir/src.c.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_a1661 /opt/cmake-3.19/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a1661.dir/link.txt --verbose=1 /opt/compiler/gcc-8.2/bin/gcc CMakeFiles/cmTC_a1661.dir/src.c.o -o cmTC_a1661 CMakeFiles/cmTC_a1661.dir/src.c.o: In function `main': src.c:(.text+0x34): undefined reference to `pthread_create' src.c:(.text+0x3c): undefined reference to `pthread_detach' src.c:(.text+0x44): undefined reference to `pthread_cancel' src.c:(.text+0x50): undefined reference to `pthread_join' src.c:(.text+0x60): undefined reference to `pthread_atfork' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_a1661.dir/build.make:105: recipe for target 'cmTC_a1661' failed make[1]: *** [cmTC_a1661] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_a1661/fast' failed make: *** [cmTC_a1661/fast] Error 2 Source file was: #include 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: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_4223c/fast && /usr/bin/make -f CMakeFiles/cmTC_4223c.dir/build.make CMakeFiles/cmTC_4223c.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4223c.dir/CheckFunctionExists.c.o /opt/compiler/gcc-8.2/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_4223c.dir/CheckFunctionExists.c.o -c /opt/cmake-3.19/share/cmake-3.19/Modules/CheckFunctionExists.c Linking C executable cmTC_4223c /opt/cmake-3.19/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4223c.dir/link.txt --verbose=1 /opt/compiler/gcc-8.2/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_4223c.dir/CheckFunctionExists.c.o -o cmTC_4223c -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_4223c.dir/build.make:105: recipe for target 'cmTC_4223c' failed make[1]: *** [cmTC_4223c] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_4223c/fast' failed make: *** [cmTC_4223c/fast] Error 2 Performing C++ SOURCE FILE Test MMX_FOUND failed with the following compile output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_070e1/fast && /usr/bin/make -f CMakeFiles/cmTC_070e1.dir/build.make CMakeFiles/cmTC_070e1.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_070e1.dir/src.cxx.o /opt/compiler/gcc-8.2/bin/c++ -DMMX_FOUND -Wno-error=deprecated-declarations -Wno-deprecated-declarations -mmmx -o CMakeFiles/cmTC_070e1.dir/src.cxx.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option ‘-mmmx’ CMakeFiles/cmTC_070e1.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_070e1.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_070e1.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_070e1/fast' failed make: *** [cmTC_070e1/fast] Error 2 ...and run output: Return value: 1 Source file was: #include int main() { _mm_setzero_si64(); return 0; } Performing C++ SOURCE FILE Test SSE2_FOUND failed with the following compile output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_fbc9a/fast && /usr/bin/make -f CMakeFiles/cmTC_fbc9a.dir/build.make CMakeFiles/cmTC_fbc9a.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fbc9a.dir/src.cxx.o /opt/compiler/gcc-8.2/bin/c++ -DSSE2_FOUND -Wno-error=deprecated-declarations -Wno-deprecated-declarations -msse2 -o CMakeFiles/cmTC_fbc9a.dir/src.cxx.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option ‘-msse2’ CMakeFiles/cmTC_fbc9a.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_fbc9a.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_fbc9a.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_fbc9a/fast' failed make: *** [cmTC_fbc9a/fast] Error 2 ...and run output: Return value: 1 Source file was: #include int main() { _mm_setzero_si128(); return 0; } Performing C++ SOURCE FILE Test SSE3_FOUND failed with the following compile output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_10032/fast && /usr/bin/make -f CMakeFiles/cmTC_10032.dir/build.make CMakeFiles/cmTC_10032.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_10032.dir/src.cxx.o /opt/compiler/gcc-8.2/bin/c++ -DSSE3_FOUND -Wno-error=deprecated-declarations -Wno-deprecated-declarations -msse3 -o CMakeFiles/cmTC_10032.dir/src.cxx.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option ‘-msse3’ CMakeFiles/cmTC_10032.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_10032.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_10032.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_10032/fast' failed make: *** [cmTC_10032/fast] Error 2 ...and run output: Return value: 1 Source file was: #include int main() { __m128d a = _mm_set1_pd(6.28); __m128d b = _mm_set1_pd(3.14); __m128d result = _mm_addsub_pd(a, b); result = _mm_movedup_pd(result); return 0; } Performing C++ SOURCE FILE Test AVX_FOUND failed with the following compile output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a5117/fast && /usr/bin/make -f CMakeFiles/cmTC_a5117.dir/build.make CMakeFiles/cmTC_a5117.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_a5117.dir/src.cxx.o /opt/compiler/gcc-8.2/bin/c++ -DAVX_FOUND -Wno-error=deprecated-declarations -Wno-deprecated-declarations -mavx -o CMakeFiles/cmTC_a5117.dir/src.cxx.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option ‘-mavx’ CMakeFiles/cmTC_a5117.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_a5117.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_a5117.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_a5117/fast' failed make: *** [cmTC_a5117/fast] Error 2 ...and run output: Return value: 1 Source file was: #include int main() { __m256 a = _mm256_set_ps (-1.0f, 2.0f, -3.0f, 4.0f, -1.0f, 2.0f, -3.0f, 4.0f); __m256 b = _mm256_set_ps (1.0f, 2.0f, 3.0f, 4.0f, 1.0f, 2.0f, 3.0f, 4.0f); __m256 result = _mm256_add_ps (a, b); return 0; } Performing C++ SOURCE FILE Test AVX2_FOUND failed with the following compile output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_fe101/fast && /usr/bin/make -f CMakeFiles/cmTC_fe101.dir/build.make CMakeFiles/cmTC_fe101.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fe101.dir/src.cxx.o /opt/compiler/gcc-8.2/bin/c++ -DAVX2_FOUND -Wno-error=deprecated-declarations -Wno-deprecated-declarations -mavx2 -o CMakeFiles/cmTC_fe101.dir/src.cxx.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option ‘-mavx2’ CMakeFiles/cmTC_fe101.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_fe101.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_fe101.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_fe101/fast' failed make: *** [cmTC_fe101/fast] Error 2 ...and run output: Return value: 1 Source file was: #include int main() { __m256i a = _mm256_set_epi32 (-1, 2, -3, 4, -1, 2, -3, 4); __m256i result = _mm256_abs_epi32 (a); return 0; } Performing C++ SOURCE FILE Test AVX512F_FOUND failed with the following compile output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_32962/fast && /usr/bin/make -f CMakeFiles/cmTC_32962.dir/build.make CMakeFiles/cmTC_32962.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_32962.dir/src.cxx.o /opt/compiler/gcc-8.2/bin/c++ -DAVX512F_FOUND -Wno-error=deprecated-declarations -Wno-deprecated-declarations -mavx512f -o CMakeFiles/cmTC_32962.dir/src.cxx.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option ‘-mavx512f’ CMakeFiles/cmTC_32962.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_32962.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_32962.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_32962/fast' failed make: *** [cmTC_32962/fast] Error 2 ...and run output: Return value: 1 Source file was: #include int main() { __m512i a = _mm512_set_epi32 (-1, 2, -3, 4, -1, 2, -3, 4, 13, -5, 6, -7, 9, 2, -6, 3); __m512i result = _mm512_abs_epi32 (a); return 0; } Performing C SOURCE FILE Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor failed with the following output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_ba24e/fast && /usr/bin/make -f CMakeFiles/cmTC_ba24e.dir/build.make CMakeFiles/cmTC_ba24e.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ba24e.dir/src.c.o /opt/compiler/gcc-8.2/bin/gcc -DC_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor -fPIC -fno-omit-frame-pointer -Werror -Wall -Wextra -Wnon-virtual-dtor -o CMakeFiles/cmTC_ba24e.dir/src.c.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.c cc1: error: command line option '-Wnon-virtual-dtor' is valid for C++/ObjC++ but not for C [-Werror] cc1: all warnings being treated as errors CMakeFiles/cmTC_ba24e.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_ba24e.dir/src.c.o' failed make[1]: *** [CMakeFiles/cmTC_ba24e.dir/src.c.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_ba24e/fast' failed make: *** [cmTC_ba24e/fast] Error 2 Source file was: int main(void) { return 0; } Performing C SOURCE FILE Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor failed with the following output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_2dce0/fast && /usr/bin/make -f CMakeFiles/cmTC_2dce0.dir/build.make CMakeFiles/cmTC_2dce0.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2dce0.dir/src.c.o /opt/compiler/gcc-8.2/bin/gcc -DC_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor -fPIC -fno-omit-frame-pointer -Werror -Wall -Wextra -Wdelete-non-virtual-dtor -o CMakeFiles/cmTC_2dce0.dir/src.c.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.c cc1: error: command line option '-Wdelete-non-virtual-dtor' is valid for C++/ObjC++ but not for C [-Werror] cc1: all warnings being treated as errors CMakeFiles/cmTC_2dce0.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_2dce0.dir/src.c.o' failed make[1]: *** [CMakeFiles/cmTC_2dce0.dir/src.c.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_2dce0/fast' failed make: *** [cmTC_2dce0/fast] Error 2 Source file was: int main(void) { return 0; } Performing C SOURCE FILE Test C_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality failed with the following output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_2814b/fast && /usr/bin/make -f CMakeFiles/cmTC_2814b.dir/build.make CMakeFiles/cmTC_2814b.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2814b.dir/src.c.o /opt/compiler/gcc-8.2/bin/gcc -DC_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality -fPIC -fno-omit-frame-pointer -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-error=literal-suffix -Wno-error=unused-local-typedefs -Wno-error=parentheses-equality -o CMakeFiles/cmTC_2814b.dir/src.c.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.c cc1: error: -Werror=parentheses-equality: no option -Wparentheses-equality CMakeFiles/cmTC_2814b.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_2814b.dir/src.c.o' failed make[1]: *** [CMakeFiles/cmTC_2814b.dir/src.c.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_2814b/fast' failed make: *** [cmTC_2814b/fast] Error 2 Source file was: int main(void) { return 0; } Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality failed with the following output: Change Dir: /workspace/Paddle/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_e3f0c/fast && /usr/bin/make -f CMakeFiles/cmTC_e3f0c.dir/build.make CMakeFiles/cmTC_e3f0c.dir/build make[1]: Entering directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_e3f0c.dir/src.cxx.o /opt/compiler/gcc-8.2/bin/c++ -DCXX_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality -Wno-error=deprecated-declarations -Wno-deprecated-declarations -std=c++14 -fPIC -fno-omit-frame-pointer -Werror -Wall -Wextra -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wno-unused-parameter -Wno-unused-function -Wno-error=literal-suffix -Wno-error=unused-local-typedefs -Wno-error=parentheses-equality -o CMakeFiles/cmTC_e3f0c.dir/src.cxx.o -c /workspace/Paddle/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: error: -Werror=parentheses-equality: no option -Wparentheses-equality CMakeFiles/cmTC_e3f0c.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_e3f0c.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_e3f0c.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/workspace/Paddle/build/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_e3f0c/fast' failed make: *** [cmTC_e3f0c/fast] Error 2 Source file was: int main() { return 0; }