From sacadmin Fri Aug 22 11:29:53 2008
Received: from sr1-umpk-16.sfbay.sun.com (sr1-umpk-16.SFBay.Sun.COM [129.145.154.66])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m7MITrp6007201;
	Fri, 22 Aug 2008 11:29:53 -0700 (PDT)
Received: from sr1-umpk-16.sfbay.sun.com (localhost [127.0.0.1])
	by sr1-umpk-16.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m7MITrnC038553;
	Fri, 22 Aug 2008 11:29:53 -0700 (PDT)
Received: (from johnf@localhost)
	by sr1-umpk-16.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id m7MITqbI038549;
	Fri, 22 Aug 2008 11:29:52 -0700 (PDT)
Date: Fri, 22 Aug 2008 11:29:52 -0700 (PDT)
From: John Fischer <johnf@sr1-umpk-16.sfbay.sun.com>
Message-Id: <200808221829.m7MITqbI038549@sr1-umpk-16.sfbay.sun.com>
To: PSARC-record@sac.sfbay.sun.com
Cc: laszlo.peter@Sun.Com
Subject: libffi - Foreign Function Interface library [PSARC/2008/542 FastTrack timeout 08/29/2008]
Status: RO
Content-Length: 589


Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 libffi - Foreign Function Interface library
    1.2. Name of Document Author/Supplier:
	 Author:  Laszlo Peter
    1.3  Date of This Document:
	22 August, 2008
4. Technical Description
    See the case directory for more detail

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


From John.Fischer@Sun.COM Fri Aug 22 11:46:18 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 m7MIkIvY007474
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 22 Aug 2008 11:46:18 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m7MIkEZ5010394
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 22 Aug 2008 19:46:16 +0100 (BST)
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 <0K6000K07MT48L00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 22 Aug 2008 12:46:16 -0600 (MDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K6000DOVMT3WE80@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 22 Aug 2008 12:46:16 -0600 (MDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m7MIkFwA012156	for
 <PSARC-ext@sun.com>; Fri, 22 Aug 2008 18:46:15 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K6000401MN6RG00@mail-amer.sun.com>
 (original mail from John.Fischer@Sun.COM)
 for PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 22 Aug 2008 12:46:15 -0600 (MDT)
Received: from 129.145.154.66 ([129.145.154.66])
 by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28
 2007)) with ESMTPSA id <0K6000DCYMSXKE90@mail-amer.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 22 Aug 2008 12:46:10 -0600 (MDT)
Date: Fri, 22 Aug 2008 11:46:09 -0700
From: John Fischer <John.Fischer@Sun.COM>
Subject: PSARC/2008/542 - libffi - Foreign Function Interface library
Sender: John.Fischer@Sun.COM
To: PSARC-ext@Sun.COM
Cc: John Fischer <John.Fischer@Sun.COM>, Laszlo Peter <Laszlo.Peter@Sun.COM>
Reply-to: John.Fischer@Sun.COM
Message-id: <1219430768.9503.121.camel@sr1-umpk-16>
MIME-version: 1.0
X-Mailer: Ximian Evolution 1.4.6.301
Content-type: multipart/mixed; boundary="Boundary_(ID_RrHjBmsy5BAd8g49NvRP/Q)"
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 2337


--Boundary_(ID_RrHjBmsy5BAd8g49NvRP/Q)
Content-type: text/plain
Content-transfer-encoding: 7BIT

All,

I am sponsoring this fast track for Laszlo (Laca) Peter from
the JDS Desktop team.  The case directory contains this proposal.
I have set the timeout for Friday, August 29th, 2008.

This project proposes to integrate the Foreign Function Interface
library (libffi) into a Patch release of Solaris.  Libffi facilitates
calling code written in one language from code written in another
language.  libffi is an imported dependency for Python 2.5 (see
PSARC/2008/543).

Thanks,

John

--Boundary_(ID_RrHjBmsy5BAd8g49NvRP/Q)
Content-type: text/plain; charset=ASCII; name=proposal.txt
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=proposal.txt

Title:		libffi - Foreign Function Interface library
Case:		PSARC/2008/542
Submitter:	Laszlo Peter
Owner:          John Fischer
Timeout:	08/29/2008 

1.0 Introduction

1.1 Project/Component Working Name:

    libffi - Foreign Function Interface library
    
1.2 Purpose

    The Foreign Function Interface library facilitates calling code
    written in one language from code written in another language.
    See http://sourceware.org/libffi/ for more information.

    The purpose of including it in OpenSolaris is the ctypes Python
    modules.  The ctypes module (in Python 2.5 and later) provides
    C compatible data types, and allows to call functions in shared
    libraries.  Ctypes uses libffi.
    
    See http://docs.python.org/lib/module-ctypes.html for more
    information about ctypes.

2.0 Interfaces

    2.2 Imported Interfaces

    Interface                       Classification  Comments
    -----------------------------   --------------  ----------------------
    libgcc_s.so.1                   Volatile        PSARC/2004/742

2.3 Exported Interfaces

    Interface                       Classification  Comments
    -----------------------------   --------------  ----------------------
    /usr/lib/libffi.so.5            Volatile
    /usr/lib/$MACH64/libffi.so.5    Volatile
    /usr/lib/pkgconfig/libffi.pc    Uncommitted     libffi pkg-config file
    /usr/lib/$MACH64/pkgconfig/                     libffi pkg-config file
                       libffi.pc    Uncommitted     for 64-bit builds

--Boundary_(ID_RrHjBmsy5BAd8g49NvRP/Q)--

From danek.duvall@sun.com Fri Aug 22 17:16:27 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 m7N0GQ2H018863
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 22 Aug 2008 17:16:26 -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 m7N0GJa5003558
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Sat, 23 Aug 2008 01:16:25 +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 <0K6100H0323BTO00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 22 Aug 2008 17:16:23 -0700 (PDT)
Received: from dm-sfbay-02.sfbay.sun.com ([129.146.11.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K6100GMT23BWZB0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 22 Aug 2008 17:16:23 -0700 (PDT)
Received: from mumak.SFBay.Sun.COM (mumak.SFBay.Sun.COM [129.146.229.4])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id m7N0GLce041131; Fri, 22 Aug 2008 17:16:21 -0700 (PDT)
Received: from mumak.SFBay.Sun.COM (mumak [127.0.0.1])
	by mumak.SFBay.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id m7N0HMUp026454; Fri,
 22 Aug 2008 17:17:22 -0700 (PDT)
Received: (from dduvall@localhost)
	by mumak.SFBay.Sun.COM (8.14.3+Sun/8.14.3/Submit) id m7N0HMnV026453; Fri,
 22 Aug 2008 17:17:22 -0700 (PDT)
Date: Fri, 22 Aug 2008 17:17:22 -0700
From: Danek Duvall <danek.duvall@sun.com>
Subject: Re: PSARC/2008/542 - libffi - Foreign Function Interface library
In-reply-to: <1219430768.9503.121.camel@sr1-umpk-16>
To: John Fischer <John.Fischer@sun.com>
Cc: PSARC-ext@sun.com, Laszlo Peter <Laszlo.Peter@sun.com>
Message-id: <20080823001722.GI15226@mumak.SFBay.Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <1219430768.9503.121.camel@sr1-umpk-16>
User-Agent: Mutt/1.5.16 (2007-06-27)
Status: RO
Content-Length: 400

On Fri, Aug 22, 2008 at 11:46:09AM -0700, John Fischer wrote:

>     2.2 Imported Interfaces
> 
>     Interface                       Classification  Comments
>     -----------------------------   --------------  ----------------------
>     libgcc_s.so.1                   Volatile        PSARC/2004/742

Couldn't this be eliminated by using the Studio compiler?  Or does Python
require gcc?

Danek

From Laszlo.Peter@sun.com Fri Aug 22 21:54:21 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m7N4sLwl029771
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 22 Aug 2008 21:54:21 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m7N4sHlH041137
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 22 Aug 2008 22:54:21 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K6100201EYJSK00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 22 Aug 2008 21:54:19 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K61002FEEYI9DF0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 22 Aug 2008 21:54:19 -0700 (PDT)
Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe2.eu.sun.com [192.18.6.11])
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m7N4sI0M021622	for
 <PSARC-ext@sun.com>; Sat, 23 Aug 2008 04:54:18 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K6100D01EIHHF00@fe-emea-09.sun.com>
 (original mail from Laszlo.Peter@Sun.COM)
 for PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Sat,
 23 Aug 2008 05:54:18 +0100 (BST)
Received: from [192.168.1.100] ([60.234.117.94])
 by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28
 2007)) with ESMTPSA id <0K61004FFEYFSQ30@fe-emea-09.sun.com>; Sat,
 23 Aug 2008 05:54:18 +0100 (BST)
