This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/12495] Malloc fails if MALLOC_ALIGNMENT > 2 * SIZE_SZ
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 24 May 2012 03:22:00 +0000
- Subject: [Bug malloc/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
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.13 |unspecified
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2012-05-24 03:22:00 UTC ---
With today's mater, one can build x32 glibc as a cross target:
# BUILD_CC="gcc" CC="gcc -mx32" CXX="g++ -mx32" CFLAGS="-O2 -g"
/export/gnu/import/git/sources/glibc/configure --enable-add-ons=nptl
--prefix=/usr --target=x86_64-x32-linux --build=x86_64-linux
--host=x86_64-x32-linux
But all binaries will fail:
[hjl@gnu-6 glibc-x32-test]$ ./build-x86_64-x32-linux/elf/sln
*** glibc detected *** ./build-x86_64-x32-linux/elf/sln: double free or
corruption (!prev): 0x006bbb70 ***
Aborted
[hjl@gnu-6 glibc-x32-test]$
--
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.