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 dynamic-link/22715] FAIL: elf/tst-audit10


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

--- Comment #6 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  207a72e2988c6d6343f50fe0128eb4fc4edfdd15 (commit)
      from  4942c4ea48099b4ba9dfecf7cfbc452ae74811b5 (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=207a72e2988c6d6343f50fe0128eb4fc4edfdd15

commit 207a72e2988c6d6343f50fe0128eb4fc4edfdd15
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 17 04:31:51 2018 -0800

    x86-64: Properly align La_x86_64_retval to VEC_SIZE [BZ #22715]

    _dl_runtime_profile calls _dl_call_pltexit, passing a pointer to
    La_x86_64_retval which is allocated on stack.  The lrv_vector0
    field in La_x86_64_retval must be aligned to size of vector register.
    When allocating stack space for La_x86_64_retval, we need to make sure
    that the address of La_x86_64_retval + RV_VECTOR0_OFFSET is aligned to
    VEC_SIZE.  This patch checks the alignment of the lrv_vector0 field
    and pads the stack space if needed.

    Tested with x32 and x86-64 on SSE4, AVX and AVX512 machines.  It fixed

    FAIL: elf/tst-audit10
    FAIL: elf/tst-audit4
    FAIL: elf/tst-audit5
    FAIL: elf/tst-audit6
    FAIL: elf/tst-audit7

    on x32 AVX512 machine.

        [BZ #22715]
        * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
        align La_x86_64_retval to VEC_SIZE.

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

Summary of changes:
 ChangeLog                      |    6 ++++++
 sysdeps/x86_64/dl-trampoline.h |   12 ++++++++++--
 2 files changed, 16 insertions(+), 2 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]