GNU bug report logs - #22065
core dumped during compilation (emacs-25 branch on FreeBSD 9)

Previous Next

Package: emacs;

Reported by: Joseph Mingrone <jrm <at> ftfl.ca>

Date: Mon, 30 Nov 2015 22:16:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Wolfgang Jenkner <wjenkner <at> inode.at>, Joseph Mingrone <jrm <at> ftfl.ca>
Cc: ashish <at> FreeBSD.org, 22065 <at> debbugs.gnu.org, Dmitry Antipov <dmantipov <at> yandex.ru>
Subject: bug#22065: core dumped during compilation (emacs-25 branch on FreeBSD 9)
Date: Sun, 14 Feb 2016 11:47:57 -0800
[Message part 1 (text/plain, inline)]
Wolfgang Jenkner wrote:
> So, perhaps, the FreeBSD 9 default base cc (a patched gcc 4.2.1) has
> some stack-related optimization bug, even on amd64?

Thanks for the detective work. It inspired me to search GCC bug reports, where I 
found a couple that appear to be directly relevant. The corresponding bug was 
fixed in 2008 but GCC 4.2.1 predates the fix. I installed the attached patch 
into the emacs-25 branch, and I hope it works around the compiler bug with 
stack-allocated Lisp objects on FreeBSD 9. Please give it a try.
[emacs.diff (text/x-diff, attachment)]

This bug report was last modified 9 years and 66 days ago.

Previous Next


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