From owner-freebsd-current@FreeBSD.ORG Wed Jun 13 13:53:49 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 B6D3116A41F for ; Wed, 13 Jun 2007 13:53:49 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 4494313C48A for ; Wed, 13 Jun 2007 13:53:49 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so203665mue for ; Wed, 13 Jun 2007 06:53:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XS5qhhowATgfmiz5Mkw91qtNukuZu7Z2q7cxb+YmGBF4vnUAdlLiihGoDucGIU0r+1AcMIOR2RaumLoFwrSHtNMGF0O2ph8S9lG8HFgqVnOG9m1opn5v0PkDQa1u+/Mw8M2Fo3kPi6cydwobaOhW7iqtc0mZ/Pw0Ur4ow+HykiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ov2k6RJxUOsRlYjRapOXaM6n9SQSfLu6AHRMFLVk5bNQr31XfXZLVQ4ASyhZXCAurTf/DqZxYVJbC6cXljeJa7KIFfeQK2QjIaV0oSKOW7r8O+fclrCHHOZ4HvS2rmsASNkh0U/3AWC/IddrKL36hKI9DtErqUwAE6FdrN7og2Y= Received: by 10.82.189.6 with SMTP id m6mr1154510buf.1181742827711; Wed, 13 Jun 2007 06:53:47 -0700 (PDT) Received: by 10.82.190.3 with HTTP; Wed, 13 Jun 2007 06:53:47 -0700 (PDT) Message-ID: <8e5ef5f70706130653g67234d5bld951d682402ec257@mail.gmail.com> Date: Wed, 13 Jun 2007 09:53:47 -0400 From: "Alexander Kabaev" To: "Alexander Leidinger" In-Reply-To: <20070613154737.jpo1jq3vkgk4kccc@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070602121928.G90169@kushnir1.kiev.ua> <20070613064806.GB39533@obiwan.tataz.chchile.org> <20070613083751.606eee96@kan.dnsalias.net> <20070613154737.jpo1jq3vkgk4kccc@webmail.leidinger.net> 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:53:49 -0000 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. -- Alexander Kabaev