Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    3146a92a
    libgcc: Do use weakrefs for glibc 2.34 on GNU Hurd · 3146a92a
    Jakub Jelinek authored
    On Mon, Apr 29, 2024 at 01:44:24PM +0000, Joseph Myers wrote:
    > > glibc 2.34 and later doesn't have separate libpthread (libpthread.so.0 is a
    > > dummy shared library with just some symbol versions for compatibility, but
    > > all the pthread_* APIs are in libc.so.6).
    >
    > I suspect this has caused link failures in the glibc testsuite for Hurd,
    > which still has separate libpthread.
    >
    > https://sourceware.org/pipermail/libc-testresults/2024q2/012556.html
    
    So like this then?
    
    2024-04-30  Jakub Jelinek  <jakub@redhat.com>
    
    	* gthr.h (GTHREAD_USE_WEAK): Don't redefine to 0 for glibc 2.34+
    	on GNU Hurd.
    3146a92a
    History
    libgcc: Do use weakrefs for glibc 2.34 on GNU Hurd
    Jakub Jelinek authored
    On Mon, Apr 29, 2024 at 01:44:24PM +0000, Joseph Myers wrote:
    > > glibc 2.34 and later doesn't have separate libpthread (libpthread.so.0 is a
    > > dummy shared library with just some symbol versions for compatibility, but
    > > all the pthread_* APIs are in libc.so.6).
    >
    > I suspect this has caused link failures in the glibc testsuite for Hurd,
    > which still has separate libpthread.
    >
    > https://sourceware.org/pipermail/libc-testresults/2024q2/012556.html
    
    So like this then?
    
    2024-04-30  Jakub Jelinek  <jakub@redhat.com>
    
    	* gthr.h (GTHREAD_USE_WEAK): Don't redefine to 0 for glibc 2.34+
    	on GNU Hurd.