From owner-freebsd-current@FreeBSD.ORG Sat Feb 11 14:39:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AD6616A420 for ; Sat, 11 Feb 2006 14:39:10 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2FF443D48 for ; Sat, 11 Feb 2006 14:39:09 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.5/8.13.5/NETPLEX) with ESMTP id k1BEd8Pp028140; Sat, 11 Feb 2006 09:39:08 -0500 (EST) Date: Sat, 11 Feb 2006 09:39:08 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Steve Kargl In-Reply-To: <20060211071552.GA99012@troutmask.apl.washington.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-current@freebsd.org Subject: Re: [jakub@redhat.com:Linking against libpthread via -pthread? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2006 14:39:10 -0000 On Fri, 10 Feb 2006, Steve Kargl wrote: > On Sat, Feb 11, 2006 at 01:21:48AM -0500, Daniel Eischen wrote: > > On Fri, 10 Feb 2006, Alexander Kabaev wrote: > > > > > > No. The change to link in libc by default and libpthread with -pthread > > > are inthe works and will be committed shortly. There is not way around > > > this if we want working versioned libc and libpthread in our system. > > > > Why is that? We really don't want -pthread to build in libpthread > > dependency when linking shared libraries. > > Uh, well, you do if you want to use GCC 4.2.X Why? If one _really_ needs a shared library linked to libpthread, -lpthread will always work. -- DE