From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Albert Chin Newsgroups: gmane.emacs.devel Subject: Re: Problems building emacs-21.2 on IRIX with gcc-3.4.4 Date: Tue, 14 Jun 2005 11:35:32 -0500 Message-ID: <20050614163532.GA34542@mail1.thewrittenword.com> References: <20050609224420.GC97562@mail1.thewrittenword.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118767214 6093 80.91.229.2 (14 Jun 2005 16:40:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2005 16:40:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 14 18:40:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DiESQ-0001Fq-Ov for ged-emacs-devel@m.gmane.org; Tue, 14 Jun 2005 18:40:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DiEXS-0005sh-Kz for ged-emacs-devel@m.gmane.org; Tue, 14 Jun 2005 12:45:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DiERq-0002pZ-3v for emacs-devel@gnu.org; Tue, 14 Jun 2005 12:39:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DiERj-0002mc-TJ for emacs-devel@gnu.org; Tue, 14 Jun 2005 12:39:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DiERj-0002kK-Hw for emacs-devel@gnu.org; Tue, 14 Jun 2005 12:39:27 -0400 Original-Received: from [67.95.107.114] (helo=mail1.thewrittenword.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DiEPG-0006d9-Lc for emacs-devel@gnu.org; Tue, 14 Jun 2005 12:36:54 -0400 Original-Received: by mail1.thewrittenword.com (Postfix, from userid 1000) id CC1291E3; Tue, 14 Jun 2005 11:35:32 -0500 (CDT) Original-To: emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38821 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38821 On Fri, Jun 10, 2005 at 09:30:18AM -0400, Richard Stallman wrote: > gcc-3.3.2 works. Should I presume this to be a GCC bug? > > It could be, but you need to localize the problem to make sure. You > could try compiling some files with GCC 3.3.2 and some with GCC 3.4.4, > and determine which file makes the difference. Then you could try > splitting that file in various ways, to compile part of it with 3.3.2 > and part with 3.4.4. That way you can see which function fails. > > At that point, you'll probably see that either the function contains > code that is not well defined in C, or that it has been miscompiled > by GCC 3.4.4. Either way, we will know what to do. Thanks for the tip. We had one of the GCC developers look at the problem (Eric Botcazou), and he found out that gcc-3.4.x is creating some additional R/W ELF sections that the IRIX linker is not combining (gcc-3.3.x created one R/W and one R/O ELF section). He plans to look into this further. Hopefully we'll have a solution soon. -- albert chin (china@thewrittenword.com)