[Bug nptl/32786] pthread_cond_* symbols should probably have had a version bump in 2.41

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Thu Mar 13 06:45:55 GMT 2025


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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
   Target Milestone|---                         |2.42
         Resolution|---                         |FIXED

--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for 2.42 via:

commit dbc5a50d12eff4cb3f782129029d04b8a76f58e7
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Mar 13 06:07:07 2025 +0100

    nptl: PTHREAD_COND_INITIALIZER compatibility with pre-2.41 versions (bug
32786)

    The new initializer and struct layout does not initialize the
    __g_signals field in the old struct layout before the change in
    commit c36fc50781995e6758cae2b6927839d0157f213c ("nptl: Remove
    g_refs from condition variables").  Bring back fields at the end
    of struct __pthread_cond_s, so that they are again zero-initialized.

    Reviewed-by: Sam James <sam@gentoo.org>

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


More information about the Glibc-bugs mailing list