emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dumper issue, revisited; invalid realloc/free


From: Rich Felker
Subject: Re: Dumper issue, revisited; invalid realloc/free
Date: Wed, 4 Feb 2015 23:33:18 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

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 <address@hidden>
> > Cc: Eli Zaretskii <address@hidden>, address@hidden
> > 
> > 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]