[PATCH] malloc: Remove __malloc_initialize_hook from the API [BZ #19564]

Florian Weimer fweimer@redhat.com
Tue Jun 7 20:04:00 GMT 2016


On 06/07/2016 09:39 PM, DJ Delorie wrote:
>
> Florian Weimer <fweimer@redhat.com> writes:
>> Any final comments?  I would like to commit this later this week.
>
> I have no further technical comments.  As for the politics of dropping
> emacs support, you're on your own ;-)

Emacs is still fully supported.  With the heap rewriter, existing 
binaries still work (despite the alignment fix on ppc and other 
architectures).

Current Emacs sources should compile fine as well:

   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22086

I'm not sure if these changes are actually needed.  After removal of the 
hook, the existing configure test will fail, and newly compiled Emacs 
binaries will interpose their own malloc implementation.  But removing 
additional deprecated functionality from <malloc.h> probably does not hurt.

I'll do some compatibility testing once we have the final set of malloc 
changes for glibc 2.24.

Florian



More information about the Libc-alpha mailing list