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: Tue, 27 Apr 2010 12:01:53 +0900 Message-ID: <20100427030153.GB4272@smoon2> References: <877hnu45oo.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 1272376722 1356 80.91.229.12 (27 Apr 2010 13:58:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2010 13:58:42 +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 Tue Apr 27 15:58:40 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 1O6lIy-0002N1-RP for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Apr 2010 15:58:39 +0200 Original-Received: from localhost ([127.0.0.1]:47103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6lIr-0004nq-C6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Apr 2010 09:58:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6bQc-0008S6-Tf for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 23:25:42 -0400 Original-Received: from [140.186.70.92] (port=36755 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6bQa-0008P7-BE for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 23:25:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6bQW-0002Ii-Ar for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 23:25:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47358) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6bQW-0002Ie-94 for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 23:25:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6b4g-0006Ng-6N; Mon, 26 Apr 2010 23:03: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: Tue, 27 Apr 2010 03:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6039-submit@debbugs.gnu.org id=B6039.127233736824518 (code B ref 6039); Tue, 27 Apr 2010 03:03:02 +0000 Original-Received: (at 6039) by debbugs.gnu.org; 27 Apr 2010 03:02:48 +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 1O6b4S-0006NP-0k for submit@debbugs.gnu.org; Mon, 26 Apr 2010 23:02:48 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.156]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6b3X-0006MV-Ms for 6039@debbugs.gnu.org; Mon, 26 Apr 2010 23:01:52 -0400 Original-Received: by fg-out-1718.google.com with SMTP id e21so763618fga.15 for <6039@debbugs.gnu.org>; Mon, 26 Apr 2010 20:01:46 -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=SwpXjwxxmeu1U8Dw/FR6/97CFMgEIDP/izrWEcZsEFw=; b=C87JKJ3+Nd4UgTQ62FMrPj4Srxp41ViB3GyhkLPG8gHFGN078HhjQ8+q0ube1vtUZz ZEsra4apfq5JyXVtp1JNu2Bp2Sp/bQIZjH38Lbf6tJTggzt2YMTfS5G2WZ6mGZq7VKSF CL8zsiSi0o7LFKK/qO4iXd6Id5ZX30baijUbY= 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=YG1IllK2C4nHqHBxtrxxhxf02lKYpZAidYOw+5437u8IJGqrBrGT+O1mgKi2NLdZfP Vgl+FDhAaCVH/ewQoc14tnNJ5zQY15mK/nCEQsVGrB9ZYIAnJe6Ye2woCvJ0IIOxCQ8S gySIl9mnLqut6UTOCjdzjIJq5BcpSqaAuU24M= Original-Received: by 10.87.63.1 with SMTP id q1mr3390063fgk.38.1272337306580; Mon, 26 Apr 2010 20:01:46 -0700 (PDT) Original-Received: from smoon2 ([84.237.20.66]) by mx.google.com with ESMTPS id p9sm7937879fkb.33.2010.04.26.20.01.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Apr 2010 20:01:45 -0700 (PDT) Content-Disposition: inline In-Reply-To: <877hnu45oo.fsf@stupidchicken.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Mailman-Approved-At: Mon, 26 Apr 2010 23:02:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Apr 2010 23:03:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 27 Apr 2010 09:56:59 -0400 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:36559 Archived-At: ** Chong Yidong [2010-04-26 11:03:19 -0400]: > Vladimir Lomov writes: >> Hi. >> (Some response to #6031, http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6031) >> I'm trying to compile Emacs from BZR using gcc 4.5.0 >> $ bzr revno >> 100035 >> Compilation went ok but when I try to run Emacs it segfault'ed. > Could you see if the problem also exists on the emacs-23 branch? > Thanks. Sorry, I can't. I took sources from gnu.org: emacs-23.1.tar.gz emacs-22.3.tar.gz and configured them with the same options as for emacs BZR. But make fails: ================== emacs-23.1 ====================== cd lib-src; make all \ CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='-D_BSD_SOURCE ' \ LDFLAGS='-Wl,-znocombreloc ' MAKE='make' make[1]: Entering directory `/home/USER/tmp/emacs-23.1/lib-src' Makefile:144: *** commands commence before first target. Stop. make[1]: Leaving directory `/home/USER/tmp/emacs-23.1/lib-src' make: *** [lib-src] Error 2 ==================================================== ================== emacs-22.3 ====================== cd lib-src; make all \ CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='-D_BSD_SOURCE ' \ LDFLAGS='-Wl,-znocombreloc ' MAKE='make' make[1]: Entering directory `/home/USER/tmp/emacs-22.3/lib-src' Makefile:148: *** commands commence before first target. Stop. make[1]: Leaving directory `/home/USER/tmp/emacs-22.3/lib-src' make: *** [lib-src] Error 2 ==================================================== Lines 143-144 in lib-src/Makefile: ================== emacs-23.1 ====================== ALL_CFLAGS = -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} ==================================================== Lines 147-148 in lib-src/Makefile: ================== emacs-22.3 ====================== ALL_CFLAGS = -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} ==================================================== I use $ autoconf --version autoconf (GNU Autoconf) 2.65 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later , This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. $ automake --version automake (GNU automake) 1.11.1 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey and Alexandre Duret-Lutz . As I already mentioned I could compile emacs with gcc 4.4.3 (my another machine with the same distro). P.S. My previous successful compilation of Emacs BZR was on Sat 2010-04-24, (bzr revno 100014). After that I updated my system and any further compilation (I tried 100014, 100013, EMACS_23_1_BASE) Emacs was successful but all them are segfault'ed (this happened on my home machine). Compilation with ''without-x' option passed to configure didn't help. -- Try to get all of your posthumous medals in advance.