From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: Anyone built Emacs with gcc-3.3? Date: Tue, 08 Jul 2003 23:30:49 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057721934 13141 80.91.224.249 (9 Jul 2003 03:38:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2003 03:38:54 +0000 (UTC) Cc: 'Emacs Pretesters' , 'Emacs Developers' Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jul 09 05:38:51 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19a5n9-0003Pm-00 for ; Wed, 09 Jul 2003 05:38:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19a5xn-0002xC-00 for ; Wed, 09 Jul 2003 05:49:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19a5UI-0002G8-Ho for emacs-devel@quimby.gnus.org; Tue, 08 Jul 2003 23:19:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19a3TQ-0003o7-QU for emacs-devel@gnu.org; Tue, 08 Jul 2003 21:10:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19a3Q3-0003Eq-AM for emacs-devel@gnu.org; Tue, 08 Jul 2003 21:07:22 -0400 Original-Received: from gnuftp.gnu.org ([199.232.41.6]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19a3AC-0000LH-Jc; Tue, 08 Jul 2003 20:50:28 -0400 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by gnuftp.gnu.org with esmtp (Exim 4.20) id 19a0z6-0007Nm-Dd; Tue, 08 Jul 2003 18:30:52 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.36 #1 (Debian)) id 19a0z3-00045O-00; Tue, 08 Jul 2003 23:30:49 +0100 Original-To: "Marshall, Simon" User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15509 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15509 "Marshall, Simon" writes: > I've tried to build emacs-21.3 and 21.1.90 with gcc-3.3 on solaris-2.8 > but without success. Emacs builds but coredumps on exit, see bug #11386 > at GCC Bugzilla via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11386. That suggests it is dependent on data size. I've seen similar behaviour on Tru64 which was related to the use of mmap if I remember correctly and never got resolved. Also if I remember correctly, handa had a similar problem on Solaris and resolved it on the basis of what I said about the Tru64 problem, but I don't recall how. For what it's worth, Emacs 21.3 appears to work on sparc64 with the gcc pre-3.3.1 in Debian testing. unexec problems are likely with a new gcc on ELF platforms. To investigate, I would run objdump or elfdump (?) on temacs versions that work and don't work, looking for unexpected sections. (You want whatever option lists all the section headers.) That might suggest other things that need to be copied, for instance. [In case that turns out to be the case, let me say again that undumping should be dumped.] At one time, building Emacs was part of the regression testing for gcc. If that's been dropped, it seems like a backward move.