Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
2.7.4
-
None
Description
We lack a fundamental read/write primitive for the server which provides an endian and alignment safe cross platform abstraction. I.e. one which swabs bytes where necessary and reads/writes via memcpy rather than reinterpret_cast.
This is needed to:
- remove undefined behavior in the server
- enable builds on big endian architectures
- enable builds on architectures with strict alignment access
- remove -fno-strict-aliasing from server compilation flags
Attachments
Issue Links
- is depended on by
-
SERVER-1625 Make core server work on big-endian (Sparc) machines
-
- Closed
-
-
SERVER-1811 ARM support
-
- Closed
-
- is related to
-
SERVER-14853 Port networking library to AAE read/write abstractions
-
- Closed
-
-
SERVER-17629 Implement BoundedDataCursor/DataRange primitive
-
- Closed
-