Conversation
Summary:
Like other versions before, gcc 13 moved some includes around and as a result <cstdint> is no longer transitively included [1]. Explicitly include it for uint{32,64}_t.
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
Pull Request resolved: facebook#11118
Reviewed By: cbi42
Differential Revision: D42711356
Pulled By: ajkr
fbshipit-source-id: 5ea257b85b7017f40fd8fdbce965336da95c55b2
(cherry picked from commit 88edfbf)
It uses uint64_t and it comes from <cstdint> This is needed with GCC 13 and newer [1] [1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 31012cd)
|
I don't think that format check is failing on the code introduced in this PR, so can I assume we ignore that? |
|
ping @cbodley @rzarzynski :-) |
|
bump! |
|
For Reef this should be fine assuming we'll stick to the new RocksDB version. |
|
@rzarzynski @markhpc @aclamk any objections to merging this so we can unblock ceph/ceph#50438? |
|
there's a failing check that complains about code formatting. should this be a blocker, or can we go ahead and merge? afaik, the commits were taken directly from upstream rocksdb |
|
Yeah this was just lifted from upstream, also AFAICT the format check is failing on code unrelated to this PR |
|
i would love to see this merge so i can build ceph on fedora 38 |
|
@cbodley: merging this, so it should be possible to update the submodule in |
|
thanks @rzarzynski! would you like me to update the submodule? |
|
Feel free to bump it up, @cbodley! I can send a PR if you prefer. |
|
see ceph/ceph#51737 |
Note we fixed the rocksdb paths for ceph: s|([ab]/)|$1src/rocksdb/|g Upstream-ref: ceph/ceph#52119 Upstream-ref: ceph/rocksdb#44
Note we fixed the rocksdb paths for ceph: s|([ab]/)|$1src/rocksdb/|g Upstream-ref: ceph/ceph#52119 Upstream-ref: ceph/rocksdb#44
This applies the following two patches:
See ceph/ceph#50438 for further discussion.