21.5 RECOMMEND 21.4 SUPERSEDES <m23b72swj8.fsf(a)silver.local>
>>>> "Malcolm" == Malcolm Purvis
<malcolmp(a)xemacs.org> writes:
Malcolm> Building on ppc64 linux systems and alpha systems fail because of
Malcolm> problems with the Doug Lea malloc.
As suggested by Ville, this updated version checks for ia64 systems as well.
Malcolm
src/ChangeLog addition:
2006-12-26 Malcolm Purvis <malcolmp(a)xemacs.org>
* s/linux.h: Enable SYSTEM_MALLOC on ppc64 and alpha systems.
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/27 12:30:24
@@ -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__) || defined(__ia64__)
+#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