From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17327 invoked by alias); 8 Dec 2010 19:59:26 -0000 Received: (qmail 17320 invoked by uid 22791); 8 Dec 2010 19:59:25 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,HK_OBFDOM 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:59:21 +0000 From: "rmh at gnu dot org" 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: rmh at gnu dot org 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 20:12: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/msg00019.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12300 --- Comment #4 from Robert Millan 2010-12-08 19:59:07 UTC --- (In reply to comment #3) > 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. Note that as syscall ABI on kFreeBSD is the same as on Linux, sysdep-cancel.h can be implemented by #including the Linux version (this is why I'm patching 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; The missing definition is needed on mipsel-kfreebsd-gnu. Sorry for not making this clear the first time. > 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. Yeah, I know. Unfortunately manpower doesn't allow this for now (help is welcome). > The CVS repository (:pserver:anoncvs@sources.redhat.com:/cvs/glibc, module > linuxthreads) still appears to exist. Thanks for the pointer. -- 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.