https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2015-11-20T18:48:19ZCeph Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=619002015-11-20T18:48:19ZDan Mickdmick@redhat.com
<ul></ul><p>all these symbols are in the installed /usr/lib64/liblz4.so.1.6.0</p> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=619032015-11-20T18:54:12ZDan Mickdmick@redhat.com
<ul></ul><p>g++ -I/usr/include/nss3 -I/usr/include/nspr4 -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -fno-strict-aliasing -fsigned-char -rdynamic -ftemplate-depth-1024 -Wnon-virtual-dtor -Wno-invalid-offsetof -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fPIE -fstack-protector -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -Wno-unused-parameter -std=gnu++11 -Wl,--as-needed -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ceph_objectstore_bench test/objectstore_bench.o libos.a -laio libos_types.a libkv.a rocksdb/librocksdb.a -lbz2 -lz -lleveldb -lsnappy ./.libs/libglobal.a ./.libs/libcommon.a -lboost_thread -latomic_ops -lboost_random -lblkid -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lm -lrt -lboost_system</p>
<p>yeah, I don't see lz4 in there</p> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=619042015-11-20T19:13:30ZDan Mickdmick@redhat.com
<ul></ul><p>--with-librocksdb-static is true; src/rocksdb/librocksdb.a does indeed still have unbound references to LZ4*</p> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=620452015-11-25T00:37:39ZDan Mickdmick@redhat.com
<ul></ul><p>rex001 had lz4-devel installed, which caused rocksdb to configure itself to use LZ4...but nothing consumed the '-llz4' snippet it placed in make_config.mk, so the link didn't know to use it.</p>
<p>We should probably explicitly disable lz4, or change things to set flags in the consuming link from the autoconfigured flags in rocksdb/make_config.mk</p> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=620462015-11-25T00:38:12ZDan Mickdmick@redhat.com
<ul><li><strong>Subject</strong> changed from <i>master fails to build on f20</i> to <i>master fails to build when liblz4 is present (rocksdb)</i></li></ul> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=622742015-12-01T15:27:26ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Assignee</strong> set to <i>Kefu Chai</i></li></ul> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=631192015-12-16T10:33:33ZIoana Ciorneiciorneiioana@gmail.com
<ul></ul><p>I got into this bug trying to build ceph on a machine that runs Arch. Since arch does not have different packages for -devel the lz4 headers are installed by default (systemd has lz4 as a dependency). Is there any workaround for this bug? Thanks</p> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=633752015-12-23T10:47:23ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/7030">https://github.com/ceph/ceph/pull/7030</a></p> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=633792015-12-23T12:18:28ZKefu Chaitchaikov@gmail.com
<ul></ul><p>we'd better make sure our building env is a clean room, otherwise the configure script will detect the installed and bzlib and liblz4, and the created ceph-osd and ceph-mon executable will be dynamically linked against these libraries.</p> Ceph - Bug #13850: master fails to build when liblz4 is present (rocksdb)https://tracker.ceph.com/issues/13850?journal_id=635262016-01-04T13:51:15ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul>