GNU bug report logs - #7186
Emacs segfaults during compile with -fstack-protector-all

Previous Next

Package: emacs;

Reported by: William Throwe <wthrowe <at> MIT.EDU>

Date: Sun, 10 Oct 2010 18:54:02 UTC

Severity: important

Tags: patch

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 7186 <at> debbugs.gnu.org (full text, mbox):

From: William Throwe <wthrowe <at> MIT.EDU>
To: 7186 <at> debbugs.gnu.org
Subject: Patch
Date: Sun, 10 Oct 2010 17:10:15 -0400
SSP can reorder function arguments, so the function args can't be
treated as an array if it is enabled.  Simple patch fixing the problem
follows.

*** emacs-23.2/src/m/intel386.h Sat Apr  3 18:26:07 2010
--- emacs-23.2.patch/src/m/intel386.h   Sun Oct 10 16:36:31 2010
***************
*** 103,107 ****
--- 103,111 ----
  #define SEGMENT_MASK ((SEGMENT_SIZE)-1)
  #endif

+ #ifdef __SSP_ALL__
+ #define NO_ARG_ARRAY
+ #endif
+
  /* arch-tag: 746338f0-cb7b-4f49-a98c-cb50817cf2ec
     (do not change this comment) */




This bug report was last modified 14 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.