gRPC C++ compile error on Ubuntu

18 views
Skip to first unread message

Mary Zhang

unread,
Aug 22, 2024, 4:17:32 PMAug 22
to grp...@googlegroups.com
Hi,

I followed this quick start guide using cmake 3.19.6:
https://grpc.io/docs/languages/cpp/quickstart/,  but I run into this compile error when try to build gRPC on Ubuntu with GNU 9.4.0 for C|CXX compiler.

It tells me to report a bug and so here it is.

Thank you!

Mary

The gRPC complie/build error:

~/grpc/grpc/src/core/lib/surface/call.cc: In constructor ‘grpc_core::{anonymous}::MaybeOpImpl<SetupFn>::MaybeOpImpl(grpc_core::{anonymous}::MaybeOpImpl<SetupFn>&&) [with SetupFn = grpc_core::ServerCallSpine::CommitBatch(const grpc_op*, size_t, void*, bool)::<lambda(const grpc_op&)>]’:
/home/mary/grpc/grpc/src/core/lib/surface/call.cc:3736:55: internal compiler error: in assign_temp, at function.c:982
 3736 |       : state_(MoveState(other.state_)), op_(other.op_) {}
      |                                                       ^
0x7fd76a7ed082 __libc_start_main
      ../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
[ 85%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/surface/event_string.cc.o
make[2]: *** [CMakeFiles/grpc.dir/build.make:8532: CMakeFiles/grpc.dir/src/core/lib/surface/call.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1844: CMakeFiles/grpc.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
Reply all
Reply to author
Forward
0 new messages