public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main
       [not found] <bug-21777-131@http.sourceware.org/bugzilla/>
@ 2024-04-08 21:29 ` bruno at clisp dot org
  2024-04-09 12:28 ` cvs-commit at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: bruno at clisp dot org @ 2024-04-08 21:29 UTC (permalink / raw)
  To: glibc-bugs

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

Bruno Haible <bruno at clisp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |FIXED

--- Comment #7 from Bruno Haible <bruno at clisp dot org> ---
It works fine with glibc 2.39 and gcc 13.2.1 (verified on Arch Linux 2024.04):

$ gcc -Wall -O testfstrcmp.c -static -pthread
$ ./a.out
>> main
<< main

$ gcc -Wall -O testfstrcmp.c -static
$ ./a.out
>> main
<< main

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main
       [not found] <bug-21777-131@http.sourceware.org/bugzilla/>
  2024-04-08 21:29 ` [Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main bruno at clisp dot org
@ 2024-04-09 12:28 ` cvs-commit at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-09 12:28 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #8 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 42e48e720c78ab75eb8def9e866da52b0ac278df
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Apr 8 12:33:36 2024 -0700

    nptl: Add tst-pthread-key1-static for BZ #21777

    Add a static pthread static tests to verify that BZ #21777 is fixed.

    Reviewed-by: Florian Weimer <fweimer@redhat.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-09 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21777-131@http.sourceware.org/bugzilla/>
2024-04-08 21:29 ` [Bug dynamic-link/21777] use of pthread_getspecific, pthread_setspecific in a statically linked program leads to a crash before main bruno at clisp dot org
2024-04-09 12:28 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).