https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115750
John David Anglin <danglin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |helge.deller at sap dot com --- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> --- gdb temacs: (gdb) p (int)MALLOC_ALIGNMENT $2 = 8 (gdb) p (int)LISP_ALIGNMENT $3 = 16 (gdb) p (int)MALLOC_IS_LISP_ALIGNED $4 = 0 See src/alloc.c in emacs source. I think LISP_ALIGNMENT is 16 because of the pthread lock alignment issue. Since MALLOC_IS_LISP_ALIGNED is 0, we run out of memory. Either we change the malloc alignment to 16 and put MALLOC_ABI_ALIGNMENT back to 128, or I reinstall the lock alignment patch. We might still run out of memory with a malloc alignment of 16. It not good to lie about the malloc ABI alignment. The lock alignment patch breaks ABI and who know what. It's probably best fix...