On Wed, Jul 19, 2017 at 01:05:32PM +0200, John Paul Adrian Glaubitz wrote:
> This can be either fixed by building emacs25 on m68k with "--with-wide-int"
> or by applying the attached patch which makes sure the alignment of 
> List_Object
> is correct and the tagged pointers work as expected.

This should be "Lisp_Symbol", of course, not "List_Object".

> Description: Make sure that List_Symbol is 8-byte-aligned
> Author: Michael Karcher <deb...@mkarcher.dialup.fu-berlin.de>
> Last-Update: 2017-07-19

Here as well.  Attaching an updated patch.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Description: Make sure that Lisp_Symbol is 8-byte-aligned
Author: Michael Karcher <deb...@mkarcher.dialup.fu-berlin.de>
Last-Update: 2017-07-19

Index: emacs25-25.2+1/src/lisp.h
===================================================================
--- emacs25-25.2+1.orig/src/lisp.h
+++ emacs25-25.2+1/src/lisp.h
@@ -658,7 +658,7 @@ struct Lisp_Symbol
   bool_bf pinned : 1;
 
   /* The symbol's name, as a Lisp string.  */
-  Lisp_Object name;
+  Lisp_Object name __attribute__((aligned(4)));
 
   /* Value of the symbol or Qunbound if unbound.  Which alternative of the
      union is used depends on the `redirect' field above.  */

Reply via email to