Date: Sat, 23 Aug 2008 16:54:13 +1200
From: "Laszlo (Laca) Peter" <Laszlo.Peter@sun.com>
Subject: Re: PSARC/2008/542 - libffi - Foreign Function Interface library
In-reply-to: <20080823001722.GI15226@mumak.SFBay.Sun.COM>
Sender: Laszlo.Peter@sun.com
To: Danek Duvall <Danek.Duvall@sun.com>
Cc: John Fischer <John.Fischer@sun.com>, PSARC-ext@sun.com
Reply-to: laca@sun.com
Message-id: <1219467253.757.42.camel@tecra>
Organization: Sun Microsystems, Inc.
MIME-version: 1.0
X-Mailer: Evolution 2.22.2
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
References: <1219430768.9503.121.camel@sr1-umpk-16>
 <20080823001722.GI15226@mumak.SFBay.Sun.COM>
Status: RO
Content-Length: 563

On Fri, 2008-08-22 at 17:17 -0700, Danek Duvall wrote:
> >     2.2 Imported Interfaces
> > 
> >     Interface                       Classification  Comments
> >     -----------------------------   --------------  ----------------------
> >     libgcc_s.so.1                   Volatile        PSARC/2004/742
> 
> Couldn't this be eliminated by using the Studio compiler?  

It would, but libffi contains ASM code that doesn't build with
Sun Studio.  It may be possible to build it with a future
version of Sun Studio.
﻿
> Or does Python require gcc?

No.

Laca


From johnlev@barman.uk.sun.com Sat Aug 23 05:18:05 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 m7NCI4k1013744
	for <psarc-ext@sac.sfbay.Sun.COM>; Sat, 23 Aug 2008 05:18:05 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m7NCHwZj019796;
	Sat, 23 Aug 2008 20:18:01 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K6100101ZHZJP00@nwk-avmta-2.sfbay.sun.com>; Sat,
 23 Aug 2008 05:17:59 -0700 (PDT)
Received: from dm-uk-01.uk.sun.com ([129.156.101.115])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K6100IXXZHYPC50@nwk-avmta-2.sfbay.sun.com>; Sat,
 23 Aug 2008 05:17:59 -0700 (PDT)
Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12])
	by dm-uk-01.uk.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2)
 with ESMTP id m7NCHsVP002846; Sat, 23 Aug 2008 13:17:54 +0100 (BST)
Received: from johnlev by barman.uk.sun.com with local (Exim 4.42)
	id 1KWs6K-0003Ae-Op; Sat, 23 Aug 2008 13:20:16 +0100
