unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 6039@debbugs.gnu.org
Subject: bug#6039: Building Emacs BZR with GCC 4.5.0
Date: Wed, 28 Apr 2010 12:07:00 +0900	[thread overview]
Message-ID: <20100428030659.GD4272@smoon2> (raw)
In-Reply-To: <87och4oqhh.fsf@stupidchicken.com>

** Chong Yidong [2010-04-27 11:38:18 -0400]:

> Vladimir Lomov <lomov.vl@gmail.com> writes:

>> Seems that if I pass option '-fno-optimize-sibling-calls' to configure
>> (CFLAGS="-O2 -fno-optimize-sibling-calls")
>> then compiled emacs works
>> (I run it under gdb with options '-Q -D' and without any options
>> without segfault) but I don't know how this option affects the emacs.

> Yep, see

>   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6031

> It's a GCC bug.
It is nice :).

Actually I found more puzzling thing. If I run configure with the same
options as I described earlier but define CFLAGS variable like this
CFLAGS="-O3"
compile emacs source and run emacs within gdb:
(gdb) run -Q -D
or 
(gdb) run
it don't segfault.
(bzr revno && bzr revno --tree: 100061)

May be there are some tests to check compiled executable?

-- 
A guy has to get fresh once in a while so a girl doesn't lose her confidence.






      reply	other threads:[~2010-04-28  3:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 14:33 bug#6039: Building Emacs BZR with GCC 4.5.0 Vladimir Lomov
2010-04-26 15:03 ` Chong Yidong
2010-04-27  3:01   ` Vladimir Lomov
2010-04-27  4:38   ` Vladimir Lomov
2010-04-27 15:38     ` Chong Yidong
2010-04-28  3:07       ` Vladimir Lomov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100428030659.GD4272@smoon2 \
    --to=lomov.vl@gmail.com \
    --cc=6039@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).