【JEWEL】 compile rocksdb with jemalloc failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

In our production cluster, we use jewel 10.2.10. We use jemalloc to
allocate memory.
These days we are trying to add rocksdb  support to osd and monitor,

I have merged the  commit below but failed to compile the code,

https://github.com/ceph/ceph/pull/18010
https://github.com/ceph/ceph/pull/18010

The screen shows :
src/rocksdb/db/db_impl.cc:401    undefined reference to 'malloc_stats_print'
Make[3] :  [ceph_test_keyvaluedb] ERROR 1
src/rocksdb/db/db_impl.cc:401    undefined reference to 'malloc_stats_print'
Make[3] :  [ceph_osdmap_tool] ERROR 1
src/rocksdb/db/db_impl.cc:401    undefined reference to 'malloc_stats_print'
Make[3] :  [ceph_kvstore_tool] ERROR 1

Then I find some related commit which merged in Lumious:
cmake: should link against ${ALLOC_LIBS}
https://github.com/ceph/ceph/pull/11978/files

But this commit did not resolve my problem, there errors still exists.

But when I compile 10.2.11 , no errors show, it's very surprising. ALL
makefile seems the same.

I have spended one day to solve the problem with no outcome.

I must miss some commits, Anyone has some clues?

Best wished,
brandy




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux