GNU bug report logs -
#29040
emacs-26 crash due to misaligned longjmp buffer in 64-bit MSYS2/MinGW-W64 build
Previous Next
Reported by: Richard Copley <rcopley <at> gmail.com>
Date: Sat, 28 Oct 2017 13:42:02 UTC
Severity: normal
Tags: fixed
Done: Richard Copley <rcopley <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Cc: rcopley <at> gmail.com, 29040 <at> debbugs.gnu.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Thu, 2 Nov 2017 22:03:17 -0700
>
> I attempted to clarify this by installing the first attached patch into the
> emacs-26 branch. This patch adds a comment to the definition of GCALIGNED. If
> the name "GCALIGNED" itself is confusing, we can systematically change the name
> to something else. (The name doesn't confuse me, but perhaps I'm too close to
> the code.)
Seems like this causes trouble to some versions of GCC. Compiling the
current master on fencepost.gnu.org with GCC 4.8.4 fails with the
following diagnostic:
In file included from lisp.h:783:0,
from vm-limit.c:21:
globals.h:1095:10: error: requested alignment is not an integer constant
struct Lisp_Symbol GCALIGNED s;
^
In file included from vm-limit.c:21:0:
lisp.h:1149:3: error: requested alignment is not an integer constant
};
^
lisp.h:1262:3: error: requested alignment is not an integer constant
};
^
This GCC identifies itself as
$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This bug report was last modified 7 years and 208 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.