From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Dump failure on Solaris 8 Date: Wed, 06 May 2009 11:30:41 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1241577118 9919 80.91.229.12 (6 May 2009 02:31:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2009 02:31:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 06 04:31:48 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 1M1WvD-00044K-2w for ged-emacs-devel@m.gmane.org; Wed, 06 May 2009 04:31:47 +0200 Original-Received: from localhost ([127.0.0.1]:47440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1WvC-0006zf-Hp for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 22:31:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1WuI-0006WA-HA for emacs-devel@gnu.org; Tue, 05 May 2009 22:30:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1WuE-0006RJ-3D for emacs-devel@gnu.org; Tue, 05 May 2009 22:30:50 -0400 Original-Received: from [199.232.76.173] (port=34634 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1WuD-0006Qs-Rr for emacs-devel@gnu.org; Tue, 05 May 2009 22:30:45 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:62940) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1WuC-000645-Rv for emacs-devel@gnu.org; Tue, 05 May 2009 22:30:45 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 302BF2C40; Wed, 6 May 2009 11:30:42 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by monty-python.gnu.org: NetBSD 3.0 (DF) 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:110705 Archived-At: >>>>> On Tue, 05 May 2009 12:47:34 +0200, Andreas Schwab said: >> 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. That seems to be a good way at this timing. I added the old condition instead of replacing with it. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp