On 04/08/2018 16:33, kefu chai wrote:
On Sat, Aug 4, 2018 at 6:02 AM Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote:
Suggestions on how to fix this??
https://github.com/ceph/ceph/pull/23424 should address this FTBFS.
Running thru Jenkins.
--WjW
Thanx,
--WjW
The LLVM linker does not seem to appriciate this new piece of code:
/// number of connections we send and receive heartbeat pings/replies
const static int HEARTBEAT_MAX_CONN = 2;
/// history of inflight pings, arranging by timestamp we sent
/// send time -> deadline -> remaining replies
it results in:
Scanning dependencies of target osd
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/OSD.cc.o
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/Watch.cc.o
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/PG.cc.o
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/PGBackend.cc.o
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/ECBackend.cc.o
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/ECTransaction.cc.o
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/PrimaryLogPG.cc.o
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/OpQueueItem.cc.o
[ 95%] Building CXX object src/osd/CMakeFiles/osd.dir/ReplicatedBackend.cc.o
[ 95%] Linking CXX static library ../../lib/libosd.a
[100%] Built target osd
Scanning dependencies of target ceph-osd
[100%] Building CXX object src/CMakeFiles/ceph-osd.dir/ceph_osd.cc.o
[100%] Linking CXX executable ../bin/ceph-osd
/usr/bin/ld.lld: error: undefined symbol: heartbeatInfo::HEARTBEAT_MAX_CONN
>>> referenced by OSD.cc
>>> OSD.cc.o:(OSD::heartbeat()) in archive ../lib/libosd.a
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
Other attempts to ease the restrictions on the definition of
HEARTBEAT_MAX_CON result into a compiler error.
--
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