X-URL: http://jurassic.eng/~johnlev/
Date: Sat, 23 Aug 2008 13:20:16 +0100
From: John Levon <john.levon@sun.com>
Subject: Re: PSARC/2008/542 - libffi - Foreign Function Interface library
In-reply-to: <1219467253.757.42.camel@tecra>
Sender: John Levon <johnlev@barman.uk.sun.com>
To: laca@sun.com
Cc: Danek Duvall <Danek.Duvall@sun.com>, John Fischer <John.Fischer@sun.com>,
        PSARC-EXT@sun.com
Message-id: <20080823122016.GB11986@barman.uk.sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <1219430768.9503.121.camel@sr1-umpk-16>
 <20080823001722.GI15226@mumak.SFBay.Sun.COM> <1219467253.757.42.camel@tecra>
User-Agent: Mutt/1.5.6i
Status: RO
Content-Length: 793

On Sat, Aug 23, 2008 at 04:54:13PM +1200, Laszlo (Laca) Peter wrote:

> On Fri, 2008-08-22 at 17:17 -0700, Danek Duvall wrote:
> > >     2.2 Imported Interfaces
> > > 
> > >     Interface                       Classification  Comments
> > >     -----------------------------   --------------  ----------------------
> > >     libgcc_s.so.1                   Volatile        PSARC/2004/742
> > 
> > Couldn't this be eliminated by using the Studio compiler?  
> 
> It would, but libffi contains ASM code that doesn't build with
> Sun Studio.  It may be possible to build it with a future
> version of Sun Studio.
> ???
> > Or does Python require gcc?
> 
> No.

It's worth noting that it does *support* using gcc to build modules
though, so this dependency is there anyway, right?

regards,
john

From Brian.Ruthven@sun.com Tue Aug 26 14:27:01 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 m7QLR0rF012023
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 26 Aug 2008 14:27:00 -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 m7QLQuic018903
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 26 Aug 2008 22:26:59 +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 <0K6800B038WYB300@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 26 Aug 2008 14:26:58 -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 <0K68009LE8WXTQ20@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 26 Aug 2008 14:26:58 -0700 (PDT)
Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe2.eu.sun.com [192.18.6.11])
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m7QLQuVn014275	for
 <PSARC-ext@sun.com>; Tue, 26 Aug 2008 21:26:56 +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 <0K6800K018PZZL00@fe-emea-10.sun.com>
 (original mail from Brian.Ruthven@Sun.COM)
 for PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 26 Aug 2008 22:26:56 +0100 (BST)
Received: from [192.168.0.2] ([86.17.211.200])
 by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28
 2007)) with ESMTPSA id <0K6800GU28WT7J20@fe-emea-10.sun.com>; Tue,
 26 Aug 2008 22:26:56 +0100 (BST)
Date: Tue, 26 Aug 2008 22:26:53 +0100
From: Brian Ruthven - Solaris Network Sustaining - Sun UK
 <Brian.Ruthven@sun.com>
Subject: Re: PSARC/2008/542 - libffi - Foreign Function Interface library
In-reply-to: <1219467253.757.42.camel@tecra>
Sender: Brian.Ruthven@sun.com
To: laca@sun.com
Cc: Danek Duvall <Danek.Duvall@sun.com>, John Fischer <John.Fischer@sun.com>,
        PSARC-ext@sun.com
Message-id: <48B4751D.8080403@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=UTF-8
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
References: <1219430768.9503.121.camel@sr1-umpk-16>
 <20080823001722.GI15226@mumak.SFBay.Sun.COM> <1219467253.757.42.camel@tecra>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
Status: RO
Content-Length: 917


Can't it be eliminated with something like -s€tatic-libgcc ? At least 
that's what Google tells me I can do :-)
Or is it specifically required that the libgcc_s library is external 
(i.e. dynamically loaded) rather than statically linked in at compile time?

Brian

Laszlo (Laca) Peter wrote:
> On Fri, 2008-08-22 at 17:17 -0700, Danek Duvall wrote:
>   
>>>     2.2 Imported Interfaces
>>>
>>>     Interface                       Classification  Comments
>>>     -----------------------------   --------------  ----------------------
>>>     libgcc_s.so.1                   Volatile        PSARC/2004/742
>>>       
>> Couldn't this be eliminated by using the Studio compiler?  
>>     
>
> It would, but libffi contains ASM code that doesn't build with
> Sun Studio.  It may be possible to build it with a future
> version of Sun Studio.
> ﻿
>   
>> Or does Python require gcc?
>>     
>
> No.
>
> Laca
>
>   

From Laszlo.Peter@sun.com Tue Aug 26 20:37:44 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 m7R3biUW021200
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 26 Aug 2008 20:37:44 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m7R3bgO0014700
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 26 Aug 2008 20:37:43 -0700 (PDT)
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 <0K6800M03Q2R0F00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 26 Aug 2008 21:37:39 -0600 (MDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K6800JTKQ2QS8C0@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 26 Aug 2008 21:37:39 -0600 (MDT)
Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe3.eu.sun.com [192.18.6.12])
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m7R3bc2u020024	for
 <PSARC-ext@sun.com>; Wed, 27 Aug 2008 03:37:38 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K6800C01Q1ZLS00@fe-emea-09.sun.com>
 (original mail from Laszlo.Peter@Sun.COM)
 for PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 27 Aug 2008 04:37:38 +0100 (BST)
Received: from [192.168.1.100] ([60.234.117.94])
 by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28
 2007)) with ESMTPSA id <0K6800DW4Q2MMP70@fe-emea-09.sun.com>; Wed,
 27 Aug 2008 04:37:38 +0100 (BST)
Date: Wed, 27 Aug 2008 15:37:34 +1200
From: "Laszlo (Laca) Peter" <Laszlo.Peter@sun.com>
Subject: Re: PSARC/2008/542 - libffi - Foreign Function Interface library
In-reply-to: <48B4751D.8080403@sun.com>
Sender: Laszlo.Peter@sun.com
To: Brian Ruthven - Solaris Network Sustaining - Sun UK <Brian.Ruthven@sun.com>
Cc: Danek Duvall <Danek.Duvall@sun.com>, John Fischer <John.Fischer@sun.com>,
        PSARC-ext@sun.com
Reply-to: laca@sun.com
Message-id: <1219808254.798.5.camel@tecra>
Organization: Sun Microsystems, Inc.
MIME-version: 1.0
X-Mailer: Evolution 2.22.2
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
References: <1219430768.9503.121.camel@sr1-umpk-16>
 <20080823001722.GI15226@mumak.SFBay.Sun.COM> <1219467253.757.42.camel@tecra>
 <48B4751D.8080403@sun.com>
Status: RO
Content-Length: 1230

That worked, thanks Brian and Google :)
So the dependency on libgcc_s.so.1 is not necessary and will be
removed from the imported interfaces table.

Laca

On Tue, 2008-08-26 at 22:26 +0100, Brian Ruthven - Solaris Network
Sustaining - Sun UK wrote:
> Can't it be eliminated with something like -s€tatic-libgcc ? At least 
> that's what Google tells me I can do :-)
> Or is it specifically required that the libgcc_s library is external 
> (i.e. dynamically loaded) rather than statically linked in at compile time?
> 
> Brian
> 
> Laszlo (Laca) Peter wrote:
> > On Fri, 2008-08-22 at 17:17 -0700, Danek Duvall wrote:
> >   
> >>>     2.2 Imported Interfaces
> >>>
> >>>     Interface                       Classification  Comments
> >>>     -----------------------------   --------------  ----------------------
> >>>     libgcc_s.so.1                   Volatile        PSARC/2004/742
> >>>       
> >> Couldn't this be eliminated by using the Studio compiler?  
> >>     
> >
> > It would, but libffi contains ASM code that doesn't build with
> > Sun Studio.  It may be possible to build it with a future
> > version of Sun Studio.
> > ﻿
> >   
> >> Or does Python require gcc?
> >>     
> >
> > No.
> >
> > Laca
> >
> >   


