From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dhruva Krishnamurthy" Newsgroups: gmane.emacs.devel Subject: Re: Anyone built Emacs with gcc-3.3? Date: Wed, 09 Jul 2003 11:04:34 +0530 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030709053434.7758C70F9C@smtp.us2.messagingengine.com> References: <3F0AD7B3.2090103@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1057729010 2387 80.91.224.249 (9 Jul 2003 05:36:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2003 05:36:50 +0000 (UTC) Cc: "Marshall, Simon" , Emacs Beta , Emacs Devel Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jul 09 07:36:48 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 19a7dI-0000cJ-00 for ; Wed, 09 Jul 2003 07:36:48 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19a7ny-00049B-00 for ; Wed, 09 Jul 2003 07:47:50 +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 19a7ck-0005Ks-3f for emacs-devel@quimby.gnus.org; Wed, 09 Jul 2003 01:36:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19a7cK-00055k-TW for emacs-devel@gnu.org; Wed, 09 Jul 2003 01:35:48 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19a7bE-0003Bi-Sv for emacs-devel@gnu.org; Wed, 09 Jul 2003 01:34:43 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25] helo=mail.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19a7b9-0002s2-VE; Wed, 09 Jul 2003 01:34:36 -0400 Original-Received: from smtp.us2.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 4EAC915365; Wed, 9 Jul 2003 01:34:34 -0400 (EDT) Original-Received: from 10.202.2.133 ([10.202.2.133] helo=smtp.us2.messagingengine.com) by messagingengine.com with SMTP; Wed, 09 Jul 2003 01:34:34 -0400 Original-Received: by smtp.us2.messagingengine.com (Postfix, from userid 99) id 7758C70F9C; Wed, 9 Jul 2003 01:34:34 -0400 (EDT) Content-Disposition: inline X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) Original-To: "Jason Rumney" , "Richard Stallman" X-Epoch: 1057728874 X-Sasl-enc: PS6TJ+/Wv095E9kgqF4OfA In-Reply-To: <3F0AD7B3.2090103@gnu.org> 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:15510 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15510 On Tue, 08 Jul 2003 15:39:47 +0100, "Jason Rumney" said: > Richard Stallman wrote: > > > Yes, Emacs works with 3.2.3. With 3.3 it dumps core on C-x C-c in > > __do_global_dtors_aux() after Fkill_emacs() calls exit(). > > > > I have a hunch that relates to unexec. Perhaps unexec fails to > > preserve some of the data that __do_global_dtors_aux uses. > > > > Debugging the details is the only way to proceed. > > Someone else reported yesterday that a recent version of ld from > binutils has changed the position of some of the data segments in ELF > executables, causing problems with unexec. I think it is worth > investigating if this is really the cause of the gcc 3.3 problems, as it > could save a lot of debugging. > I had sent an email to the list: ---------------------------------------------------------------------------------------------- I had tried building GNU Emacs with GCC 3.3 and had encountered a problem which I have raised as a bug in GCC bugzilla(#9816). I tried again using a newer port of GCC 3.3 and GCC 3.4 (not an official port though) from: http://www.thisiscool.com/gcc33_mingw.htm I am unable to build or even progress to get an emacs.exe (executable). With the earlier port of GCC 3.3, I could build a bare emacs executable which failed in compiling elisp files. If someone has a link to a GCC 3.3 port on W2K (Win32/MinGW), please let me know. I will try to do some extensive testing. Unfortunately, I do not have the older GCC 3.3 port with me now! ---------------------------------------------------------------------------------------------- As the problem is happening on Windows 2000 (W2K) platform, I feel it is not releted to unexec and specific to ELF. On W2K, I am not sure it uses 'ld' for linking. So, modifications to 'ld' may not be the cause. with regards, dhruva -- Dhruva Krishnamurthy Web: http://schemer.fateback.com/