changeset 108359:5c0ae0e21681

* PROBLEMS: Document gcc-4.5 bug (Bug#6031).
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 27 Apr 2010 11:36:16 -0400
parents 12652a85296d
children 6b4205b02fd5
files etc/ChangeLog etc/PROBLEMS
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ChangeLog	Mon Apr 26 11:55:29 2010 +0200
+++ b/etc/ChangeLog	Tue Apr 27 11:36:16 2010 -0400
@@ -1,3 +1,7 @@
+2010-04-27  Chong Yidong  <cyd@stupidchicken.com>
+
+	* PROBLEMS: Document gcc-4.5 bug (Bug#6031).
+
 2010-04-23  Kenichi Handa  <handa@m17n.org>
 
 	* HELLO: Adjust Burmese for Unicode 5.2 encoding.
--- a/etc/PROBLEMS	Mon Apr 26 11:55:29 2010 +0200
+++ b/etc/PROBLEMS	Tue Apr 27 11:36:16 2010 -0400
@@ -167,6 +167,17 @@
 
 * Crash bugs
 
+** Emacs crashes when running in a terminal, if compiled with gcc-4.5.
+This version of GCC is buggy: see
+
+  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6031
+  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43904
+
+You can work around this error in gcc-4.5 by omitting sibling call
+optimization.  To do this, configure Emacs with
+
+ CFLAGS="-g -O2 -fno-optimize-sibling-calls" ./configure
+
 ** Emacs crashes in x-popup-dialog.
 
 This can happen if the dialog widget cannot find the font it wants to