From John.Fischer@sun.com Wed Aug 27 10:06:33 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 m7RH6Wfv014372
	for <psarc-ext@sac.sfbay.Sun.COM>; Wed, 27 Aug 2008 10:06:32 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m7RH6KBD011903
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 28 Aug 2008 01:06:31 +0800 (SGT)
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 <0K690030RRIU6400@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 27 Aug 2008 10:06:30 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K6900DJDRIS3A90@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 27 Aug 2008 10:06:29 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m7RH6Sfe011345	for
 <PSARC-ext@sun.com>; Wed, 27 Aug 2008 17:06:28 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K6900601QD81I00@mail-amer.sun.com>
 (original mail from John.Fischer@Sun.COM)
 for PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 27 Aug 2008 11:06:28 -0600 (MDT)
Received: from 129.145.154.66 ([129.145.154.66])
 by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28
 2007)) with ESMTPSA id <0K6900KQTRINALG0@mail-amer.sun.com>; Wed,
 27 Aug 2008 11:06:24 -0600 (MDT)
Date: Wed, 27 Aug 2008 10:06:23 -0700
From: John Fischer <John.Fischer@sun.com>
Subject: Re: PSARC/2008/542 - libffi - Foreign Function Interface library
In-reply-to: <1219808254.798.5.camel@tecra>
Sender: John.Fischer@sun.com
To: laca@sun.com
Cc: John Fischer <John.Fischer@sun.com>,
        Brian Ruthven - Solaris Network Sustaining - Sun UK <Brian.Ruthven@sun.com>,
        Danek Duvall <Danek.Duvall@sun.com>, PSARC-ext@sun.com
Reply-to: John.Fischer@sun.com
Message-id: <1219856782.51279.124.camel@sr1-umpk-16>
MIME-version: 1.0
X-Mailer: Ximian Evolution 1.4.6.301
Content-type: text/plain; charset=ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <1219430768.9503.121.camel@sr1-umpk-16>
 <20080823001722.GI15226@mumak.SFBay.Sun.COM> <1219467253.757.42.camel@tecra>
 <48B4751D.8080403@sun.com> <1219808254.798.5.camel@tecra>
Status: RO
Content-Length: 1435

All,

This case was approved at PSARC business today.

Thanks,

John

On Tue, 2008-08-26 at 20:37, Laszlo (Laca) Peter wrote:
> That worked, thanks Brian and Google :)
> So the dependency on libgcc_s.so.1 is not necessary and will be
> removed from the imported interfaces table.
> 
> Laca
> 
> On Tue, 2008-08-26 at 22:26 +0100, Brian Ruthven - Solaris Network
> Sustaining - Sun UK wrote:
> > Can't it be eliminated with something like -s?tatic-libgcc ? At least 
> > that's what Google tells me I can do :-)
> > Or is it specifically required that the libgcc_s library is external 
> > (i.e. dynamically loaded) rather than statically linked in at compile time?
> > 
> > Brian
> > 
> > Laszlo (Laca) Peter wrote:
> > > On Fri, 2008-08-22 at 17:17 -0700, Danek Duvall wrote:
> > >   
> > >>>     2.2 Imported Interfaces
> > >>>
> > >>>     Interface                       Classification  Comments
> > >>>     -----------------------------   --------------  ----------------------
> > >>>     libgcc_s.so.1                   Volatile        PSARC/2004/742
> > >>>       
> > >> Couldn't this be eliminated by using the Studio compiler?  
> > >>     
> > >
> > > It would, but libffi contains ASM code that doesn't build with
> > > Sun Studio.  It may be possible to build it with a future
> > > version of Sun Studio.
> > > ?
> > >   
> > >> Or does Python require gcc?
> > >>     
> > >
> > > No.
> > >
> > > Laca
> > >
> > >   
> 


