emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 23.1.96 (git HEAD) crashing at startup.


From: Elias Pipping
Subject: Re: Emacs 23.1.96 (git HEAD) crashing at startup.
Date: Mon, 3 May 2010 00:05:36 +0200

On Sun, May 2, 2010 at 8:46 PM, Chong Yidong <address@hidden> wrote:
> *** configure.in        2010-04-20 01:29:37 +0000
> --- configure.in        2010-05-02 18:27:15 +0000
> + ## GCC 4.5 has a bug that makes Emacs crash.  See etc/PROBLEMS.
> + if test x"`gcc --version 2> /dev/null | grep ' 4.5.0'`" != x; then
> +     if test x"`echo $CFLAGS | grep O2`" != x; then
> +        AC_MSG_ERROR([GCC 4.5.0 is buggy; can't compile Emacs with -O2'.])
> +     fi
> + fi
> +

Could you make the check and the error message a bit more precise? For
example, CFLAGS="-O2 -fno-optimize-sibling-calls" should get through
(CFLAGS="-O1 -foptimize-sibling-calls" should not, but that can
probably be ignored). It'd also be nice if either the error message or
the comments in configure.in referred to this bug.


Kind regards,

Elias




reply via email to

[Prev in Thread] Current Thread [Next in Thread]