diff etc/PROBLEMS @ 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 dd8a8fd1397e
children 243bfb706af1
line wrap: on
line diff
--- 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