From owner-freebsd-current@FreeBSD.ORG Wed Jun 13 13:48:01 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 9E0CB16A400; Wed, 13 Jun 2007 13:48:01 +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 0917613C448; Wed, 13 Jun 2007 13:48:00 +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 D679E2E201; Wed, 13 Jun 2007 15:47:55 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 34BB05B490D; Wed, 13 Jun 2007 15:47:38 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l5DDlbbJ058062; Wed, 13 Jun 2007 15:47:37 +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 15:47:37 +0200 Message-ID: <20070613154737.jpo1jq3vkgk4kccc@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 13 Jun 2007 15:47:37 +0200 From: Alexander Leidinger To: Alexander Kabaev References: <20070602121928.G90169@kushnir1.kiev.ua> <20070613064806.GB39533@obiwan.tataz.chchile.org> <20070613083751.606eee96@kan.dnsalias.net> In-Reply-To: <20070613083751.606eee96@kan.dnsalias.net> 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 13:48:01 -0000 Quoting Alexander Kabaev (from Wed, 13 Jun 2007 =20 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 =20 think this would help to let firefox do some SSO stuff with kerberos =20 (loading it as a plugin causes it to moan because some depending lib =20 is not loaded, bsam@ should be able to explain the technical details). Bye, Alexander. --=20 Nobody wants constructive criticism. It's all we can do to put up with constructive praise. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137