skrabban/mongo-nonx86 — comment on commit e1d7785c7954c63d3164e98cfcd979fd08fa02b7
File:  line 0
By skrabban:

On Fri, Feb 24, 2012 at 12:00 PM, Jani Monoses

wrote:
> So the main work in x86 is endianness-independence patches? I am mostly interested in ARM which is little-endian as well, so maybe a subset of these would do.

There are a few things that cause trouble on other processors than the
amd64/x86:
1. signedness of char
2. endianess
3. the need for data to be naturally aligned
4. sizeof(bool)
5. Wrong way of detecting some features of the compiler etc.

Assuming that the processor runs in little endian mode, older ARM:s
needs patches for 1,3 and 5, newer for 1 and 5.
PowerPC needs for 1, 2 and 5, SPARC for 2, 3 and 5 etc.

2 and 3 are taken care of by the same patch-set.