public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug nptl/12310] pthread_exit() in main thread segfaults when statically-linked Date: Mon, 17 Jun 2013 15:31:00 -0000 [thread overview] Message-ID: <bug-12310-131-yoqhgk6gKY@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-12310-131@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=12310 --- Comment #6 from Carlos O'Donell <carlos at redhat dot com> --- (In reply to Vladimir Nikulichev from comment #5) > There are two another solutions: > > 1) Move __nptl_nthreads to separate object file and don't mark the reference > as weak. I think it is better semantically. Please investigate having pthread_exit reference __nptl_nthreads. We don't want to unconditionally include __nptl_nthreads if we can avoid it. > 2) Check if &__nptl_nthreads == NULL in libc-start. This isn't needed if pthread_exit correctly references all of the data that it needs. Keeping the code simpler is better for maintenance. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2013-06-17 15:31 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-12-14 12:41 [Bug nptl/12310] New: " mrs@mythic-beasts.com 2012-05-08 17:32 ` [Bug nptl/12310] " siddhesh at redhat dot com 2012-12-19 10:41 ` schwab@linux-m68k.org 2013-05-17 14:14 ` wintersonnenwende at yandex dot ru 2013-05-17 14:29 ` wintersonnenwende at yandex dot ru 2013-05-23 14:02 ` carlos at redhat dot com 2013-06-16 13:27 ` wintersonnenwende at yandex dot ru 2013-06-17 15:31 ` carlos at redhat dot com [this message] 2013-06-22 14:08 ` v.nikulichev at gmail dot com 2013-06-23 14:56 ` v.nikulichev at gmail dot com 2013-06-24 17:24 ` carlos at redhat dot com 2013-06-24 17:25 ` carlos at redhat dot com 2013-06-24 17:57 ` carlos at redhat dot com 2013-06-24 17:57 ` carlos at redhat dot com 2013-06-24 21:12 ` carlos at redhat dot com 2014-06-30 6:20 ` fweimer at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-12310-131-yoqhgk6gKY@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).