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/20662] checking whether x86_64-pc-linux-gnu-gcc implicitly enables -fstack-protector no (32bit gcc 6.2.0 pie and ssp enable)


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

--- Comment #14 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, linaro/2.23/master has been updated
       via  06e821cfff89f7b9c8de5a37f81f2554f7daa934 (commit)
       via  ccae0be67362d2d4c56863cd2327e2c7c03a3c7f (commit)
       via  f0a8620883f1769c5161c5389373a7e828f7eaf9 (commit)
      from  058b5a41d56b9a8860dede14d97dd443792d064b (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=06e821cfff89f7b9c8de5a37f81f2554f7daa934

commit 06e821cfff89f7b9c8de5a37f81f2554f7daa934
Author: Slava Barinov <v.barinov@samsung.com>
Date:   Fri Mar 31 08:49:25 2017 +0200

    fts: Fix symbol redirect for fts_set [BZ #21289]

    In a 32-bit environment with _FILE_OFFSET_BITS=64, the __REDIRECT macro
    combined with __THROW generates an invalid C++ declaration.

    (cherry picked from commit ce39613205dc47ceaeea76710d49e7a483b503ab)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ccae0be67362d2d4c56863cd2327e2c7c03a3c7f

commit ccae0be67362d2d4c56863cd2327e2c7c03a3c7f
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date:   Thu Feb 2 16:15:45 2017 +0530

    Drop GLIBC_TUNABLES in setxid processes

    Drop the GLIBC_TUNABLES environment variable from the environment of
    setxid processes to avoid passing it on to non-setxid children.  This
    prevents potentially insecure tunables in the GLIBC_TUNABLES envvar
    from crossing over into a child that may use a libc that has tunables
    support.

        * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f0a8620883f1769c5161c5389373a7e828f7eaf9

commit f0a8620883f1769c5161c5389373a7e828f7eaf9
Author: Denis Kaganovich <mahatma@eu.by>
Date:   Thu Oct 20 22:01:39 2016 +0200

    configure: accept __stack_chk_fail_local for ssp support too [BZ #20662]

    When glibc is compiled with gcc 6.2 that has been configured with
    --enable-default-pie and --enable-default-ssp, the configure script
    fails to detect that the compiler has ssp turned on by default when
    being built for i686-linux-gnu.

    This is because gcc is emitting __stack_chk_fail_local but the
    script is only looking for __stack_chk_fail.  Support both.

    Example output:
    checking whether x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed
    implicitly enables -fstack-protector... no

    (cherry picked from commit c7409aded44634411a19b0b7178b7faa237835e6)

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

Summary of changes:
 ChangeLog                   |   18 ++++++++++++++++++
 NEWS                        |    1 +
 configure                   |    8 +++++---
 configure.ac                |    8 +++++---
 io/fts.h                    |    2 +-
 sysdeps/generic/unsecvars.h |    1 +
 6 files changed, 31 insertions(+), 7 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]