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/6527] [powerpc] Malloc alignment insufficient for PowerPC


https://sourceware.org/bugzilla/show_bug.cgi?id=6527

--- Comment #13 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  dea39b13e2958a7f0e75b5594a06d97d61cc439f (commit)
      from  db1fa6b8d32a0c7155dcaed2f5f9388511613595 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=dea39b13e2958a7f0e75b5594a06d97d61cc439f

commit dea39b13e2958a7f0e75b5594a06d97d61cc439f
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue May 24 08:05:15 2016 +0200

    malloc: Correct malloc alignment on 32-bit architectures [BZ #6527]

    After the heap rewriting added in commit
    4cf6c72fd2a482e7499c29162349810029632c3f (malloc: Rewrite dumped heap
    for compatibility in __malloc_set_state), we can change malloc alignment
    for new allocations because the alignment of old allocations no longer
    matters.

    We need to increase the malloc state version number, so that binaries
    containing dumped heaps of the new layout will not try to run on
    previous versions of glibc, resulting in obscure crashes.

    This commit addresses a failure of tst-malloc-thread-fail on the
    affected architectures (32-bit ppc and mips) because the test checks
    pointer alignment.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    7 +++++++
 malloc/hooks.c  |    2 +-
 malloc/malloc.c |   16 ++--------------
 3 files changed, 10 insertions(+), 15 deletions(-)

-- 
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]