From owner-freebsd-arch@FreeBSD.ORG Fri Apr 22 17:33:06 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4F2616A4D4 for ; Fri, 22 Apr 2005 17:33:06 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 562DD43D55 for ; Fri, 22 Apr 2005 17:33:06 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 416DC72DDB; Fri, 22 Apr 2005 10:33:06 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 3C9F572DD4 for ; Fri, 22 Apr 2005 10:33:06 -0700 (PDT) Date: Fri, 22 Apr 2005 10:33:06 -0700 (PDT) From: Doug White To: freebsd-arch@freebsd.org Message-ID: <20050422103141.F5855@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: libpthread version bump X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 17:33:06 -0000 Hey folks, The recent changes to implement the the %fs/%gs manipulation syscalls has created a problem for 5.x compatibility. While libc has been bumped for 6.x already, libpthread hasn't, so running 5.x apps on -CURRENT ends up with the app pulling in the old libc correctly, but it pulls in the current libpthread which depends on the new libc and the linker errors out on the missing symbols. I think we need to bump libpthread's version to allow for compatibility in 6. Then we can ship the old libpthread along with the old libc and the Right Thing happens. As it is now people have to recompile any libpthread consumer. Another option is to create a hacked compatibility libc.so.5 that implements the new syscalls. This is logistically difficult but doable if just shipping the old libs isn't good enough. (I don't know the details of the fs/gs handling, but I know it has something to do with TLS. If we want to keep TLS working from 5.x this may be what we need to do.) Comments? -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org