Comment #3 on issue 74 by mjhostetter: configure script incorrectly
identifies sparc v9 as little endian, selecting incorrect hash function.
http://code.google.com/p/memcached/issues/detail?id=74
FWIW I previously sent a patch against 1.4.0 to fix incorrect reuse of the
ac_cv_c_endian variable in configure.ac. If reconfiguring with cached
results from a
previous configure, that bug would cause you to get a messed up
configuration that
was neither ENDIAN_BIG nor ENDIAN_LITTLE, because, on platforms that need
alignment,
ac_cv_c_endian gets cached as "need" instead of "big" or "little".
--- configure.ac.orig 2009-08-04 10:51:37.074888000 -0400
+++ configure.ac 2009-08-04 10:51:44.944340000 -0400
@@ -309,10 +309,10 @@
],[
ac_cv_c_alignment=none
],[
- ac_cv_c_endian=need
+ ac_cv_c_alignment=need
])
])
-if test $ac_cv_c_endian = need; then
+if test $ac_cv_c_alignment = need; then
AC_DEFINE(NEED_ALIGN, 1, [Machine need alignment])
fi
])
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings