No support for bigendian machines #888

Closed
jonassmedegaard opened this Issue Feb 23, 2012 · 5 comments

Projects

None yet

3 participants

@jonassmedegaard

...and apparently as far back as 0.4.0 (perhaps always, just not covered by regression tests before that?).

See the "old" links in above page, e.g. https://buildd.debian.org/status/logs.php?pkg=bitcoin&arch=mips

@sipa
Bitcoin member

Unfortunately, Satoshi's implementation always depended on little-endianness. As the serialization is implemented through simple memory copying, there is no way it would work on other endiannesses. I am willing to look into this, and improve the situation, but access to a big-endian system would be useful...

@sipa
Bitcoin member

I've demoted this from bug to improvement; non-little endian architectures are simply not supported for now.

@laanwj
Bitcoin member

Related issue: serialize.h its binary format depends on the in-memory sizes of char, int, long, ... On a platform on which these are different from x86, the serialized format will be incompatible.

@laanwj laanwj changed the title from 0.5.2 fails regression tests on bigendian machines to No support for bigendian machines Apr 29, 2014
@laanwj
Bitcoin member

Closing after #5510

@laanwj laanwj closed this Jul 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment