PATCH: Malloc fails if MALLOC_ALIGNMENT > 2 * SIZE_SZ
H.J. Lu
hjl.tools@gmail.com
Fri Aug 19 22:51:00 GMT 2011
On Fri, Aug 19, 2011 at 3:44 PM, Roland McGrath <roland@hack.frob.com> wrote:
> Can one of you explain how this avoids the problem mentioned in the removed
> comment, of malloc_get_state/malloc_set_state incompatibility on powerpc32?
>
> I think the main use case for this is an Emacs that was built (and dumped)
> using an older libc, and then run with a newer libc. Is it verified that
> an existing powerpc32 Emacs binary is not broken by running against a libc
> with this change?
>
I can't comment on powerpc32. Bit a target shouldn't define
MALLOC_ALIGNMENT > 2 * SIZE_SZ
if it will break binary compatibility.
--
H.J.
More information about the Libc-alpha
mailing list