From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Dump failure on Solaris 8 Date: Tue, 05 May 2009 12:47:34 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241520485 28061 80.91.229.12 (5 May 2009 10:48:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2009 10:48:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 05 12:47:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M1IBj-0006W2-6v for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 12:47:51 +0200 Original-Received: from localhost ([127.0.0.1]:44931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1IBi-0000v0-KB for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 06:47:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1IBd-0000tA-UM for emacs-devel@gnu.org; Tue, 05 May 2009 06:47:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1IBZ-0000ix-3j for emacs-devel@gnu.org; Tue, 05 May 2009 06:47:45 -0400 Original-Received: from [199.232.76.173] (port=53280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1IBY-0000in-SZ for emacs-devel@gnu.org; Tue, 05 May 2009 06:47:40 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:59715) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1IBY-0002ZL-Dp for emacs-devel@gnu.org; Tue, 05 May 2009 06:47:40 -0400 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 0E4BB1C15319; Tue, 5 May 2009 12:47:37 +0200 (CEST) Original-Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id C4EE490171; Tue, 5 May 2009 12:47:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id eq6Pyh0oKxSb; Tue, 5 May 2009 12:47:36 +0200 (CEST) Original-Received: from igel.home (DSL01.83.171.178.118.ip-pool.NEFkom.net [83.171.178.118]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 5 May 2009 12:47:36 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 48F2B10C403; Tue, 5 May 2009 12:47:34 +0200 (CEST) X-Yow: I OWN six pink HIPPOS!! In-Reply-To: (YAMAMOTO Mitsuharu's message of "Tue, 05 May 2009 13:13:44 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:110676 Archived-At: YAMAMOTO Mitsuharu writes: > If I restore the if-condition (not including the then-clause) in the > hunk above, the dumping process works again. Actually, the comment > above the if-condition seems to tell about this case. The output of > "dump -h temacs" becomes as follows and the offset of the .bss section > (0x315158) is greater than that of the succeeding .symtab section > (0x315154). IIRC I've changed the condition because of a problem encountered on x86_64-linux. Unfortunately I cannot test that any more. The problem is that the file contents of the first unallocated section may be completely contained in the padding after the last allocated non-bss section. Perhaps we have to check both conditions here. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."