From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4075 invoked by alias); 5 Dec 2013 08:33:53 -0000 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 Received: (qmail 4062 invoked by uid 89); 5 Dec 2013 08:33:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Dec 2013 08:33:52 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rB58Xe0A003610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Dec 2013 03:33:41 -0500 Received: from zebedee.pink (ovpn-113-92.phx2.redhat.com [10.3.113.92]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rB58Xc2T028998; Thu, 5 Dec 2013 03:33:39 -0500 Message-ID: <52A03A61.1090103@redhat.com> Date: Thu, 05 Dec 2013 08:33:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131028 Thunderbird/17.0.10 MIME-Version: 1.0 To: "Hogan, D. (GE Power & Water)" CC: Alan Modra , Jakub Jelinek , "libffi-discuss@sourceware.org" Subject: Re: RFC: variadic closures in x86/x86_64 References: <52931854.6080007@redhat.com> <20131125093715.GU892@tucnak.redhat.com> <5293221D.4010505@redhat.com> <20131126142723.GD9211@bubble.grove.modra.org> <529F1E3E.4010401@redhat.com> <529F7989.1050000@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013/txt/msg00237.txt.bz2 On 12/05/2013 12:47 AM, Hogan, D. (GE Power & Water) wrote: > I'm sure it would work. A similar suggestion is mentioned in the CFFI > documentation. It would require a C function for every assumed > variadic processing convention. For instance, FMI requires > ## which is not a typical printf/logger > convention. I didn't go down that path because I thought the manual > was asking for patches for a different way. > > Thanks for the feedback. Hmm, I'm sorry for pushing back in this way, but I think we'd need to make the changes to all of our twenty or so back ends. And of course no-one wants to do that. Andrew.