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). Florian