From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.emacs.devel Subject: Re: Dumper issue, revisited; invalid realloc/free Date: Wed, 4 Feb 2015 23:33:18 -0500 Message-ID: <20150205043317.GH23507@brightrain.aerifal.cx> References: <20150204175709.GX23507@brightrain.aerifal.cx> <83pp9pfqb3.fsf@gnu.org> <20150204191305.GY23507@brightrain.aerifal.cx> <83lhkdfpgc.fsf@gnu.org> <54D28260.40403@cornell.edu> <20150205013147.GE23507@brightrain.aerifal.cx> <20150205032550.GF23507@brightrain.aerifal.cx> <83a90tf27l.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1423110819 1783 80.91.229.3 (5 Feb 2015 04:33:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2015 04:33:39 +0000 (UTC) Cc: kbrown@cornell.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 05 05:33:38 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJE8I-0006Bb-1N for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2015 05:33:38 +0100 Original-Received: from localhost ([::1]:40051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJE8H-0004Ul-3l for ged-emacs-devel@m.gmane.org; Wed, 04 Feb 2015 23:33:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJE8C-0004Ud-I7 for emacs-devel@gnu.org; Wed, 04 Feb 2015 23:33:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJE88-0000lB-A6 for emacs-devel@gnu.org; Wed, 04 Feb 2015 23:33:32 -0500 Original-Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:51471 helo=brightrain.aerifal.cx) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJE83-0000kn-BM; Wed, 04 Feb 2015 23:33:23 -0500 Original-Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1YJE7y-0005Kq-00; Thu, 05 Feb 2015 04:33:18 +0000 Content-Disposition: inline In-Reply-To: <83a90tf27l.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 216.12.86.13 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182430 Archived-At: On Thu, Feb 05, 2015 at 05:48:30AM +0200, Eli Zaretskii wrote: > > Date: Wed, 4 Feb 2015 22:25:50 -0500 > > From: Rich Felker > > Cc: Eli Zaretskii , emacs-devel@gnu.org > > > > with current git master I'm hitting lots of lisp failures later in > > the build process, seemingly due to failure of autoloads to work, > > although some of the failures don't even seem to be mentioned in > > autoload.el. Is this kind of failure expected working with bleeding > > edge (if so I'll seek support somewhere more appropriate), or does > > it sound like something went wrong in dumping? > > It's not expected, so you should debug it. Thanks for steering me in the right direction. The problem was a mix of two things: 1. I was having to incrementally increase the static sbrk size and still never getting enough because I didn't realize unexelf.c lacked code to set DUMPED to 1. 2. The failed bootstrap in lisp/ tree was leaving around stale/broken elc files that needed to be cleaned with "make bootstrap-clean". I now have a working build with no ugly hackery. I'll share my patches (mostly uninteresting) with the people doing dist packaging and see if they can make something suitable for upstream. Rich