[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LMDB test assertion failures on Linux/MIPS



hyc@symas.com said:
> That seems pretty unlikely, considering that the code works fine on
> SPARC which also has quite stringent alignment requirements. I
> presume you're compiling a 32 bit binary, not 64 bit. Perhaps shorts
> are bigger than 16 bits on your platform?

32-bit, yes. Otherwise nothing out of the ordinary:

(from the target)
pagesize 4096
size_t 4
int 4
short 2
void* 4

The only thing which is somewhat unusual is that I use musl libc
(http://www.musl-libc.org/). However I also use this on my x86_64 dev boxes
and everything works fine. 

I'm currently building an eglibc toolchain for MIPS just to rule that
possibility out.

Martin