No support for bigendian machines #888

issue jonassmedegaard opened this issue on February 23, 2012
  1. jonassmedegaard commented at 11:27 AM on February 23, 2012: none
  2. jonassmedegaard commented at 11:33 AM on February 23, 2012: none

    ...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

  3. sipa commented at 12:06 PM on February 23, 2012: 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...

  4. sipa commented at 7:17 PM on February 25, 2012: member

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

  5. laanwj commented at 4:18 PM on April 17, 2012: 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.

  6. laanwj cross-referenced this on Apr 17, 2012 from issue Build errors with GCC 4.7 by luke-jr
  7. laanwj cross-referenced this on Apr 18, 2012 from issue Unsigned char fix & fix undefined phexdigits[255] by dlitz
  8. laanwj renamed this:
    0.5.2 fails regression tests on bigendian machines
    No support for bigendian machines
    on Apr 29, 2014
  9. laanwj cross-referenced this on Dec 15, 2014 from issue Replace uint256/uint160 by opaque blobs where possible by laanwj
  10. laanwj cross-referenced this on Dec 16, 2014 from issue Replace uint256/uint160 with opaque blobs where possible (cont'd) by laanwj
  11. laanwj cross-referenced this on Dec 19, 2014 from issue Big endian support by laanwj
  12. laanwj commented at 9:55 AM on July 21, 2015: member

    Closing after #5510

  13. laanwj closed this on Jul 21, 2015

  14. destenson referenced this in commit 22077db967 on Jun 26, 2016
  15. ptschip referenced this in commit a64f89ec1d on Jan 7, 2018
  16. lateminer referenced this in commit 0c071c3fd0 on Oct 30, 2019
  17. random-zebra cross-referenced this on Apr 24, 2020 from issue [Core] Big endian support by random-zebra
  18. random-zebra referenced this in commit 0dedec8157 on May 17, 2020
  19. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:56 UTC