From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29873 invoked by alias); 3 Dec 2012 09:27:27 -0000 Received: (qmail 29860 invoked by uid 22791); 3 Dec 2012 09:27:26 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_BF X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Dec 2012 09:27:20 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB39RJYM006210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 3 Dec 2012 04:27:19 -0500 Received: from zebedee.pink (ovpn-113-115.phx2.redhat.com [10.3.113.115]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qB39RHI1012476; Mon, 3 Dec 2012 04:27:18 -0500 Message-ID: <50BC7075.1050309@redhat.com> Date: Mon, 03 Dec 2012 09:27:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Jens Staal CC: libffi-discuss@sourceware.org Subject: Re: libffi on i386 Plan9/APE References: <1431145.hgiI9FWO1y@krypton> In-Reply-To: <1431145.hgiI9FWO1y@krypton> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org X-SW-Source: 2012/txt/msg00281.txt.bz2 On 12/03/2012 05:58 AM, Jens Staal wrote: > I managed to sort-of build libffi on Plan9 under the ANSI-POSIX ENVIRONMENT. > On this OS only a static library can be built. > > The configure choked on a couple of things assuming GNU coreutils-behavior > (the command "cut" does not exist, and I needed to sed away a couple of > options from ls and mv), so I ended up manually adjusting files that failed to > be configured (so there is lots of room for improvements on my port). > > Two files under x86 (unix.S and sysv.S) are GAS ASM, which is different from > Plan9 ASM so they could not be compiled into objects. Are there C variants of > those files available? No, and it's not possible to do so. > Are those two object files essential for libffi function? Yes. They are the core of libffi. They do the arg passing from memory to registers and back. > What are the relevant tests to do of libffi.a ? There's a full DejaGNU testsuite provided, run with "make check". Andrew.