From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Marshall, Simon" Newsgroups: gmane.emacs.devel Subject: RE: Anyone built Emacs with gcc-3.3? Date: Tue, 8 Jul 2003 16:18:10 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1057678508 27197 80.91.224.249 (8 Jul 2003 15:35:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Jul 2003 15:35:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jul 08 17:35:05 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 19ZuSH-0006sj-00 for ; Tue, 08 Jul 2003 17:32:33 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Zucf-0004Eb-00 for ; Tue, 08 Jul 2003 17:43:17 +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 19ZuJu-0006ut-Qf for emacs-devel@quimby.gnus.org; Tue, 08 Jul 2003 11:23:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19ZuJR-0006sU-QN for emacs-devel@gnu.org; Tue, 08 Jul 2003 11:23:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19ZuHb-0005nq-9P for emacs-devel@gnu.org; Tue, 08 Jul 2003 11:21:31 -0400 Original-Received: from mail14.messagelabs.com ([212.125.75.19]) by monty-python.gnu.org with smtp (Exim 4.20) id 19ZuGq-0005Vf-PE for emacs-devel@gnu.org; Tue, 08 Jul 2003 11:20:45 -0400 X-VirusChecked: Checked X-Env-Sender: simon.marshall@misys.com X-Msg-Ref: server-28.tower-14.messagelabs.com!1057677494!2446 Original-Received: (qmail 23800 invoked from network); 8 Jul 2003 15:18:14 -0000 Original-Received: from unknown (HELO pigeon.misys.com) (217.196.235.2) by server-28.tower-14.messagelabs.com with SMTP; 8 Jul 2003 15:18:14 -0000 Original-Received: From gull.misys.com ([10.80.48.7]) by pigeon.misys.com (WebShield SMTP v4.5 MR1a); id 1057677547734; Tue, 8 Jul 2003 16:19:07 +0100 Original-Received: by gull.midas-kapiti.com with Internet Mail Service (5.5.2653.19) id <33QVDCGX>; Tue, 8 Jul 2003 16:19:14 +0100 Original-To: 'Jason Rumney' , rms@gnu.org X-Mailer: Internet Mail Service (5.5.2653.19) Original-cc: emacs-pretesters@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15490 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15490 > > 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. The guys who first raised it on bugzilla had the same hunch. The problem is: where do I start? I can't debug in __do_global_dtors_aux() as there is no debugging info. Do I have to build libgcc.a with debugging (or whatever it is that supplied __do_global_dtors_aux())? > 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. Thanks, though in my case I am using Sun as & ld (unless gcc comes with a binutils ld and is quietly using it).