From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3265 invoked by alias); 8 Dec 2010 19:44:45 -0000 Received: (qmail 3257 invoked by uid 22791); 8 Dec 2010 19:44:44 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,HK_OBFDOM,HK_OBFDOMREQ X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Dec 2010 19:44:40 +0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug linuxthreads/12300] [PATCH] RTLD_SINGLE_THREAD_P used unconditionally but only available on ports/NPTL X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: linuxthreads X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drow at false dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 08 Dec 2010 19:59:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00018.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12300 --- Comment #3 from joseph at codesourcery dot com 2010-12-08 19:44:31 UTC --- On Wed, 8 Dec 2010, rmh at gnu dot org wrote: > http://sourceware.org/bugzilla/show_bug.cgi?id=12300 > > --- Comment #2 from Robert Millan 2010-12-08 17:12:46 UTC --- > (In reply to comment #1) > > Linuxthreads has been dead for Linux targets at least since glibc 2.5. We > > really ought to remove those directories > > > > sysdeps/unix/sysv/linux/arm/eabi/linuxthreads > > sysdeps/unix/sysv/linux/arm/linuxthreads > > sysdeps/unix/sysv/linux/hppa/linuxthreads > > > > in ports to make it clear there's nothing useful there. > > Hi Joseph, > > Despite its name, linuxthreads is quite portable and (despite its limitations) > is commonly used on non-Linux targets such as kFreeBSD. The directories I suggested removing were the sysdeps/unix/sysv/linux ones, not the other linuxthreads directories in ports that are nominally applicable to non-Linux targets. Your patch was also for a sysdeps/unix/sysv/linux directory. I don't think ports should be a dumping place for dead code someone thinks might conceivably be useful one day; we have version control for that. In my view we should remove the various dead and unmaintained code from ports and just leave the ports that have some chance of being useful in more or less their present state. I would strongly advise those caring about the other targets to develop proper POSIX threads implementations for them that use whatever interfaces are most appropriate for each kernel (while making sure that all the headers included in generic glibc code present the same interface as the NPTL versions do, to avoid problems with generic code only working with NPTL) rather than relying on long-unmaintained code that does not work well with current libc. You might be able to use parts of the Linuxthreads code or the NPTL code in such implementations; I don't know. > I've been unable to find a repository that hosts it. Has it been completely > removed from sourceware.org? This seems unfortunate. The CVS repository (:pserver:anoncvs@sources.redhat.com:/cvs/glibc, module linuxthreads) still appears to exist. It's quite possible that write access was blocked when the rest of the repository was converted to git, and linuxthreads has not been converted to git and has no maintainers. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.