[Bug libc/25967] [2.32 regression] test-errno.c/tst-getcwd.c can't be compiled by GCC 10

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Sat May 9 21:40:46 GMT 2020


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at redhat dot com
            Summary|test-errno.c can't be       |[2.32 regression]
                   |compiled by GCC 10          |test-errno.c/tst-getcwd.c
                   |                            |can't be compiled by GCC 10

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
This is caused by

commit 06febd8c6705c816b2f32ee7aa1f4c0184b05248
Author: Martin Sebor <msebor@redhat.com>
Date:   Mon May 4 11:21:50 2020 -0600

    improve out-of-bounds checking with GCC 10 attribute access [BZ #25219]

    Adds the access attribute newly introduced in GCC 10 to the subset of
    function declarations that are already covered by _FORTIFY_SOURCE and
    that don't have corresponding GCC built-in equivalents.

    Reviewed-by: DJ Delorie <dj@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list