Skip to content

Errors compiling protobufs using v3.29.3 #240

@paulbry

Description

@paulbry

When MGARD is being compiled via Spack using version 3.29.3 of Protobuf the following errors are observed:

    explicit Container(Arena* input_arena)
             ^
          detected during:
            instantiation of "T *google::protobuf::Arena::Create<T,Args...>(google::protobuf::Arena *, Args &&...) [with T=google::protobuf::internal::InternalMetadata::Container<google::protobuf::UnknownFieldSet>, Args=<>]" at line 171 of /home/software/spack/[padded-to-256-chars]/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/protobuf-3.29.3-nrpf6hyh3gtmk6rrppytvdj6htrgjtvj/include/google/protobuf/metadata_lite.h
            instantiation of "T *google::protobuf::internal::InternalMetadata::mutable_unknown_fields_slow<T>() [with T=google::protobuf::UnknownFieldSet]" at line 96 of /home/software/spack/[padded-to-256-chars]/linux-ubuntu22.04-x86_64_v3/gcc-11.4.0/protobuf-3.29.3-nrpf6hyh3gtmk6rrppytvdj6htrgjtvj/include/google/protobuf/metadata_lite.h
            instantiation of "T *google::protobuf::internal::InternalMetadata::mutable_unknown_fields<T>() [with T=google::protobuf::UnknownFieldSet]" at line 693 of /tmp/root/spack-stage/spack-stage-mgard-2023-12-09-7shz7aqrixscqqc5ouxtms6xz2x7r25y/spack-build-7shz7aq/include/proto/mgard.pb.h
2 errors detected in the compilation of "/tmp/root/spack-stage/spack-stage-mgard-2023-12-09-7shz7aqrixscqqc5ouxtms6xz2x7r25y/spack-build-7shz7aq/src/mgard-x/CompressionHighLevel/Compress_CUDA.cpp".
make[2]: *** [CMakeFiles/mgard-library.dir/build.make:8531: CMakeFiles/mgard-library.dir/src/mgard-x/CompressionHighLevel/Compress_CUDA.cpp.o] Error 1

Using Protobuf v3.28.2 the build completes successfully.

CC: @robertu94

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions