21.5 RECOMMEND 21.4
Building on ppc64 linux systems and alpha systems fail because of problems
with the Doug Lea malloc. This patch make these systems use the system malloc
by default.
BTW, we've been recommending this solution for a while, eg:
http://thread.gmane.org/gmane.emacs.xemacs.beta/8074/focus=8078
Malcolm
src/ChangeLog addition:
2006-12-26 Malcolm Purvis <malcolmp(a)xemacs.org>
* s/linux.h: Enable SYSTEM_MALLOC on ppc64 and alpha systems.
xemacs-ppc64-malloc source patch:
Diff command: cvs -q diff -u
Files affected: src/s/linux.h
===================================================================
RCS
Index: src/s/linux.h
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/s/linux.h,v
retrieving revision 1.19
diff -u -r1.19 linux.h
--- src/s/linux.h 2002/08/12 14:45:34 1.19
+++ src/s/linux.h 2006/12/26 11:42:52
@@ -206,3 +206,8 @@
/* XEmacs: removed setpgrp() definition because we use setpgid() when
it's available, and autodetect it. */
+/* The in-built malloc does not work on PPC64 or Alpha, so use the system
+ malloc for now. */
+#if defined(__powerpc64__) || defined(__alpha__)
+#define SYSTEM_MALLOC
+#endif
--
Malcolm Purvis <malcolmp(a)xemacs.org>
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches