Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Assertion failures in mruby-pack on big endian #4190
The good news is mruby 2.0.0 works on OpenBSD/sparc64 (previous versions failed to build). However, running the tests shows the following failures:
These failures do not occur on OpenBSD/amd64, and the test output leads me to believe this may be a general mruby-pack issue on big endian systems.
I just wanted to confirm that defining
/* define on big endian machines; used by MRB_NAN_BOXING */ -//#define MRB_ENDIAN_BIG +#include <endian.h> +#if (BYTE_ORDER == BIG_ENDIAN) +#define MRB_ENDIAN_BIG +#endif