You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This grpc helper library was introduced with grpc++ version 1.3.0.
It includes generated protobuf code for google.rpc.Status. Unfortunately we also include this generated code in our library libpiproto (which includes all the generated protobuf code for p4runtime.proto, etc). The 2 seem to clash when we start any binary which was linked to both libraries:
[libprotobuf ERROR google/protobuf/descriptor_database.cc:109] Symbol name "google.rpc.Status" conflicts with the existing symbol "google.rpc.Status".
[libprotobuf FATAL google/protobuf/descriptor.cc:1164] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
Aborted (core dumped)
We use this libgrpc++_error_details to have access to grpc::SetErrorDetails. As a temporary measure we have simply copied the code for this function to this repo, but it would be nice to have a more robust / permanent solution.
The text was updated successfully, but these errors were encountered:
This grpc helper library was introduced with grpc++ version 1.3.0.
It includes generated protobuf code for
google.rpc.Status
. Unfortunately we also include this generated code in our librarylibpiproto
(which includes all the generated protobuf code for p4runtime.proto, etc). The 2 seem to clash when we start any binary which was linked to both libraries:We use this
libgrpc++_error_details
to have access togrpc::SetErrorDetails
. As a temporary measure we have simply copied the code for this function to this repo, but it would be nice to have a more robust / permanent solution.The text was updated successfully, but these errors were encountered: