From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.emacs.bugs Subject: bug#6039: Building Emacs BZR with GCC 4.5.0 Date: Wed, 28 Apr 2010 12:07:00 +0900 Message-ID: <20100428030659.GD4272@smoon2> References: <877hnu45oo.fsf@stupidchicken.com> <20100427043838.GC4272@smoon2> <87och4oqhh.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272425150 9298 80.91.229.12 (28 Apr 2010 03:25:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2010 03:25:50 +0000 (UTC) Cc: 6039@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 28 05:25:48 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O6xuG-000165-4A for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Apr 2010 05:25:48 +0200 Original-Received: from localhost ([127.0.0.1]:57481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6xuE-0006iY-UO for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Apr 2010 23:25:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6xuA-0006iQ-DD for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 23:25:42 -0400 Original-Received: from [140.186.70.92] (port=33255 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6xu8-0006iE-VF for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 23:25:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6xu7-0001Ul-K0 for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 23:25:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44352) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6xu7-0001Ud-HU for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 23:25:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6xc6-0006iC-KB; Tue, 27 Apr 2010 23:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vladimir Lomov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Apr 2010 03:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6039 X-GNU-PR-Package: notemacs X-GNU-PR-Keywords: Original-Received: via spool by 6039-submit@debbugs.gnu.org id=B6039.127242402025794 (code B ref 6039); Wed, 28 Apr 2010 03:07:02 +0000 Original-Received: (at 6039) by debbugs.gnu.org; 28 Apr 2010 03:07:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6xc3-0006hz-Ly for submit@debbugs.gnu.org; Tue, 27 Apr 2010 23:06:59 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.152]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6xc1-0006hu-SA for 6039@debbugs.gnu.org; Tue, 27 Apr 2010 23:06:58 -0400 Original-Received: by fg-out-1718.google.com with SMTP id e21so1389695fga.15 for <6039@debbugs.gnu.org>; Tue, 27 Apr 2010 20:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=J1nfoch0oAGiiHTAJ7yXNZ5T1WsHg/bA5xsXhvPUGoo=; b=RTv++OWRT4Tc14Xy0cmsAf4RpI4HR4XXJDvO0ZZ3UePCAT5pRuafZYt9gv4FAJJypp rCmO6DVEzhHsdNIc78tZvjzN0Va/MOvqodo7ZN0k50nsd5QoOZSwOaErvQTIAgb+pVmh kBfhkWdslUPLJkuCn3m3uCLVXbKCHQ9/LBOQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=veOJNE1mzgytaGrlkSTR7rvciglofQDOZMlYxYTxnKN4WG6CN5IZ3Ia9R9ChJ0VpDs a/ie/xN9W8F1mcMSPQ0evIDBGD1tRh75w80DWidPrbP1Zq4RZG1sf/qsMMJZ9T+RnvmX reKpz/9FV2sKRuYz5Nw+rcoje8DMPyBstbsd0= Original-Received: by 10.86.124.4 with SMTP id w4mr3824827fgc.54.1272424013912; Tue, 27 Apr 2010 20:06:53 -0700 (PDT) Original-Received: from smoon2 ([84.237.20.66]) by mx.google.com with ESMTPS id 12sm3909528fks.20.2010.04.27.20.06.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Apr 2010 20:06:52 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87och4oqhh.fsf@stupidchicken.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 27 Apr 2010 23:07:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36579 Archived-At: ** Chong Yidong [2010-04-27 11:38:18 -0400]: > Vladimir Lomov 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.