James J
unread,Jan 13, 2025, 4:31:02 PM1/13/25Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Protocol Buffers
When compiling the bazel protobuf target as part of the Envoy project (release 1.32.3), an error is returned saying that PROTOBUF_ATTRIBUTE_REINITIALIZES is an 'unknown type name' in the generated 'type.pb.h' file.
When compiling protobuf on its own, separately from Envoy, the build completes successfully. When comparing the files, PROTOBUF_ATTRIBUTE_REINITIALIZES appears in the file generated during the Envoy build, while ABSL_ATTRIBUTE_REINITIALIZES appears in the file from stand alone build of protobuf.
I compiled both Envoy and protobuf on the ppc64le architecture. The release of Envoy being compiled depends on protobuf version 26.1. Is there a build flag or configuration that determines whether PROTOBUF_ATTRIBUTE_REINITIALIZES or ABSL_ATTRIBUTE_REINITIALIZES is utilized in the generated files?
Any help is appreciated.