-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
鲲鹏920离线编译Paddle 遇到的问题 #68760
Comments
你用的是啥镜像?用我们paddle的官方镜像试试啊 |
因为我们官方的镜像肯定可以编译过的,你这个cmake版本都不太对,需要大于等于3.18 |
1.修改Cmake 命令为cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_C_FLAGS="-lpthread -march=native" -DCMAKE_CXX_FLAGS="-lpthread -march=native" -DPY_VERSION=3.9.20 -DPYTHON_EXECUTABLE=
|
@risemeup1 @0x45f |
大概是gcc版本过高导致的, 请降级到9.4.0试试呢 |
请提出你的问题 Please ask your question
服务器环境如下
2. ### Pthon3 版本
3. ### gcc 版本
4. ###cmake 版本
5. ###cmake ../Paddle-develop/ -DPY_VERSION=3.9.20 -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DWITH_ARM=ON -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON
6. ###查看CMakeError.log
7. ###完整错误日志如下
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_09720/fast && /usr/bin/gmake -f CMakeFiles/cmTC_09720.dir/build.make CMakeFiles/cmTC_09720.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_09720.dir/src.c.o
/usr/local/bin/gcc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_09720.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_09720
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_09720.dir/link.txt --verbose=1
/usr/local/bin/gcc -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_09720.dir/src.c.o -o cmTC_09720
/usr/local/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: CMakeFiles/cmTC_09720.dir/src.c.o: in function
main': src.c:(.text+0x34): undefined reference to
pthread_create'/usr/local/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: src.c:(.text+0x3c): undefined reference to
pthread_detach' /usr/local/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: src.c:(.text+0x48): undefined reference to
pthread_join'collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_09720.dir/build.make:90: cmTC_09720] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_09720/fast] Error 2
Source file was:
#include <pthread.h>
void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(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: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_2cc26/fast && /usr/bin/gmake -f CMakeFiles/cmTC_2cc26.dir/build.make CMakeFiles/cmTC_2cc26.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2cc26.dir/CheckFunctionExists.c.o
/usr/local/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_2cc26.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_2cc26
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2cc26.dir/link.txt --verbose=1
/usr/local/bin/gcc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_2cc26.dir/CheckFunctionExists.c.o -o cmTC_2cc26 -lpthreads
/usr/local/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/../../../../aarch64-unknown-linux-gnu/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_2cc26.dir/build.make:90: cmTC_2cc26] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_2cc26/fast] Error 2
Performing C++ SOURCE FILE Test MMX_FOUND failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_1b3a3/fast && /usr/bin/gmake -f CMakeFiles/cmTC_1b3a3.dir/build.make CMakeFiles/cmTC_1b3a3.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_1b3a3.dir/src.cxx.o
/usr/local/bin/c++ -Wno-error=uninitialized -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DMMX_FOUND -mmmx -o CMakeFiles/cmTC_1b3a3.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-mmmx’
gmake[1]: *** [CMakeFiles/cmTC_1b3a3.dir/build.make:69: CMakeFiles/cmTC_1b3a3.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_1b3a3/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <mmintrin.h>
int main()
{
_mm_setzero_si64();
return 0;
}
Performing C++ SOURCE FILE Test SSE2_FOUND failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_4ed06/fast && /usr/bin/gmake -f CMakeFiles/cmTC_4ed06.dir/build.make CMakeFiles/cmTC_4ed06.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4ed06.dir/src.cxx.o
/usr/local/bin/c++ -Wno-error=uninitialized -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DSSE2_FOUND -msse2 -o CMakeFiles/cmTC_4ed06.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-msse2’
gmake[1]: *** [CMakeFiles/cmTC_4ed06.dir/build.make:69: CMakeFiles/cmTC_4ed06.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_4ed06/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <emmintrin.h>
int main()
{
_mm_setzero_si128();
return 0;
}
Performing C++ SOURCE FILE Test SSE3_FOUND failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_c325f/fast && /usr/bin/gmake -f CMakeFiles/cmTC_c325f.dir/build.make CMakeFiles/cmTC_c325f.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c325f.dir/src.cxx.o
/usr/local/bin/c++ -Wno-error=uninitialized -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DSSE3_FOUND -msse3 -o CMakeFiles/cmTC_c325f.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-msse3’
gmake[1]: *** [CMakeFiles/cmTC_c325f.dir/build.make:69: CMakeFiles/cmTC_c325f.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_c325f/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <pmmintrin.h>
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 output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_cf83c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_cf83c.dir/build.make CMakeFiles/cmTC_cf83c.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_cf83c.dir/src.cxx.o
/usr/local/bin/c++ -Wno-error=uninitialized -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DAVX_FOUND -mavx -o CMakeFiles/cmTC_cf83c.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-mavx’
gmake[1]: *** [CMakeFiles/cmTC_cf83c.dir/build.make:69: CMakeFiles/cmTC_cf83c.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_cf83c/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <immintrin.h>
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 output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_5cbcf/fast && /usr/bin/gmake -f CMakeFiles/cmTC_5cbcf.dir/build.make CMakeFiles/cmTC_5cbcf.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_5cbcf.dir/src.cxx.o
/usr/local/bin/c++ -Wno-error=uninitialized -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DAVX2_FOUND -mavx2 -o CMakeFiles/cmTC_5cbcf.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-mavx2’
gmake[1]: *** [CMakeFiles/cmTC_5cbcf.dir/build.make:69: CMakeFiles/cmTC_5cbcf.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_5cbcf/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <immintrin.h>
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 output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_c80f2/fast && /usr/bin/gmake -f CMakeFiles/cmTC_c80f2.dir/build.make CMakeFiles/cmTC_c80f2.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c80f2.dir/src.cxx.o
/usr/local/bin/c++ -Wno-error=uninitialized -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DAVX512F_FOUND -mavx512f -o CMakeFiles/cmTC_c80f2.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-mavx512f’
gmake[1]: *** [CMakeFiles/cmTC_c80f2.dir/build.make:69: CMakeFiles/cmTC_c80f2.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_c80f2/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <immintrin.h>
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__Wl failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_29823/fast && /usr/bin/gmake -f CMakeFiles/cmTC_29823.dir/build.make CMakeFiles/cmTC_29823.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_29823.dir/src.c.o
/usr/local/bin/gcc -Wno-error=maybe-uninitialized -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -DC_COMPILER_SUPPORT_FLAG__Wl -Wl -o CMakeFiles/cmTC_29823.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.c
gcc: error: unrecognized command-line option '-Wl'; did you mean '-W'?
gmake[1]: *** [CMakeFiles/cmTC_29823.dir/build.make:69: CMakeFiles/cmTC_29823.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_29823/fast] Error 2
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORT_FLAG__Wl failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_770eb/fast && /usr/bin/gmake -f CMakeFiles/cmTC_770eb.dir/build.make CMakeFiles/cmTC_770eb.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_770eb.dir/src.cxx.o
/usr/local/bin/c++ -Wno-error=uninitialized -Wno-error=deprecated-declarations -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -std=c++17 -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -DCXX_COMPILER_SUPPORT_FLAG__Wl -Wl -o CMakeFiles/cmTC_770eb.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option '-Wl'; did you mean '-W'?
gmake[1]: *** [CMakeFiles/cmTC_770eb.dir/build.make:69: CMakeFiles/cmTC_770eb.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_770eb/fast] Error 2
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test C_COMPILER_SUPPORT_FLAG__gc_sections failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_563cf/fast && /usr/bin/gmake -f CMakeFiles/cmTC_563cf.dir/build.make CMakeFiles/cmTC_563cf.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_563cf.dir/src.c.o
/usr/local/bin/gcc -Wno-error=maybe-uninitialized -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -DC_COMPILER_SUPPORT_FLAG__gc_sections -gc-sections -o CMakeFiles/cmTC_563cf.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.c
gcc: error: unrecognized debug output level 'c-sections'
gmake[1]: *** [CMakeFiles/cmTC_563cf.dir/build.make:69: CMakeFiles/cmTC_563cf.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_563cf/fast] Error 2
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORT_FLAG__gc_sections failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_1c0db/fast && /usr/bin/gmake -f CMakeFiles/cmTC_1c0db.dir/build.make CMakeFiles/cmTC_1c0db.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_1c0db.dir/src.cxx.o
/usr/local/bin/c++ -Wno-error=uninitialized -Wno-error=deprecated-declarations -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -std=c++17 -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -DCXX_COMPILER_SUPPORT_FLAG__gc_sections -gc-sections -o CMakeFiles/cmTC_1c0db.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized debug output level 'c-sections'
gmake[1]: *** [CMakeFiles/cmTC_1c0db.dir/build.make:69: CMakeFiles/cmTC_1c0db.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_1c0db/fast] Error 2
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_8ce62/fast && /usr/bin/gmake -f CMakeFiles/cmTC_8ce62.dir/build.make CMakeFiles/cmTC_8ce62.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8ce62.dir/src.c.o
/usr/local/bin/gcc -Wno-error=maybe-uninitialized -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-error=array-bounds -Wno-error=ignored-attributes -Wno-error=int-in-bool-context -Wimplicit-fallthrough=0 -Wno-error=deprecated-copy -Wno-ignored-qualifiers -Wno-ignored-attributes -Wno-parentheses -DC_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor -Wnon-virtual-dtor -o CMakeFiles/cmTC_8ce62.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-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
gmake[1]: *** [CMakeFiles/cmTC_8ce62.dir/build.make:69: CMakeFiles/cmTC_8ce62.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_8ce62/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: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_d193a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d193a.dir/build.make CMakeFiles/cmTC_d193a.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d193a.dir/src.c.o
/usr/local/bin/gcc -Wno-error=maybe-uninitialized -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-error=array-bounds -Wno-error=ignored-attributes -Wno-error=int-in-bool-context -Wimplicit-fallthrough=0 -Wno-error=deprecated-copy -Wno-ignored-qualifiers -Wno-ignored-attributes -Wno-parentheses -DC_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor -Wdelete-non-virtual-dtor -o CMakeFiles/cmTC_d193a.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-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
gmake[1]: *** [CMakeFiles/cmTC_d193a.dir/build.make:69: CMakeFiles/cmTC_d193a.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_d193a/fast] Error 2
Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_08fd3/fast && /usr/bin/gmake -f CMakeFiles/cmTC_08fd3.dir/build.make CMakeFiles/cmTC_08fd3.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_08fd3.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_08fd3.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_08fd3
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_08fd3.dir/link.txt --verbose=1
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -rdynamic CMakeFiles/cmTC_08fd3.dir/src.c.o -o cmTC_08fd3
/usr/local/bin/ld: CMakeFiles/cmTC_08fd3.dir/src.c.o: in function
main': src.c:(.text+0x34): undefined reference to
pthread_create'/usr/local/bin/ld: src.c:(.text+0x3c): undefined reference to
pthread_detach' /usr/local/bin/ld: src.c:(.text+0x48): undefined reference to
pthread_join'collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_08fd3.dir/build.make:90: cmTC_08fd3] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_08fd3/fast] Error 2
Source file was:
#include <pthread.h>
void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(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: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_d8a06/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d8a06.dir/build.make CMakeFiles/cmTC_d8a06.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d8a06.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_d8a06.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_d8a06
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d8a06.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_d8a06.dir/CheckFunctionExists.c.o -o cmTC_d8a06 -lpthreads
/usr/local/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_d8a06.dir/build.make:90: cmTC_d8a06] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_d8a06/fast] Error 2
Performing C++ SOURCE FILE Test MMX_FOUND failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_48390/fast && /usr/bin/gmake -f CMakeFiles/cmTC_48390.dir/build.make CMakeFiles/cmTC_48390.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_48390.dir/src.cxx.o
/usr/bin/c++ -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DMMX_FOUND -mmmx -o CMakeFiles/cmTC_48390.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-mmmx’
gmake[1]: *** [CMakeFiles/cmTC_48390.dir/build.make:69: CMakeFiles/cmTC_48390.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_48390/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <mmintrin.h>
int main()
{
_mm_setzero_si64();
return 0;
}
Performing C++ SOURCE FILE Test SSE2_FOUND failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_79e82/fast && /usr/bin/gmake -f CMakeFiles/cmTC_79e82.dir/build.make CMakeFiles/cmTC_79e82.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_79e82.dir/src.cxx.o
/usr/bin/c++ -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DSSE2_FOUND -msse2 -o CMakeFiles/cmTC_79e82.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-msse2’
gmake[1]: *** [CMakeFiles/cmTC_79e82.dir/build.make:69: CMakeFiles/cmTC_79e82.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_79e82/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <emmintrin.h>
int main()
{
_mm_setzero_si128();
return 0;
}
Performing C++ SOURCE FILE Test SSE3_FOUND failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_fe97e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_fe97e.dir/build.make CMakeFiles/cmTC_fe97e.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_fe97e.dir/src.cxx.o
/usr/bin/c++ -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DSSE3_FOUND -msse3 -o CMakeFiles/cmTC_fe97e.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-msse3’
gmake[1]: *** [CMakeFiles/cmTC_fe97e.dir/build.make:69: CMakeFiles/cmTC_fe97e.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_fe97e/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <pmmintrin.h>
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 output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_84452/fast && /usr/bin/gmake -f CMakeFiles/cmTC_84452.dir/build.make CMakeFiles/cmTC_84452.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_84452.dir/src.cxx.o
/usr/bin/c++ -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DAVX_FOUND -mavx -o CMakeFiles/cmTC_84452.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-mavx’
gmake[1]: *** [CMakeFiles/cmTC_84452.dir/build.make:69: CMakeFiles/cmTC_84452.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_84452/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <immintrin.h>
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 output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_11d75/fast && /usr/bin/gmake -f CMakeFiles/cmTC_11d75.dir/build.make CMakeFiles/cmTC_11d75.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_11d75.dir/src.cxx.o
/usr/bin/c++ -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DAVX2_FOUND -mavx2 -o CMakeFiles/cmTC_11d75.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-mavx2’
gmake[1]: *** [CMakeFiles/cmTC_11d75.dir/build.make:69: CMakeFiles/cmTC_11d75.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_11d75/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <immintrin.h>
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 output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_0fd17/fast && /usr/bin/gmake -f CMakeFiles/cmTC_0fd17.dir/build.make CMakeFiles/cmTC_0fd17.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_0fd17.dir/src.cxx.o
/usr/bin/c++ -Wno-error=deprecated-declarations -Wno-deprecated-declarations -DAVX512F_FOUND -mavx512f -o CMakeFiles/cmTC_0fd17.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-mavx512f’
gmake[1]: *** [CMakeFiles/cmTC_0fd17.dir/build.make:69: CMakeFiles/cmTC_0fd17.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_0fd17/fast] Error 2
...and run output:
Return value: 1
Source file was:
#include <immintrin.h>
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__Wl failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_2434b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_2434b.dir/build.make CMakeFiles/cmTC_2434b.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2434b.dir/src.c.o
/usr/bin/cc -Wno-error=maybe-uninitialized -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -DC_COMPILER_SUPPORT_FLAG__Wl -Wl -o CMakeFiles/cmTC_2434b.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.c
cc: error: unrecognized command line option '-Wl'; did you mean '-W'?
gmake[1]: *** [CMakeFiles/cmTC_2434b.dir/build.make:69: CMakeFiles/cmTC_2434b.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_2434b/fast] Error 2
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORT_FLAG__Wl failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_8afdd/fast && /usr/bin/gmake -f CMakeFiles/cmTC_8afdd.dir/build.make CMakeFiles/cmTC_8afdd.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8afdd.dir/src.cxx.o
/usr/bin/c++ -Wno-error=deprecated-declarations -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -std=c++17 -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -DCXX_COMPILER_SUPPORT_FLAG__Wl -Wl -o CMakeFiles/cmTC_8afdd.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option '-Wl'; did you mean '-W'?
gmake[1]: *** [CMakeFiles/cmTC_8afdd.dir/build.make:69: CMakeFiles/cmTC_8afdd.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_8afdd/fast] Error 2
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test C_COMPILER_SUPPORT_FLAG__gc_sections failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_1d332/fast && /usr/bin/gmake -f CMakeFiles/cmTC_1d332.dir/build.make CMakeFiles/cmTC_1d332.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1d332.dir/src.c.o
/usr/bin/cc -Wno-error=maybe-uninitialized -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -DC_COMPILER_SUPPORT_FLAG__gc_sections -gc-sections -o CMakeFiles/cmTC_1d332.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.c
cc: error: unrecognized debug output level 'c-sections'
gmake[1]: *** [CMakeFiles/cmTC_1d332.dir/build.make:69: CMakeFiles/cmTC_1d332.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_1d332/fast] Error 2
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX_COMPILER_SUPPORT_FLAG__gc_sections failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_37fcb/fast && /usr/bin/gmake -f CMakeFiles/cmTC_37fcb.dir/build.make CMakeFiles/cmTC_37fcb.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_37fcb.dir/src.cxx.o
/usr/bin/c++ -Wno-error=deprecated-declarations -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -std=c++17 -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -DCXX_COMPILER_SUPPORT_FLAG__gc_sections -gc-sections -o CMakeFiles/cmTC_37fcb.dir/src.cxx.o -c /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized debug output level 'c-sections'
gmake[1]: *** [CMakeFiles/cmTC_37fcb.dir/build.make:69: CMakeFiles/cmTC_37fcb.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_37fcb/fast] Error 2
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor failed with the following output:
Change Dir: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_f99fc/fast && /usr/bin/gmake -f CMakeFiles/cmTC_f99fc.dir/build.make CMakeFiles/cmTC_f99fc.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f99fc.dir/src.c.o
/usr/bin/cc -Wno-error=maybe-uninitialized -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-error=array-bounds -Wno-error=ignored-attributes -Wno-error=int-in-bool-context -Wimplicit-fallthrough=0 -DC_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor -Wnon-virtual-dtor -o CMakeFiles/cmTC_f99fc.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-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
gmake[1]: *** [CMakeFiles/cmTC_f99fc.dir/build.make:69: CMakeFiles/cmTC_f99fc.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_f99fc/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: /usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_7b77d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_7b77d.dir/build.make CMakeFiles/cmTC_7b77d.dir/build
gmake[1]: Entering directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7b77d.dir/src.c.o
/usr/bin/cc -Wno-error=maybe-uninitialized -fPIC -fno-omit-frame-pointer -pipe -ffunction-sections -fdata-sections -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-error=array-bounds -Wno-error=ignored-attributes -Wno-error=int-in-bool-context -Wimplicit-fallthrough=0 -DC_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor -Wdelete-non-virtual-dtor -o CMakeFiles/cmTC_7b77d.dir/src.c.o -c /usr/home/PaddleEnvir/Paddle-develop-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
gmake[1]: *** [CMakeFiles/cmTC_7b77d.dir/build.make:69: CMakeFiles/cmTC_7b77d.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/usr/home/PaddleEnvir/Paddle-develop-build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:124: cmTC_7b77d/fast] Error 2
Source file was:
int main(void) { return 0; }
8.### pthead.h 也是有的
希望能够解答疑惑,万分感谢!!
The text was updated successfully, but these errors were encountered: