Open Bug 1198917 Opened 6 years ago Updated 4 years ago

google protobuf architecture ifdefs inconsistency

Categories

(Core :: General, defect)

41 Branch
defect
Not set
normal

Tracking

()

People

(Reporter: martin, Unassigned)

References

Details

Attachments

(1 file)

google protobufs atomics in general use GOOGLE_PROTOBUF_ARCH_64_BIT to test for a 64bit build, but sometimes _LP64 is used. This leads to inconsistencies and build failures - noticed on NetBSD/sparc64 but probably all non-solaris sparc64 builds are affected.

Simple patch attached, but I have no idea how this upstream is handled.
I found the github upstream tracker and created an issue there as well: https://github.com/google/protobuf/issues/763
This has been fixed (slightly differently) upstream now. Importing a newer protobuf variant would fix the issue.
See Also: → 1384753
You need to log in before you can comment on or make changes to this bug.