From alanc@sac.sfbay.sun.com Thu Oct 23 14:47:58 2008
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m9NLlwbg020291
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 23 Oct 2008 14:47:58 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m9NLlupo003819;
	Thu, 23 Oct 2008 14:47:58 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K9700K05OJWC700@nwk-avmta-1.sfbay.Sun.COM>; Thu,
 23 Oct 2008 14:47:56 -0700 (PDT)
Received: from dm-sfbay-01.sfbay.sun.com ([129.145.155.118])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K9700EBHOJQQQA0@nwk-avmta-1.sfbay.Sun.COM>; Thu,
 23 Oct 2008 14:47:50 -0700 (PDT)
Received: from sac.sfbay.sun.com (new-sac.SFBay.Sun.COM [129.146.175.65])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id m9NLloPR059448; Thu, 23 Oct 2008 14:47:50 -0700 (PDT)
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m9NLlnRN020286; Thu,
 23 Oct 2008 14:47:49 -0700 (PDT)
Received: (from alanc@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id m9NLlnTm020282; Thu,
 23 Oct 2008 14:47:49 -0700 (PDT)
Date: Thu, 23 Oct 2008 14:47:49 -0700 (PDT)
From: Alan Coopersmith <Alan.Coopersmith@sun.com>
Subject: pthread-stubs [LSARC/2008/657 Self Review]
To: LSARC-ext@sun.com
Cc: Alan.Coopersmith@sun.com
Message-id: <200810232147.m9NLlnTm020282@sac.sfbay.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 2262

I am sponsoring this case for myself and have marked it closed approved
automatic as it simply delivers a "no-op" pkgconfig file.   The case
binding is micro/patch.

        -Alan Coopersmith-           alan.coopersmith@sun.com
         Sun Microsystems, Inc. - X Window System Engineering

Template Version: @(#)sac_nextcase %I% %G% SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 pthread-stubs
    1.2. Name of Document Author/Supplier:
	 Author:  Alan Coopersmith
    1.3  Date of This Document:
	23 October, 2008
4. Technical Description

This case delivers pkgconfig files named pthread-stubs.pc, to satisfy
dependencies of several source packages from X.Org and related communities
(DRI & XCB).

The community description of pthread-stubs is:

    This library provides weak aliases for pthread functions not
    provided in libc or otherwise available by default.  Libraries
    like libxcb rely on pthread stubs to use pthreads optionally,
    becoming thread-safe when linked to libpthread, while avoiding any
    performance hit when running single-threaded.  libpthread-stubs
    supports this behavior even on platforms which do not supply all
    the necessary pthread stubs.  On platforms which already supply
    all the necessary pthread stubs, this package ships only the
    pkg-config file pthread-stubs.pc, to allow libraries to
    unconditionally express a dependency on pthread-stubs and still
    obtain correct behavior.

Since Solaris libc has all the required pthread functions already, no
library is built on Solaris, and the delivered pthread-stubs file has
a blank "Libs" line, causing pkg-config --libs pthread-stubs to print
that no linker flags are necessary to safely build a package calling
pthread functions.

Delivered files:
----------------
In package SUNWxwinc:
	/usr/lib/pkgconfig/pthread-stubs.pc
	/usr/lib/{sparcv9,amd64}/pkgconfig/pthread-stubs.pc

Exported interfaces:
--------------------
pthread-stubs pkg-config entry			Uncommitted

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		X Consolidation / Desktop C-Team
    6.5. ARC review type: Automatic
    6.6. ARC Exposure: open


From John.Fischer@sun.com Thu Oct 23 15:19:04 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m9NMJ3Q3020933
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 23 Oct 2008 15:19:04 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m9NMJ1Ve023181
	for <@sunmail2sca.sfbay.sun.com:LSARC-ext@sun.com>; Fri, 24 Oct 2008 06:19:02 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K9700J05PZP7F00@brm-avmta-1.central.sun.com> for LSARC-ext@sun.com
 (ORCPT LSARC-ext@Sun.COM); Thu, 23 Oct 2008 16:19:01 -0600 (MDT)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K9700IS3PZOD500@brm-avmta-1.central.sun.com> for
 LSARC-ext@sun.com (ORCPT LSARC-ext@Sun.COM); Thu,
 23 Oct 2008 16:19:00 -0600 (MDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m9NMJ066004747	for
 <LSARC-ext@Sun.COM>; Thu, 23 Oct 2008 15:19:00 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K9700F01PU6DC00@fe-sfbay-10.sun.com>
 (original mail from John.Fischer@Sun.COM)
 for LSARC-ext@Sun.COM (ORCPT LSARC-ext@Sun.COM); Thu,
 23 Oct 2008 15:19:00 -0700 (PDT)
Received: from [192.168.10.9] ([76.20.56.47])
 by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb
 28 2007)) with ESMTPSA id <0K9700JE6PZN3NE0@fe-sfbay-10.sun.com> for
 LSARC-ext@Sun.COM (ORCPT LSARC-ext@Sun.COM); Thu,
 23 Oct 2008 15:19:00 -0700 (PDT)
Date: Thu, 23 Oct 2008 15:18:52 -0700
From: John Fischer <John.Fischer@sun.com>
Subject: Re: pthread-stubs [LSARC/2008/657 Self Review]
In-reply-to: <200810232147.m9NLlnTm020282@sac.sfbay.sun.com>
Sender: John.Fischer@sun.com
To: Alan Coopersmith <Alan.Coopersmith@sun.com>
Cc: lsarc-ext@sun.com
Reply-to: John.Fischer@sun.com
Message-id: <4900F84C.5070904@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200810232147.m9NLlnTm020282@sac.sfbay.sun.com>
User-Agent: Thunderbird 2.0.0.16 (X11/20080908)
Status: RO
Content-Length: 2408

+1

Alan Coopersmith wrote:
> I am sponsoring this case for myself and have marked it closed approved
> automatic as it simply delivers a "no-op" pkgconfig file.   The case
> binding is micro/patch.
> 
>         -Alan Coopersmith-           alan.coopersmith@sun.com
>          Sun Microsystems, Inc. - X Window System Engineering
> 
> Template Version: @(#)sac_nextcase %I% %G% SMI
> This information is Copyright 2008 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 pthread-stubs
>     1.2. Name of Document Author/Supplier:
> 	 Author:  Alan Coopersmith
>     1.3  Date of This Document:
> 	23 October, 2008
> 4. Technical Description
> 
> This case delivers pkgconfig files named pthread-stubs.pc, to satisfy
> dependencies of several source packages from X.Org and related communities
> (DRI & XCB).
> 
> The community description of pthread-stubs is:
> 
>     This library provides weak aliases for pthread functions not
>     provided in libc or otherwise available by default.  Libraries
>     like libxcb rely on pthread stubs to use pthreads optionally,
>     becoming thread-safe when linked to libpthread, while avoiding any
>     performance hit when running single-threaded.  libpthread-stubs
>     supports this behavior even on platforms which do not supply all
>     the necessary pthread stubs.  On platforms which already supply
>     all the necessary pthread stubs, this package ships only the
>     pkg-config file pthread-stubs.pc, to allow libraries to
>     unconditionally express a dependency on pthread-stubs and still
>     obtain correct behavior.
> 
> Since Solaris libc has all the required pthread functions already, no
> library is built on Solaris, and the delivered pthread-stubs file has
> a blank "Libs" line, causing pkg-config --libs pthread-stubs to print
> that no linker flags are necessary to safely build a package calling
> pthread functions.
> 
> Delivered files:
> ----------------
> In package SUNWxwinc:
> 	/usr/lib/pkgconfig/pthread-stubs.pc
> 	/usr/lib/{sparcv9,amd64}/pkgconfig/pthread-stubs.pc
> 
> Exported interfaces:
> --------------------
> pthread-stubs pkg-config entry			Uncommitted
> 
> 6. Resources and Schedule
>     6.4. Steering Committee requested information
>    	6.4.1. Consolidation C-team Name:
> 		X Consolidation / Desktop C-Team
>     6.5. ARC review type: Automatic
>     6.6. ARC Exposure: open
> 

From Darren.Moffat@sun.com Fri Oct 24 02:37:54 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m9O9bspe007172
	for <LSARC-ext@sac.sfbay.sun.com>; Fri, 24 Oct 2008 02:37:54 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m9O9bmvm011475
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Fri, 24 Oct 2008 10:37:53 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K9800A0BLF27T00@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Fri, 24 Oct 2008 02:37:50 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K9800CHJLF151D0@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Fri,
 24 Oct 2008 02:37:50 -0700 (PDT)
Received: from fe-emea-10.sun.com (gmp-eb-lb-1-fe3.eu.sun.com [192.18.6.10])
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m9O9bndH029767	for
 <lsarc-ext@sun.com>; Fri, 24 Oct 2008 09:37:49 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K9800H01KVSZM00@fe-emea-10.sun.com>
 (original mail from Darren.Moffat@Sun.COM)
 for lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Fri,
 24 Oct 2008 10:37:49 +0100 (BST)
Received: from [129.156.173.21] by fe-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0K9800MGDLEYC1D0@fe-emea-10.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Fri, 24 Oct 2008 10:37:47 +0100 (BST)
Date: Fri, 24 Oct 2008 10:37:46 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: Re: pthread-stubs [LSARC/2008/657 Self Review]
In-reply-to: <200810232147.m9NLlnTm020282@sac.sfbay.sun.com>
Sender: Darren.Moffat@sun.com
To: Alan Coopersmith <Alan.Coopersmith@sun.com>
Cc: lsarc-ext@sun.com
Message-id: <4901976A.9080104@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200810232147.m9NLlnTm020282@sac.sfbay.sun.com>
User-Agent: Thunderbird 2.0.0.16 (X11/20080922)
Status: RO
Content-Length: 2277

Alan Coopersmith wrote:
> I am sponsoring this case for myself and have marked it closed approved
> automatic as it simply delivers a "no-op" pkgconfig file.   The case
> binding is micro/patch.
> 
>         -Alan Coopersmith-           alan.coopersmith@sun.com
>          Sun Microsystems, Inc. - X Window System Engineering
> 
> Template Version: @(#)sac_nextcase %I% %G% SMI
> This information is Copyright 2008 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 pthread-stubs
>     1.2. Name of Document Author/Supplier:
> 	 Author:  Alan Coopersmith
>     1.3  Date of This Document:
> 	23 October, 2008
> 4. Technical Description
> 
> This case delivers pkgconfig files named pthread-stubs.pc, to satisfy
> dependencies of several source packages from X.Org and related communities
> (DRI & XCB).
> 
> The community description of pthread-stubs is:
> 
>     This library provides weak aliases for pthread functions not
>     provided in libc or otherwise available by default.  Libraries
>     like libxcb rely on pthread stubs to use pthreads optionally,
>     becoming thread-safe when linked to libpthread, while avoiding any
>     performance hit when running single-threaded.  libpthread-stubs
>     supports this behavior even on platforms which do not supply all
>     the necessary pthread stubs.  On platforms which already supply
>     all the necessary pthread stubs, this package ships only the
>     pkg-config file pthread-stubs.pc, to allow libraries to
>     unconditionally express a dependency on pthread-stubs and still
>     obtain correct behavior.
> 
> Since Solaris libc has all the required pthread functions already, no
> library is built on Solaris, and the delivered pthread-stubs file has
> a blank "Libs" line, causing pkg-config --libs pthread-stubs to print
> that no linker flags are necessary to safely build a package calling
> pthread functions.

That isn't strictly correct though because the libc library is needed, 
so shouldn't it say that ?

Yes I know that pretty much every app has libc dragged into it by 
someone so in the overwhelming majority of cases it isn't a problem.

I don't feel too strongly that the .pc file has to change but I just 
felt I had to point this out.

-- 
Darren J Moffat

