https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- I've got it, sparc64 does not define __BIG_ENDIAN__. I'm testing a patch that does endianess detection based on __BYTE_ORDER__.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- I've got it, sparc64 does not define __BIG_ENDIAN__. I'm testing a patch that does endianess detection based on __BYTE_ORDER__.