Actions
Bug #43833
closedshaman on bionic/cromson: cmake error: undefined reference to `pthread_create'
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I'm getting this with the current master on shaman:
==> CMakeFiles/CMakeError.log <== Determining if the pthread_create exist failed with the following output: Change Dir: /build/ceph-15.0.0-9833-g8eb8dbe/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0bdbb/fast" make[2]: Entering directory '/build/ceph-15.0.0-9833-g8eb8dbe/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0bdbb.dir/build.make CMakeFiles/cmTC_0bdbb.dir/build make[3]: Entering directory '/build/ceph-15.0.0-9833-g8eb8dbe/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0bdbb.dir/CheckSymbolExists.c.o /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/ceph-15.0.0-9833-g8eb8dbe=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/cmTC_0bdbb.dir/CheckSymbolExists.c.o -c /build/ceph-15.0.0-9833-g8eb8dbe/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_0bdbb /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0bdbb.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/ceph-15.0.0-9833-g8eb8dbe=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro CMakeFiles/cmTC_0bdbb.dir/CheckSymbolExists.c.o -o cmTC_0bdbb CMakeFiles/cmTC_0bdbb.dir/CheckSymbolExists.c.o: In function `main': ./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_0bdbb.dir/build.make:97: recipe for target 'cmTC_0bdbb' failed
- https://shaman.ceph.com/builds/ceph/wip-swagner-testing/8eb8dbed7e205ebdb67d6e12375c7d32c46f197a/crimson/186599/
- https://shaman.ceph.com/builds/ceph/wip-swagner-testing/3b9e87f714dc9c66b536668a4bd2d774be89b23f/crimson/186324/
- https://shaman.ceph.com/builds/ceph/wip-swagner-testing/ca3444d60d31fa10a6cfaad9450c05198f2f6dc9/crimson/186293/
priority=high, as this is randomly blocking QA runs.
Actions