[PATCH] malloc: Remove dumped heap support

Sam James sam@gentoo.org
Tue Sep 16 19:19:42 GMT 2025


Florian Weimer <fweimer@redhat.com> writes:

> * Adhemerval Zanella Netto:
>
>> Right, but from Florian's comment the emacs configure checks for 
>> Doug Lea malloc style will always return false.  And afaik the 
>> heap dump support is an startup optimization, so not really
>> required to run old emacs binaries.
>
> No, it is required to run old Emacs binaries.  It is also quite
> difficult to run old Emacs without dumping first.  The temacs binary is
> not not fully-featured.  But this is rather old history by this point.
>
> I still think if people want to run these old Emacs binaries, they can
> build their own out-of-tree malloc with suitable heap rewriting.

If nobody else has an issue with the break (given it's for such a
limited usecase and they're old binaries), I can live with that. I don't
intend on dying on the hill at all.

But it's not like we don't go out of our way for other cases (old libio; not
that I think we get that perfectly, we had a report of that being broken
but the user never gave me the binaries needed).

I was still hoping for Wilco to reply.

sam


More information about the Libc-alpha mailing list