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 libc/22459] FAIL: elf/check-localplt


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

--- Comment #1 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, hjl/pr22459/master has been created
        at  277904c8434d46999674d9b4eb2871cd0039d8f2 (commit)

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

commit 277904c8434d46999674d9b4eb2871cd0039d8f2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Nov 19 11:23:05 2017 -0800

    libc.so: Replace nscd_hash.os with libc-nscd_hash.os [BZ #22459]

    nscd_hash.os is needed both libc.so as well as nscd.  Since nscd_hash.os
    is compiled as the part of nscd, when -fstack-protector-all is used,
    nscd_hash.os calls __stack_chk_fail via PLT, which leads to

    FAIL: elf/check-localplt
    Extra PLT reference: libc.so: __stack_chk_fail

    This patch replaces nscd_hash.os with libc-nscd_hash.os in libc_pic.a
    to avoid calling __stack_chk_fail via PLT inside of libc.so.

        [BZ #22459]
        * nscd/Makefile (aux): Replace nscd_hash with libc-nscd_hash.
        * nscd/libc-nscd_hash.c: New file.

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

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