From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21012 invoked by alias); 26 May 2003 05:18:22 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 11495 invoked from network); 26 May 2003 05:13:53 -0000 Received: from unknown (HELO mail02.agrinet.ch) (212.28.134.115) by sources.redhat.com with SMTP; 26 May 2003 05:13:53 -0000 Received: from pop.agri.ch (217.162.232.206) by mail02.agrinet.ch (7.0.015) (authenticated as toa@pop.agri.ch) id 3ECDC1F60001CE5B; Mon, 26 May 2003 07:13:36 +0200 Message-ID: <3ED1A256.5040508@pop.agri.ch> Date: Mon, 26 May 2003 05:24:00 -0000 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ronald Oussoren CC: Dale Johannesen , gcc@gcc.gnu.org Subject: Re: Libffi problem on darwin (MacOSX) References: <6AD0ED77-8EF1-11D7-AD55-0003931CFE24@cistron.nl> In-Reply-To: <6AD0ED77-8EF1-11D7-AD55-0003931CFE24@cistron.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg02236.txt.bz2 Ronald Oussoren wrote: > > On Saturday, May 17, 2003, at 17:21 Europe/Amsterdam, Andreas Tobler > wrote: > >>> I just noticed that this might well be stupidity on my part, I tried >>> to write a minimal program that demonstrates the problem and that >>> runs without problems. Our real code builds ffi_cifs and >>> ffi_closures at runtime, and maybe that code is bogus. >> >> >> Could be, but if I remember right, I didn't complete the structure >> passings. Maybe it works, but if not, then I certainly have to check >> again. Well, I'll do that anyway. > > > The following hack seems to work for the limited tests that I've done. > Note that this is *not* based on any understanding of the PPC calling > conventions, and therefore likely incorrect. Thanks, I'll have a look at. It'll take a while since I will test against libgcj which needs a longer time to build. Do you have a dedicated testcase for? Andreas