mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
we should not hardwire the include path to the fmt submodule, there is chance that we are using libfmt installed in system. in my case, crimson fails to link because the the ABI of libfmt is not compatible with that of libfmt included as a submodule : && ccache /usr/bin/g++-9 .... \ -o bin/crimson-osd -Wl,-rpath,::::::::::::::::::: lib/libcrimson-common.a lib/libcrimson-os.a lib/libcrimson.a \ .... \ /usr/lib/x86_64-linux-gnu/libfmt.a \ ... /usr/bin/ld: src/crimson/osd/CMakeFiles/crimson-osd.dir/main.cc.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_double<double>(double, fmt::v5::basic_format_specs<char > const&)': /var/ssd/ceph/build/../src/fmt/include/fmt/format.h:2822: undefined reference to `bool fmt::v5::internal::grisu2_format<double, 0>(double, fmt::v5::internal::basic_buffer<char>&, int, bool, int&)' /usr/bin/ld: src/crimson/osd/CMakeFiles/crimson-osd.dir/main.cc.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_double<long double>(long double, fmt::v5::basic_format_ specs<char> const&)': /var/ssd/ceph/build/../src/fmt/include/fmt/format.h:2822: undefined reference to `bool fmt::v5::internal::grisu2_format<double, 0>(double, fmt::v5::internal::basic_buffer<char>&, int, bool, int&)' /usr/bin/ld: src/crimson/osd/CMakeFiles/crimson-osd.dir/osd.cc.o: in function `void fmt::v5::basic_writer<fmt::v5::output_range<std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> >, char> >::write_double<double>(double, fmt:: v5::basic_format_specs<char> const&)': /var/ssd/ceph/build/../src/fmt/include/fmt/format.h:2822: undefined reference to `bool fmt::v5::internal::grisu2_format<double, 0>(double, fmt::v5::internal::basic_buffer<char>&, int, bool, int&)' /usr/bin/ld: src/crimson/osd/CMakeFiles/crimson-osd.dir/osd.cc.o: in function `void fmt::v5::basic_writer<fmt::v5::output_range<std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> >, char> >::write_double<long double>(long dou ble, fmt::v5::basic_format_specs<char> const&)': /var/ssd/ceph/build/../src/fmt/include/fmt/format.h:2822: undefined reference to `bool fmt::v5::internal::grisu2_format<double, 0>(double, fmt::v5::internal::basic_buffer<char>&, int, bool, int&)' collect2: error: ld returned 1 exit status Signed-off-by: Kefu Chai <kchai@redhat.com> |
||
---|---|---|
.. | ||
arch | ||
auth | ||
bash_completion | ||
blkin@f24ceec055 | ||
c-ares@fd6124c74d | ||
ceph-daemon | ||
ceph-volume | ||
civetweb@bb99e93da0 | ||
client | ||
cls | ||
common | ||
compressor | ||
crimson | ||
crush | ||
crypto | ||
dmclock@47703948cb | ||
doc | ||
erasure-code | ||
fmt@7ad3015f5b | ||
global | ||
googletest@4e29e48840 | ||
include | ||
isa-l@7e1a337433 | ||
java | ||
journal | ||
json_spirit | ||
key_value_store | ||
kv | ||
librados | ||
libradosstriper | ||
librbd | ||
log | ||
lua@1fce39c639 | ||
mds | ||
messages | ||
mgr | ||
mon | ||
mount | ||
msg | ||
objclass | ||
objsync | ||
ocf | ||
os | ||
osd | ||
osdc | ||
perfglue | ||
powerdns | ||
pybind | ||
python-common | ||
RADOS | ||
rapidjson@f54b0e47a0 | ||
rbd_fuse | ||
rbd_replay | ||
rgw | ||
rocksdb@4c736f1778 | ||
script | ||
seastar@89a85fdd7b | ||
spdk@06d09c1108 | ||
telemetry | ||
test | ||
tools | ||
tracing | ||
xxHash@1f40c6511f | ||
zstd@83b51e9f88 | ||
.gitignore | ||
btrfs_ioc_test.c | ||
ceph_common.sh | ||
ceph_fuse.cc | ||
ceph_mds.cc | ||
ceph_mgr.cc | ||
ceph_mon.cc | ||
ceph_osd.cc | ||
ceph_release | ||
ceph_syn.cc | ||
ceph_ver.c | ||
ceph_ver.h.in.cmake | ||
ceph-clsinfo | ||
ceph-coverage.in | ||
ceph-crash.in | ||
ceph-create-keys | ||
ceph-debugpack.in | ||
ceph-osd-prestart.sh | ||
ceph-post-file.in | ||
ceph-rbdnamer | ||
ceph-run | ||
ceph.conf.twoosds | ||
ceph.in | ||
cls_acl.cc | ||
cls_crypto.cc | ||
CMakeLists.txt | ||
cmonctl | ||
etc-rbdmap | ||
init-ceph.in | ||
init-radosgw | ||
init-rbdmap | ||
krbd.cc | ||
libcephfs.cc | ||
librados-config.cc | ||
loadclass.sh | ||
logrotate.conf | ||
mount.fuse.ceph | ||
mrgw.sh | ||
mrun | ||
mstart.sh | ||
mstop.sh | ||
multi-dump.sh | ||
mypy.ini | ||
perf_histogram.h | ||
ps-ceph.pl | ||
push_to_qemu.pl | ||
rbd-replay-many | ||
rbdmap | ||
README | ||
sample.ceph.conf | ||
stop.sh | ||
TODO | ||
vnewosd.sh | ||
vstart.sh | ||
yasm-wrapper |
Sage Weil <sage@newdream.net> Ceph - scalable distributed storage system