Closed ycytt-rs closed 1 year ago
I also started having this issue when I upgraded from GCC12 to GCC13 (13.1.1). Unfortunately I don't have time to dig into this right now (reverted to GCC12 instead) :/
It's a missing #include <cstdint>
.
Chances are we just need to bump the grpc core fork, no?
I'd be happy to try out any fixes, as I'm having these issues.
As our current workaround we are using an old version of gcc
I've worked around it by using LLVM's libc++
instead of GCC's libstdc++
.
export CXX="clang++" CXXFLAGS="-stdlib=libc++"
Editing grpc-rs/grpc-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h
to add #include <cstdint>
with the other includes, like @heftig said, fixes it - thanks!
Abseil has that include already. If https://github.com/pingcap/grpc can update it's abseil submodule link (like upstream grpc/grpc has done), and then this project update it's pingcap/grpc submodule , it should then build with GCC 13.
@BusyJay sorry to ping but that seems to be a big enough issue easy enough to solve
Will fix it this weekend. I don't have access to pingcap/grpc anymore, I was waiting for https://github.com/pingcap/grpc moving to https://github.com/tikv/grpc these days.
@BusyJay Hi, kindly ask do you have time to fix it?
Will fix it this weekend. I don't have access to pingcap/grpc anymore, I was waiting for https://github.com/pingcap/grpc moving to https://github.com/tikv/grpc these days.
Looks like the move has completed? The two urls both point to tikv/grpc
.
Yes, and #621 should fix this issue.
Now the change is published as 0.13.0.
Describe the bug Failed to build grpcio:
rust log:
features enabled: "prost-codec", "openssl-vendored",
System information