Skip to content
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

cmake: let ceph-client-debug link with tcmalloc #7314

Merged
merged 1 commit into from Jan 25, 2016

Conversation

tchaikov
Copy link
Contributor

to fix the link problem of
libcephfs.so.1.0.0: undefined reference to `IsHeapProfilerRunning'
when tcmalloc is used and profiler header is detected.

Signed-off-by: Kefu Chai kchai@redhat.com

to fix the link problem of
libcephfs.so.1.0.0: undefined reference to `IsHeapProfilerRunning'
when tcmalloc is used and profiler header is detected.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov
Copy link
Contributor Author

@cbodley could you help review this pull request also? it fixes the failure in http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-tarball-trusty-amd64-cmake/log.cgi?log=eea2689b9e9ec722df0a0121555e93b44d2617a4

libcephfs.so.1.0.0: undefined reference to `IsHeapProfilerRunning'
libcephfs.so.1.0.0: undefined reference to `HeapProfilerStart'
libcephfs.so.1.0.0: undefined reference to `HeapProfilerDump'
libcephfs.so.1.0.0: undefined reference to `MallocExtension::instance()'
libcephfs.so.1.0.0: undefined reference to `HeapProfilerStop'
error: collect2: ld returned 1 exit status
make[2]: *** [src/ceph-client-debug] Error 1
make[1]: *** [src/CMakeFiles/ceph-client-debug.dir/all] Error 2

cbodley added a commit that referenced this pull request Jan 25, 2016
cmake: let ceph-client-debug link with tcmalloc
@cbodley cbodley merged commit a76ea6f into ceph:master Jan 25, 2016
@tchaikov tchaikov deleted the wip-fix-cmake branch January 25, 2016 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants