Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 20 Sep 2002 13:19:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 20 Sep 2002 13:19:12 -0400 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:17427 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id ; Fri, 20 Sep 2002 13:19:12 -0400 Date: Fri, 20 Sep 2002 13:16:57 -0400 (EDT) From: Bill Davidsen To: Jakub Jelinek cc: Ulrich Drepper , linux-kernel Subject: Re: [ANNOUNCE] Native POSIX Thread Library 0.1 In-Reply-To: <20020920121525.A21220@devserv.devel.redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1887 Lines: 38 On Fri, 20 Sep 2002, Jakub Jelinek wrote: > On Fri, Sep 20, 2002 at 11:43:15AM -0400, Bill Davidsen wrote: > > > Unless major flaws in the design are found this code is intended to > > > become the standard POSIX thread library on Linux system and it will > > > be included in the GNU C library distribution. > > > > If the comment that this doesn't work with the stable kernel is correct, I > > consider that a pretty major flaw. Unlike the kernel and NGPT which are > > developed using an open source model with lots of eyes on the WIP, this > > was done and then released whole with the decision to include it in the > > standard library already made. Having any part of glibc not work with the > > current stable kernel doesn't seem like such a hot idea, honestly. > > glibc supports .note.ABI-tag notes for libraries, so there is no problem > with having NPTL libpthread.so.0 --enable-kernel=2.5.36 in say > /lib/i686/libpthread.so.0 and linuxthreads --enable-kernel=2.2.1 in > /lib/libpthread.so.0. The dynamic linker will then choose based > on currently running kernel. > (well, ATM because of libc tsd DL_ERROR --without-tls ld.so cannot be used > with --with-tls libs and vice versa, but that is beeing worked on). > > That's similar to non-FLOATING_STACK and FLOATING_STACK linuxthreads, > the latter can be used with 2.4.8+ or something kernels on IA-32. Good point, I had forgotten that! It will be somewhat large having both, but presumably someone who really worried about it would build a subset. -- bill davidsen CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/