This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12495] Malloc fails if MALLOC_ALIGNMENT > 2 * SIZE_SZ
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 17 Feb 2011 02:11:47 +0000
- Subject: [Bug libc/12495] Malloc fails if MALLOC_ALIGNMENT > 2 * SIZE_SZ
- Auto-submitted: auto-generated
- References: <bug-12495-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12495
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-02-17 02:11:45 UTC ---
On Thu, 17 Feb 2011, hjl.tools at gmail dot com wrote:
> If I define MALLOC_ALIGNMENT > 2 * SIZE_SZ, malloc will
> fail in mysterious ways.
Yes, this is known. There's a patch at
<http://sourceware.org/ml/libc-alpha/2007-11/msg00062.html> that fixes the
problem in the context of PowerPC malloc not allocating memory
sufficiently aligned for long double.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.