bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#8217: 23.3; Runtime segmentation fault when compiled with -O2 on GNU


From: Andreas Schwab
Subject: bug#8217: 23.3; Runtime segmentation fault when compiled with -O2 on GNU/Linux
Date: Thu, 10 Mar 2011 09:52:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Ulrich Mueller <address@hidden> writes:

> Forwarding downstream bug: <https://bugs.gentoo.org/show_bug.cgi?id=358177>
>
> Emacs 23.3 compiled with -O2 on x86_64-pc-linux-gnu immediately fails
> with a segmentation fault at runtime. This is with GCC 4.5.2 (but it
> also fails when compiled with GCC 4.4.5 or 4.3.5).
>
>    $ emacs -Q
>    Fatal error (11)Segmentation fault
>
> The problem disappears when -fno-strict-aliasing is added to CFLAGS.

Try compiling with -Wstrict-aliasing.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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