This is a known issue , workaround is to comment out the malloc_stats_print within db_impl.cc.. I did post this in community twice without any response :-( Thanks & Regards Somnath -----Original Message----- From: ceph-devel-owner@xxxxxxxxxxxxxxx [mailto:ceph-devel-owner@xxxxxxxxxxxxxxx] On Behalf Of Varada Kari Sent: Wednesday, September 28, 2016 9:26 PM To: Ceph Development Subject: Master build failure with jemalloc Hi, I am facing a cmake build issue with jemalloc and latest master. Did anyone face same issue? Linking CXX executable ../../../bin/ceph_test_filestore_idempotent collect2: error: ld returned 1 exit status make[2]: *** [bin/ceph_test_keyvaluedb_iterators] Error 1 make[1]: *** [src/test/ObjectMap/CMakeFiles/ceph_test_keyvaluedb_iterators.dir/all] Error 2 ../../../../src/rocksdb/librocksdb.a(db_impl.o): In function `DumpMallocStats': /home/ems/varada/mnt/master/src/rocksdb/db/db_impl.cc:595: undefined reference to `malloc_stats_print' ../../../../src/rocksdb/librocksdb.a(db_impl.o): In function `DumpMallocStats': /home/ems/varada/mnt/master/src/rocksdb/db/db_impl.cc:595: undefined reference to `malloc_stats_print' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status make[2]: *** [bin/ceph_test_objectstore_workloadgen] Error 1 make[1]: *** [src/test/objectstore/CMakeFiles/ceph_test_objectstore_workloadgen.dir/all] Error 2 make[2]: *** [bin/ceph_smalliobenchfs] Error 1 make[1]: *** [src/test/bench/CMakeFiles/ceph_smalliobenchfs.dir/all] Error 2 ../../../../src/rocksdb/librocksdb.a(db_impl.o): In function `DumpMallocStats': /home/ems/varada/mnt/master/src/rocksdb/db/db_impl.cc:595: undefined reference to `malloc_stats_print' collect2: error: ld returned 1 exit status make[2]: *** [bin/ceph_test_filestore_idempotent] Error 1 make[1]: *** [src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent.dir/all] Error 2 Any workaround or fix for this issue? Varada PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies). -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html