From owner-freebsd-current@FreeBSD.ORG Wed Jun 13 14:23:10 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3043B16A46B; Wed, 13 Jun 2007 14:23:10 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id D909213C487; Wed, 13 Jun 2007 14:23:09 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5FA25.dip.t-dialin.net [84.165.250.37]) by redbull.bpaserver.net (Postfix) with ESMTP id 2C1EF2E214; Wed, 13 Jun 2007 16:23:01 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 3A22D5B490D; Wed, 13 Jun 2007 16:22:43 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l5DEMhAl064072; Wed, 13 Jun 2007 16:22:43 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 13 Jun 2007 16:22:42 +0200 Message-ID: <20070613162242.nxpzsjemsokgckg8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 13 Jun 2007 16:22:42 +0200 From: Alexander Leidinger To: Alexander Kabaev References: <20070602121928.G90169@kushnir1.kiev.ua> <20070613064806.GB39533@obiwan.tataz.chchile.org> <20070613083751.606eee96@kan.dnsalias.net> <20070613154737.jpo1jq3vkgk4kccc@webmail.leidinger.net> <8e5ef5f70706130653g67234d5bld951d682402ec257@mail.gmail.com> In-Reply-To: <8e5ef5f70706130653g67234d5bld951d682402ec257@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.101, required 8, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-current@freebsd.org, Jeremie Le Hen , bsam@freebsd.org Subject: Re: "-pthread" == "-lpthread" for shared libs in -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2007 14:23:10 -0000 Quoting Alexander Kabaev (from Wed, 13 Jun 2007 =20 09:53:47 -0400): > On 6/13/07, Alexander Leidinger wrote: >> Quoting Alexander Kabaev (from Wed, 13 Jun 2007 >> 08:37:51 -0400): >> >>> I think this was related to the way we used to support threads in >>> 3.x/early 4.x releases. The program was supposed to link with either >>> libc or libc_r, but not both and having both libraries loaded at the >>> same time was really bad idea. Recording dependency to libc_r or libc >>> into shared libraries makes shared libraries that work in both threaded >>> and non-threaded programs impossible. >> >> So we can switch to recording the lib dependencies in libs now? I >> think this would help to let firefox do some SSO stuff with kerberos >> (loading it as a plugin causes it to moan because some depending lib >> is not loaded, bsam@ should be able to explain the technical details). >> > > We alsways did. libc and libpthread were the only two weird ones in > pre-gcc 4.2 world, and that has changed back to what it should be when > gcc 4.2 was imported. Oh... great! Bye, Alexander. --=20 If life gives you lemons, make lemonade. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137