This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/12495] Malloc fails if MALLOC_ALIGNMENT > 2 * SIZE_SZ


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]