• Status New
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System pentium4
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Arch Linux 32
Opened by Andreas Baumann - 08.07.2022
Last edited by Andreas Baumann - 08.07.2022

FS#275 - [protobuf] breaks heavily on 32-bit

/build/protobuf/src/protobuf-21.2/src/google/protobuf/repeated_field.h: In instantiation of ‘constexpr int google::protobuf::internal::RepeatedFieldLowerClampLimit() [with T = long long int; int kRepHeaderSize = 4]’:

/data/work/arch32/protobuf/src/protobuf-21.2/src/google/protobuf/repeated_field.h:81:27: note: the comparison reduces to ‘(8 ⇐ 4)’

Admin
Andreas Baumann commented on 08.07.2022 17:27

/data/work/arch32/protobuf/src/protobuf-21.2/src/google/protobuf/extension_set_unittest.cc:881:3: required from here

TEST_REPEATED_EXTENSIONS_SPACE_USED(double, double, 112);

/data/work/arch32/protobuf/src/protobuf-21.2/src/google/protobuf/extension_set_unittest.cc:873:3: required from here

TEST_REPEATED_EXTENSIONS_SPACE_USED(uint64, uint64_t, 104);

/data/work/arch32/protobuf/src/protobuf-21.2/src/google/protobuf/extension_set_unittest.cc:871:3: required from here

TEST_REPEATED_EXTENSIONS_SPACE_USED(int64, int64_t, 102);

So, this is a mixup with int64 definitions on 32-bit machines?

Admin
Andreas Baumann commented on 08.07.2022 17:31

Or the header size is not computed correctly..

Admin
Andreas Baumann commented on 08.07.2022 17:36

Mmh. In the worst case this is a compiler thing..

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing