Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 460710 Details for
Bug 606578
app-admin/elektra-0.8.16[abi_x86_32] - cmake cannot find -lpthreads
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log
CMakeError.log (text/x-log), 4.97 KB, created by
Marco Genasci
on 2017-01-20 09:01:54 UTC
(
hide
)
Description:
CMakeError.log
Filename:
MIME Type:
Creator:
Marco Genasci
Created:
2017-01-20 09:01:54 UTC
Size:
4.97 KB
patch
obsolete
>Determining if the pthread_create exist failed with the following output: >Change Dir: /tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_e7ba6/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_e7ba6.dir/build.make CMakeFiles/cmTC_e7ba6.dir/build >gmake[1]: Entering directory '/tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_e7ba6.dir/CheckSymbolExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -m32 -march=ivybridge -mmmx -O2 -pipe -std=gnu99 -Wno-deprecated-declarations -Wno-long-long -pedantic -Wno-variadic-macros -Wall -Wextra -Wno-overlength-strings -Wsign-compare -Wfloat-equal -Wformat-security -Wshadow -Wcomments -Wtrigraphs -Wundef -Wuninitialized -Winit-self -Wmaybe-uninitialized -Wsign-compare -Wfloat-equal -Wformat-security -o CMakeFiles/cmTC_e7ba6.dir/CheckSymbolExists.c.o -c /tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp/CheckSymbolExists.c >/tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': >/tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:11: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] > return ((int*)(&pthread_create))[argc]; > ^ >Linking C executable cmTC_e7ba6 >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e7ba6.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -m32 -march=ivybridge -mmmx -O2 -pipe -std=gnu99 -Wno-deprecated-declarations -Wno-long-long -pedantic -Wno-variadic-macros -Wall -Wextra -Wno-overlength-strings -Wsign-compare -Wfloat-equal -Wformat-security -Wshadow -Wcomments -Wtrigraphs -Wundef -Wuninitialized -Winit-self -Wmaybe-uninitialized -Wsign-compare -Wfloat-equal -Wformat-security -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_e7ba6.dir/CheckSymbolExists.c.o -o cmTC_e7ba6 -rdynamic >CMakeFiles/cmTC_e7ba6.dir/CheckSymbolExists.c.o: In function `main': >CheckSymbolExists.c:(.text.startup+0x7): undefined reference to `pthread_create' >collect2: error: ld returned 1 exit status >CMakeFiles/cmTC_e7ba6.dir/build.make:97: recipe for target 'cmTC_e7ba6' failed >gmake[1]: *** [cmTC_e7ba6] Error 1 >gmake[1]: Leaving directory '/tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp' >Makefile:126: recipe for target 'cmTC_e7ba6/fast' failed >gmake: *** [cmTC_e7ba6/fast] Error 2 > >File /tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/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: /tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_70108/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_70108.dir/build.make CMakeFiles/cmTC_70108.dir/build >gmake[1]: Entering directory '/tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_70108.dir/CheckFunctionExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -m32 -march=ivybridge -mmmx -O2 -pipe -std=gnu99 -Wno-deprecated-declarations -Wno-long-long -pedantic -Wno-variadic-macros -Wall -Wextra -Wno-overlength-strings -Wsign-compare -Wfloat-equal -Wformat-security -Wshadow -Wcomments -Wtrigraphs -Wundef -Wuninitialized -Winit-self -Wmaybe-uninitialized -Wsign-compare -Wfloat-equal -Wformat-security -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_70108.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c >Linking C executable cmTC_70108 >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_70108.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -m32 -march=ivybridge -mmmx -O2 -pipe -std=gnu99 -Wno-deprecated-declarations -Wno-long-long -pedantic -Wno-variadic-macros -Wall -Wextra -Wno-overlength-strings -Wsign-compare -Wfloat-equal -Wformat-security -Wshadow -Wcomments -Wtrigraphs -Wundef -Wuninitialized -Winit-self -Wmaybe-uninitialized -Wsign-compare -Wfloat-equal -Wformat-security -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_70108.dir/CheckFunctionExists.c.o -o cmTC_70108 -rdynamic -lpthreads >/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads >collect2: error: ld returned 1 exit status >CMakeFiles/cmTC_70108.dir/build.make:97: recipe for target 'cmTC_70108' failed >gmake[1]: *** [cmTC_70108] Error 1 >gmake[1]: Leaving directory '/tmp/portage/app-admin/elektra-0.8.16/work/elektra-0.8.16-abi_x86_32.x86/CMakeFiles/CMakeTmp' >Makefile:126: recipe for target 'cmTC_70108/fast' failed >gmake: *** [cmTC_70108/fast] Error 2 > >
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 606578
:
460708
| 460710 |
460712