With the attached patch the sparc build of the 2:2.4.2-1 version succeeds and all tests invoked by 'make test' pass (the previously posted patch is no longer required).
I assume that fixes for other architectures are similarly trivial, however I don't know what their alignment requirements are and don't have a simple way to access them to test the build. Best regards, -- Jurij Smakov ju...@wooyd.org Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
--- a/deps/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in 2011-10-26 15:16:33.000000000 +0100 +++ b/deps/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in 2011-12-04 22:23:01.172009427 +0000 @@ -132,6 +132,9 @@ #ifdef __alpha__ # define LG_QUANTUM 4 #endif +#ifdef __sparc__ +# define LG_QUANTUM 3 +#endif #ifdef __sparc64__ # define LG_QUANTUM 4 #endif