mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
tools/ceph-dencoder: link against libtcmalloc
to address the failure like src/tcmalloc.cc:332] Attempt to free invalid pointer 0x5627da496130 Aborted we need to link and load libtcmalloc before it is loaded by a shared library, otherwise the memory chunk allocated by libc will be freed by tcmalloc after it is loaded. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
7fb0569ec3
commit
2365f265b1
@ -100,5 +100,6 @@ target_link_libraries(ceph-dencoder
|
||||
cls_user_client
|
||||
cls_cas_client
|
||||
${EXTRALIBS}
|
||||
${CMAKE_DL_LIBS})
|
||||
${CMAKE_DL_LIBS}
|
||||
${ALLOC_LIBS})
|
||||
install(TARGETS ceph-dencoder DESTINATION bin)
|
||||
|
Loading…
Reference in New Issue
Block a user