[S21.5R21.4] [PATCH] Use system malloc on ppc64.

Malcolm Purvis malcolmp at xemacs.org
Wed Dec 27 07:35:22 EST 2006


21.5 RECOMMEND 21.4 SUPERSEDES <m23b72swj8.fsf at silver.local>

>>>>> "Malcolm" == Malcolm Purvis <malcolmp at 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 at 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 at xemacs.org>



More information about the XEmacs-Patches mailing list