Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 451856 Details for
Bug 598446
sys-libs/libomp-3.9.{0,1} incorrectly mixes CFLAGS with C++ code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log
CMakeError.log (text/plain), 11.22 KB, created by
Justin Lecher (RETIRED)
on 2016-10-29 14:10:22 UTC
(
hide
)
Description:
CMakeError.log
Filename:
MIME Type:
Creator:
Justin Lecher (RETIRED)
Created:
2016-10-29 14:10:22 UTC
Size:
11.22 KB
patch
obsolete
>Performing C SOURCE FILE Test LIBOMP_HAVE_X_CPP_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_52d27" >[1/2] Building C object CMakeFiles/cmTC_52d27.dir/src.c.o >cc1plus: warning: command line option '-Wimplicit-function-declaration' is valid for C/ObjC but not for C++ >cc1plus: warning: command line option '-Wimplicit-function-declaration' is valid for C/ObjC but not for C++ >[2/2] Linking C executable cmTC_52d27 > >Source file was: >int main(void) { return 0; } >Performing C SOURCE FILE Test LIBOMP_HAVE_WNO_UNUSED_LOCAL_TYPEDEF_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_08b7a" >[1/2] Building C object CMakeFiles/cmTC_08b7a.dir/src.c.o >FAILED: CMakeFiles/cmTC_08b7a.dir/src.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DLIBOMP_HAVE_WNO_UNUSED_LOCAL_TYPEDEF_FLAG -Wunused-local-typedef -o CMakeFiles/cmTC_08b7a.dir/src.c.o -c src.c >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wunused-local-typedef' >ninja: build stopped: subcommand failed. > >Source file was: >int main(void) { return 0; } >Performing C SOURCE FILE Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_25e60" >[1/2] Building C object CMakeFiles/cmTC_25e60.dir/src.c.o >FAILED: CMakeFiles/cmTC_25e60.dir/src.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DLIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG -Wcovered-switch-default -o CMakeFiles/cmTC_25e60.dir/src.c.o -c src.c >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wcovered-switch-default' >ninja: build stopped: subcommand failed. > >Source file was: >int main(void) { return 0; } >Performing C SOURCE FILE Test LIBOMP_HAVE_WNO_DEPRECATED_REGISTER_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_6b222" >[1/2] Building C object CMakeFiles/cmTC_6b222.dir/src.c.o >FAILED: CMakeFiles/cmTC_6b222.dir/src.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DLIBOMP_HAVE_WNO_DEPRECATED_REGISTER_FLAG -Wdeprecated-register -o CMakeFiles/cmTC_6b222.dir/src.c.o -c src.c >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wdeprecated-register' >ninja: build stopped: subcommand failed. > >Source file was: >int main(void) { return 0; } >Performing C SOURCE FILE Test LIBOMP_HAVE_WNO_GNU_ANONYMOUS_STRUCT_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_74ea2" >[1/2] Building C object CMakeFiles/cmTC_74ea2.dir/src.c.o >FAILED: CMakeFiles/cmTC_74ea2.dir/src.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DLIBOMP_HAVE_WNO_GNU_ANONYMOUS_STRUCT_FLAG -Wgnu-anonymous-struct -o CMakeFiles/cmTC_74ea2.dir/src.c.o -c src.c >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wgnu-anonymous-struct' >ninja: build stopped: subcommand failed. > >Source file was: >int main(void) { return 0; } >Performing C SOURCE FILE Test LIBOMP_HAVE_WNO_SELF_ASSIGN_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_d1f10" >[1/2] Building C object CMakeFiles/cmTC_d1f10.dir/src.c.o >FAILED: CMakeFiles/cmTC_d1f10.dir/src.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DLIBOMP_HAVE_WNO_SELF_ASSIGN_FLAG -Wself-assign -o CMakeFiles/cmTC_d1f10.dir/src.c.o -c src.c >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wself-assign' >ninja: build stopped: subcommand failed. > >Source file was: >int main(void) { return 0; } >Performing C SOURCE FILE Test LIBOMP_HAVE_WNO_VLA_EXTENSION_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_ac580" >[1/2] Building C object CMakeFiles/cmTC_ac580.dir/src.c.o >FAILED: CMakeFiles/cmTC_ac580.dir/src.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DLIBOMP_HAVE_WNO_VLA_EXTENSION_FLAG -Wvla-extension -o CMakeFiles/cmTC_ac580.dir/src.c.o -c src.c >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wvla-extension' >ninja: build stopped: subcommand failed. > >Source file was: >int main(void) { return 0; } >Performing C SOURCE FILE Test LIBOMP_HAVE_WNO_FORMAT_PEDANTIC_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_715dc" >[1/2] Building C object CMakeFiles/cmTC_715dc.dir/src.c.o >FAILED: CMakeFiles/cmTC_715dc.dir/src.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DLIBOMP_HAVE_WNO_FORMAT_PEDANTIC_FLAG -Wformat-pedantic -o CMakeFiles/cmTC_715dc.dir/src.c.o -c src.c >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wformat-pedantic' >ninja: build stopped: subcommand failed. > >Source file was: >int main(void) { return 0; } >Performing C SOURCE FILE Test LIBOMP_HAVE_MMIC_FLAG failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_f4f39" >[1/2] Building C object CMakeFiles/cmTC_f4f39.dir/src.c.o >FAILED: CMakeFiles/cmTC_f4f39.dir/src.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DLIBOMP_HAVE_MMIC_FLAG -mmic -mmic -o CMakeFiles/cmTC_f4f39.dir/src.c.o -c src.c >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mmic' >x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mmic' >ninja: build stopped: subcommand failed. > >Source file was: >int main(void) { return 0; } >Determining if the pthread_create exist failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_b8468" >[1/2] Building C object CMakeFiles/cmTC_b8468.dir/CheckSymbolExists.c.o >[2/2] Linking C executable cmTC_b8468 >FAILED: cmTC_b8468 >: && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common CMakeFiles/cmTC_b8468.dir/CheckSymbolExists.c.o -o cmTC_b8468 -rdynamic && : >CheckSymbolExists.c:8: error: undefined reference to 'pthread_create' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > >File /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <pthread.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef pthread_create > return ((int*)(&pthread_create))[argc]; >#else > (void)argc; > return 0; >#endif >} > >Determining if the function pthread_create exists in the pthreads failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_48e0e" >[1/2] Building C object CMakeFiles/cmTC_48e0e.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_48e0e >FAILED: cmTC_48e0e >: && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common CMakeFiles/cmTC_48e0e.dir/CheckFunctionExists.c.o -o cmTC_48e0e -rdynamic -lpthreads && : >/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: cannot find -lpthreads >/usr/share/cmake/Modules/CheckFunctionExists.c:17: error: undefined reference to 'pthread_create' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >Determining if files windows.h;psapi.h exist failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_da0ef" >[1/2] Building C object CMakeFiles/cmTC_da0ef.dir/CheckIncludeFiles.c.o >FAILED: CMakeFiles/cmTC_da0ef.dir/CheckIncludeFiles.c.o >/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -o CMakeFiles/cmTC_da0ef.dir/CheckIncludeFiles.c.o -c CheckIncludeFiles.c >CheckIncludeFiles.c:2:21: fatal error: windows.h: No such file or directory >compilation terminated. >ninja: build stopped: subcommand failed. > >Source: >/* */ >#include <windows.h> >#include <psapi.h> > > >int main(void){return 0;} > >Determining if the function EnumProcessModules exists in the psapi failed with the following output: >Change Dir: /var/tmp/portage/sys-libs/libomp-3.9.0/work/openmp-3.9.0.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/ninja" "cmTC_da394" >[1/2] Building C object CMakeFiles/cmTC_da394.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_da394 >FAILED: cmTC_da394 >: && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wimplicit-function-declaration -DCHECK_FUNCTION_EXISTS=EnumProcessModules -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common CMakeFiles/cmTC_da394.dir/CheckFunctionExists.c.o -o cmTC_da394 -rdynamic -lpsapi && : >/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: cannot find -lpsapi >/usr/share/cmake/Modules/CheckFunctionExists.c:17: error: undefined reference to 'EnumProcessModules' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 598446
:
451854
| 451856 |
451858