[Top][All Lists]

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

Re: Removal of unexec support from glibc malloc

From: Florian Weimer
Subject: Re: Removal of unexec support from glibc malloc
Date: Tue, 19 Jan 2016 00:23:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 01/18/2016 11:42 PM, Paul Eggert wrote:

> Florian, I understand that the new glibc implementation doesn't exist
> yet, so we can't test Emacs on it. However, is the new glibc API
> documented anywhere? Perhaps we could try to check via code inspection
> that Emacs works under GNU/Linux both with the current and the new glibc
> API, either now or with the hybrid malloc patches installed.

See my other message.  I'm attaching the configure.ac patch I used.

With a bit of luck, newer valgrind versions will even recognize the
interposed malloc, simplifying leak detection.

There could be glitches due to the way gmalloc.c works.  And it's
unusual not to interpose malloc_usable_size when you interpose the other
functions.  valign and pvalign are missing too (but really obscure).


Attachment: emacs-no-dlmalloc.patch
Description: Text Data

reply via email to

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